LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 02-16-2007, 04:58 PM   #1
n0dl
LQ Newbie
 
Registered: Feb 2006
Location: @sh0u
Distribution: The linux one
Posts: 11

Rep: Reputation: 0
apt-get upgrade error (stops at kernel due to "dependency issues")


Hello, I tired to run apt-get update && apt-get upgrade however whenever it gets to setting up the linux-2.6-686 image I get this:
Quote:
sh0u:/home/n0dl# apt-get install kernel-image-2.6-686
Reading Package Lists... Done
Building Dependency Tree... Done
kernel-image-2.6-686 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 29 not upgraded.
3 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up linux-image-2.6.18-4-686 (2.6.18.dfsg.1-10) ...
Running depmod.
Finding valid ramdisk creators.
Using mkinitramfs-kpkg to build the ramdisk.
Failed to symbolic-link boot/initrd.img-2.6.18-4-686 to initrd.img.
dpkg: error processing linux-image-2.6.18-4-686 (--configure):
subprocess post-installation script returned error exit status 17
dpkg: dependency problems prevent configuration of linux-image-2.6-686:
linux-image-2.6-686 depends on linux-image-2.6.18-4-686; however:
Package linux-image-2.6.18-4-686 is not configured yet.
dpkg: error processing linux-image-2.6-686 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of kernel-image-2.6-686:
kernel-image-2.6-686 depends on linux-image-2.6-686; however:
Package linux-image-2.6-686 is not configured yet.
dpkg: error processing kernel-image-2.6-686 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-image-2.6.18-4-686
linux-image-2.6-686
kernel-image-2.6-686
E: Sub-process /usr/bin/dpkg returned an error code (1)
I tried to run apt-get clean && apt-get update && apt-get upgrade however that didnt work. I also tried to reinstall the image by simply running apt-get install kernel-image-2.6-686, change my mirrors (although i wouldnt think that would help considering the kernel updates come from the security mirror) and attempting to manually symbolic link /boot/initrd.img-2.6.18-4-686 to initrd.img then running the apt-get line to no avail. I run Debian sid.
 
Old 02-16-2007, 05:20 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
Try running aptitude dist-upgrade. It looks like you have 29 packages that are held back. Sometimes "upgrade" doesn't work and you have to "dist-upgrade".
 
Old 02-16-2007, 06:20 PM   #3
n0dl
LQ Newbie
 
Registered: Feb 2006
Location: @sh0u
Distribution: The linux one
Posts: 11

Original Poster
Rep: Reputation: 0
Thank you for your response. Those "29 packages" that were held back were now installed. However when I run the line apt-get clean && apt-get update && apt-get dist-upgrade I still get this:
Quote:
sh0u:/home/n0dl/mc-4.6.1# apt-get clean && apt-get update && apt-get dist-upgrade
Get: 1 http://security.debian.org stable/updates Release.gpg [189B]
Get: 2 http://ftp.se.debian.org unstable Release.gpg [189B]
Hit http://security.debian.org stable/updates Release
Ign http://security.debian.org stable/updates/main Packages/DiffIndex
Hit http://ftp.se.debian.org unstable Release
Ign http://security.debian.org stable/updates/main Packages
Hit http://security.debian.org stable/updates/main Packages
Hit http://ftp.se.debian.org unstable/main Packages/DiffIndex
Hit http://ftp.se.debian.org unstable/main Sources/DiffIndex
Fetched 2B in 2s (1B/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue [Y/n]?y
Setting up linux-image-2.6.18-4-686 (2.6.18.dfsg.1-10) ...
Running depmod.
Finding valid ramdisk creators.
Using mkinitramfs-kpkg to build the ramdisk.
Failed to symbolic-link boot/initrd.img-2.6.18-4-686 to initrd.img.
dpkg: error processing linux-image-2.6.18-4-686 (--configure):
subprocess post-installation script returned error exit status 17
dpkg: dependency problems prevent configuration of linux-image-2.6-686:
linux-image-2.6-686 depends on linux-image-2.6.18-4-686; however:
Package linux-image-2.6.18-4-686 is not configured yet.
dpkg: error processing linux-image-2.6-686 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of kernel-image-2.6-686:
kernel-image-2.6-686 depends on linux-image-2.6-686; however:
Package linux-image-2.6-686 is not configured yet.
dpkg: error processing kernel-image-2.6-686 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-image-2.6.18-4-686
linux-image-2.6-686
kernel-image-2.6-686
E: Sub-process /usr/bin/dpkg returned an error code (1)
The strange thing is it says:
Quote:
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
which I take is supposed to mean that nothing more needs to be done in terms of updating. However, the image still attempts to upgrade (and fail). Any ideas?
 
  


Reply



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 dist-upgrade and Synaptic "smart upgrade" show different results vharishankar Debian 1 04-09-2006 07:53 AM
How to use synaptic "smart upgrade or "apt-get dist-upgrade" PenguinMolester Ubuntu 2 04-04-2005 02:11 PM
Guarddog won't run due to "Bus error" jonr Mandriva 0 08-06-2004 12:15 PM
how to install the "packages that have been held back" when doing "apt-get upgrade&qu zero79 Debian 5 06-27-2004 08:19 PM
Application "nautilus" (process 5342) has crashed due to a fatal error. zorr0 Linux - General 1 05-10-2004 07:56 PM

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

All times are GMT -5. The time now is 10:54 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