LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 12-14-2006, 10:12 PM   #1
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
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...
 
Old 12-14-2006, 10:55 PM   #2
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
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.
 
Old 12-14-2006, 11:09 PM   #3
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249

Original Poster
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apt-get question: dist-upgrade vs upgrade Arodef Fedora 9 06-15-2012 01:33 PM
Question about 'apt-get upgrade' versus 'apt-get install' eur0dad Red Hat 8 07-16-2006 05:41 PM
apt-get upgrade: packages kept back, etch jameslaw Debian 1 04-28-2006 03:27 PM
apt-get upgrade packages held back manicman Linux - Newbie 3 11-25-2005 06:21 PM
apt-get upgrade lists many packages kept back malbery Debian 2 01-05-2005 01:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 02:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration