LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   apt question -- how do I back out of an upgrade.. (https://www.linuxquestions.org/questions/debian-26/apt-question-how-do-i-back-out-of-an-upgrade-510564/)

farslayer 12-14-2006 10:12 PM

apt question -- how do I back out of an upgrade..
 
I was looking at currently available updates. apt-listbugs listed a pretty serious issue with the kernel update I meant to cancel out of the update process but bumped the enter key by accident. I immediateyl hit Ctrl-c to stop the upgrade from taking place but the system had already mad e afew change rather rapidly I might add..

Now it wants me to do a 'dpkg --configure -a' before I can do anything else with the package management system...

What options do I have at this point ? any suggestions ?

Code:

Parsing Found/Fixed information... Done
critical bugs of linux-image-2.6.18-3-686 (2.6.18-7 -> 2.6.18-8) <pending>
 #402416 - linux-image-2.6.18-3-686: 2.6.18-3 fails to boot (failure during root fs mount)
Summary:
 linux-image-2.6.18-3-686(1 bug)
Are you sure you want to install/upgrade the above packages? [Y/n/?/...]

Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ...
dpkg: serious warning: files list file for package `linux-image-2.6.18-3-686' missing, assuming package has no files currently installed.
169433 files and directories currently installed.)
Preparing to replace linux-image-2.6.18-3-686 2.6.18-7 (using .../linux-image-2.6.18-3-686_2.6.18-8_i386.deb) ...
The directory /lib/modules/2.6.18-3-686 still exists. Continuing as directed.
Done.
Unpacking replacement linux-image-2.6.18-3-686 ...
E: Sub-process /usr/bin/dpkg exited unexpectedly


E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.

I so did not mean to do that... :(

rickh 12-14-2006 10:55 PM

I'm using that kernel, and my system boots fine. This is not necessarily my recommendation to you, but if it was me, I would run the reconfigure command, let it update, then use "remove --purge to get rid of the kernel before you reboot.

If you're using aptitude as opposed to apt-get, it handles remove commands very well.

farslayer 12-14-2006 11:09 PM

Searched the Bug list for this and this bug was re-assigned to mdadm and since I'm not running any raid devices on this system I guess I don't have to worry about this particular issue..

went ahead with the dpkg recommendation, it looks good so far.


All times are GMT -5. The time now is 11:24 AM.