[DC LoCo] thoughts on recovering from power off during distro upgrade?
eric.maag at gmail.com
Tue Oct 18 14:39:12 UTC 2011
Had I know all this a while back. FML
2011/10/18 Stephen Nichols <ChinnoDog at lonesheep.net>:
> The packages are transactional. If it breaks halfway through then apt can
> roll it back. If you can boot up successfully then you can probably resume
> the upgrade without an issue. (Run do-release-upgrade from the command line
> if unsure how to launch it.) If a package is broken you will probably get a
> message that includes the fix. If you can't boot anymore then all is not
> lost though. You can boot from the installation media, fsck your hard disk
> if necessary, and chroot to your hard disk before restarting the upgrade.
> 2011/10/18 Frank J. Gómez <frank at crop-circle.net>
>> I was upgrading a laptop from Ubuntu 11.04 to 11.10 when my cat made
>> himself a seat on the keyboard. (I was away from the machine.) This
>> laptop's unfortunate instinct when tons of keys are pressed is to power off.
>> By the time this occurred, all required packages had been downloaded and
>> installation of packages was underway.
>> I don't have the laptop with me just now, but I'm uncertain of what to do
>> when I look at it again tonight or tomorrow. I suppose I could just boot up
>> and see what happens -- perhaps the upgrader is smart enough to know that
>> smart went crazy last time around and will make helpful suggestions. Or
>> perhaps there's a dpkg command I can run that will take all uninstalled
>> packages on the machine and install them; that doesn't seem out of the
>> question... but what about the package that was in process of being
>> installed when the power off occurred? Lost cause?
>> Thanks for your input!
>> Ubuntu-us-dc mailing list
>> Ubuntu-us-dc at lists.ubuntu.com
>> Modify settings or unsubscribe at:
> Ubuntu-us-dc mailing list
> Ubuntu-us-dc at lists.ubuntu.com
> Modify settings or unsubscribe at:
More information about the Ubuntu-us-dc