LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-29-2004, 02:42 PM   #1
reetep
Member
 
Registered: Oct 2003
Location: UK
Distribution: Debian
Posts: 122

Rep: Reputation: 15
Major dependency errors whilst installing 2.6 kernel


Hi guys, I tried to install a 2.6 kernel as follows:

aptitude --with-suggests install kernel-image-2.6.5-1-686

but got the following errors:

...
...
...
Setting up cramfsprogs (1.1-5) ...
Setting up initrd-tools (0.1.67) ...

Setting up kernel-doc-2.6.5 (2.6.5-4) ...

Setting up module-init-tools (3.0-pre10-3) ...
cat: alsa: No such file or directory
dpkg: error processing module-init-tools (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of kernel-image-2.6.5-1-686:
kernel-image-2.6.5-1-686 depends on module-init-tools (>= 0.9.13); however:
Package module-init-tools is not configured yet.
dpkg: error processing kernel-image-2.6.5-1-686 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
module-init-tools
kernel-image-2.6.5-1-686
E: Sub-process /usr/bin/dpkg returned an error code (1)
Ack! Something bad happened while installing packages. Trying to recover:
Setting up module-init-tools (3.0-pre10-3) ...
cat: alsa: No such file or directory
dpkg: error processing module-init-tools (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of kernel-image-2.6.5-1-686:
kernel-image-2.6.5-1-686 depends on module-init-tools (>= 0.9.13); however:
Package module-init-tools is not configured yet.
dpkg: error processing kernel-image-2.6.5-1-686 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
module-init-tools
kernel-image-2.6.5-1-686
Reading Package Lists... Done
Building Dependency Tree
Reading extended state information... Done


The following fails to rectify the problem:

apt-get install module-init-tools


it gives the following output:

Reading Package Lists... Done
Building Dependency Tree... Done
module-init-tools is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
2 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up module-init-tools (3.0-pre10-3) ...
cat: alsa: No such file or directory
dpkg: error processing module-init-tools (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of kernel-image-2.6.5-1-686:
kernel-image-2.6.5-1-686 depends on module-init-tools (>= 0.9.13); however:
Package module-init-tools is not configured yet.
dpkg: error processing kernel-image-2.6.5-1-686 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
module-init-tools
kernel-image-2.6.5-1-686
E: Sub-process /usr/bin/dpkg returned an error code (1)



nor does a

dpkg-reconfigure module-init-tools

help. That gives the following output:

/usr/sbin/dpkg-reconfigure: module-init-tools is broken or not fully installed




Can anyone offer any advice or help?
Many thanks, reetep.
 
Old 05-30-2004, 08:52 AM   #2
dano.1
LQ Newbie
 
Registered: Apr 2004
Location: Netherlands
Distribution: Debian Sid
Posts: 12

Rep: Reputation: 0
Can't you just remove the initrd-tools package (even purge the config) and then reinstall the damn thing. You may also try dselect, this some how has more influence on the dependencies and how to install them then apt-get.


Just my 2ct

Danny
 
Old 05-30-2004, 10:35 AM   #3
CBlue
Member
 
Registered: Mar 2004
Location: South Carolina, USA
Distribution: Mepis
Posts: 287

Rep: Reputation: 31
Re: Major dependency errors whilst installing 2.6 kernel

Quote:
Originally posted by reetep
That gives the following output:

/usr/sbin/dpkg-reconfigure: module-init-tools is broken or not fully installed




Can anyone offer any advice or help?
Many thanks, reetep.
apt-get remove --purge module-init-tools then apt-get install module-init-tools and see it you get any errors after reinstalling it. Or you can download the deb file from debian.org and then use dpkg -i to install it.
 
Old 05-30-2004, 02:47 PM   #4
reetep
Member
 
Registered: Oct 2003
Location: UK
Distribution: Debian
Posts: 122

Original Poster
Rep: Reputation: 15
That's great thanks to you both, I really should have thought of that myself.

I'll know for next time though! Thanks again, reetep.
 
  


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
failed dependencies whilst installing koffice absolute0 SUSE / openSUSE 2 09-20-2005 10:28 AM
RPM Dependency Errors on 10.0 Tim Johnson Slackware 5 09-01-2005 10:22 AM
rpm dependency errors hoover93 Linux - Software 1 05-19-2005 07:05 PM
KDE 3.2 dependency errors svarreby Fedora 3 02-16-2004 01:00 PM
Kernel dependency error when installing sound drivers SeeingWhite Linux - Hardware 2 08-20-2003 04:50 PM

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

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