Re: laptop battery died while upgrading using Pre-upgrade

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Globe Trotter writes:


Hi,

Does anyone know how to address this problem? My laptop battery died while upgrading using Pre-upgrade. It was not connected. So what should I do when I switch it on?

Cross your fingers, and hope that your RPM database isn't fscked.

Any suggestions?

Nope, you'll be flying by the seat of your pants. It's anyone's guess what state your system will be in. Chances are fairly good that you'll be able to boot, at least in run level 1, so you can get a shell prompt.

Presuming that you can get a shell, the next step would be to assess the damage to your RPM database. Presuming that rpm --rebuilddb survives, the next step would be to run "rpm -q -a", and see what you've got.

When rpm goes down in a middle of updates, the most likely result is that the rpm database will list both the old and the new version of each package, and you'll need to compile a list of them all, and manually remove the old version of each package.

Been there, done that. It's not fun, but the only other option is to salvage the data, reformat, and reinstall.

Once you manage to put your rpm database in a sane state, the next best thing to do is to forget preupgrade, and run F11's installer, which will clean up and finish the install.


Attachment: pgpIiwZ02P5fF.pgp
Description: PGP signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux