Broke my system trying to upgrade to rawhide using yum
Horst H. von Brand
vonbrand at inf.utfsm.cl
Mon Jul 13 14:48:28 UTC 2009
suvayu ali <fatkasuvayu+rawhide at gmail.com> wrote:
> Today I finally gathered up the courage to "live on the edge" and
> upgrade to rawhide. So I disabled all the other repositories and
> enabled rawhide. (Fedora and rpmfusion, living rpmfusion enabled was
> probably a bad idea) Then I ran
;-)
Here I also got an unbootable system, it looks like by cron automatically
running prelink(8). The steps here were:
- Got boot.iso from a rawhide mirror (not all carry them!),
dated 2009-07-07 (latest I could find)
- Rescue mode complained there aren't any Linux partitions. Panic time!
But they are there, lvscan shows everything inactive (?)...
# lvm
lvm> lvchange -a y /dev/VolGroup/LogVol00
....
# mount <lots of /dev/VolGroup00/LogVol?? under /mnt/sysimage>
# chroot /mnt/sysimage prelink -u -a
After the above, I could run yum:
# chroot /mnt/sysimage yum -y update --skip-broken
Several complaints about not being able to run %pre/%post later, I
rebooted normally, everything works (slowly, but better than not at all ;-)
Ran as root:
# package-cleanup --clean-dupes
And then did a:
# yum -y reinstall <list of packages with dupes from above>
just to be on the safe side WRT packages that didn't uninstall/install
cleanly. I'm pretty sure the above didn't catch them all, but...
--
Dr. Horst H. von Brand User #22616 counter.li.org
Departamento de Informatica Fono: +56 32 2654431
Universidad Tecnica Federico Santa Maria +56 32 2654239
Casilla 110-V, Valparaiso, Chile 2340000 Fax: +56 32 2797513
--n6DEc91j012450.1247495891/laptop14.inf.utfsm.cl--
More information about the fedora-test-list
mailing list