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: pgpc5gdZ22MAa.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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux