LinuxQuestions.org
Visit Jeremy's Blog.
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 07-20-2011, 07:43 AM   #1
1Trev27
LQ Newbie
 
Registered: Feb 2006
Posts: 4

Rep: Reputation: 0
Upgrade failure: Failed to find suitable ramdisk generation tool for kernel version


Hi,

Running Lenny and noticed some issues after an apt-get update, apt-get upgrade. Lots of packages kept back and failure on linux-image-2.6.26-2-amd64.

Linux version 2.6.26-2-amd64 (Debian 2.6.26-25lenny1) (dannf@debian.org) (gcc version 4.1.3 20080704 (prerelease) (Debian 4.1.2-25)) #1 SMP Thu Sep 16 15:56:38 UTC 2010

Code:
sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
  apache2-mpm-prefork apache2.2-common apt apt-utils aptitude base-files bash cpp cpp-4.4 debianutils dhcp3-client dhcp3-common diff fp-compiler fp-ide fp-units-base fp-units-db
  fp-units-fcl fp-units-fv fp-units-gfx fp-units-gnome1 fp-units-gtk fp-units-gtk2 fp-units-math fp-units-misc fp-units-multimedia fp-units-net fp-units-rtl fp-utils fpc g++ g++-4.4
  gcc gcc-4.4 gcc-4.4-base git grub grub-common info initscripts iptables libatk1.0-0 libatk1.0-dev libc-bin libc-dev-bin libc6 libc6-dev libcairo2 libcairo2-dev libcurl3
  libcurl3-gnutls libdevmapper1.02.1 libedit2 libgcc1 libglib2.0-0 libglib2.0-dev libgtk2.0-0 libgtk2.0-bin libgtk2.0-dev libjasper1 libldap-2.4-2 libmpfr4 libpam-modules libpango1.0-0
  libpango1.0-dev libstdc++6-4.4-dev libxext-dev libxext6 libxi-dev libxi6 linux-image-2.6-amd64 locales lvm2 man-db mount ntp ntpdate openssh-client openssh-server phpmyadmin
  proftpd-basic proftpd-mod-ldap proftpd-mod-mysql proftpd-mod-pgsql python python-minimal rsyslog sysv-rc udev ufw update-inetd usbutils x11proto-core-dev
0 upgraded, 0 newly installed, 0 to remove and 93 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up linux-image-2.6.26-2-amd64 (2.6.26-26lenny3) ...
Running depmod.
Failed to find suitable ramdisk generation tool for kernel version
2.6.26-2-amd64 on running kernel 2.6.26-2-amd64 in mkinitramfs-kpkg mkinitrd.yaird
dpkg: error processing linux-image-2.6.26-2-amd64 (--configure):
 subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
 linux-image-2.6.26-2-amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)
atml@into-elearning:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 93 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up linux-image-2.6.26-2-amd64 (2.6.26-26lenny3) ...
Running depmod.
Failed to find suitable ramdisk generation tool for kernel version
2.6.26-2-amd64 on running kernel 2.6.26-2-amd64 in mkinitramfs-kpkg mkinitrd.yaird
dpkg: error processing linux-image-2.6.26-2-amd64 (--configure):
 subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
 linux-image-2.6.26-2-amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)
Sources list
Code:
deb    ftp://mirror.hetzner.de/debian/packages  lenny          main contrib non-free
deb    ftp://mirror.hetzner.de/debian/security  lenny/updates  main contrib non-free

deb     http://ftp.de.debian.org/debian/  lenny  main non-free contrib
deb-src http://ftp.de.debian.org/debian/  lenny  main non-free contrib

deb     http://security.debian.org/  lenny/updates  main contrib non-free
deb-src http://security.debian.org/  lenny/updates  main contrib non-free


deb     http://ftp.de.debian.org/debian/  sid  main non-free contrib
No luck running the usual, e.g. sudo dpkg --configure -a or sudo apt-get -f install

Have tried quite a few things but am at a loss now. Would be great if you get throw your thoughts in.

Thanks!
 
Old 07-20-2011, 08:20 AM   #2
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Bullseye
Posts: 1,508

Rep: Reputation: Disabled
Edit:

Just noticed you have an entry for Sid in your sources.list,you are trying to mix Oldstable with Unstable.
Have you done any updates or installed any packages since adding Sid to your sources.list?

Last edited by the trooper; 07-20-2011 at 08:25 AM.
 
Old 07-20-2011, 10:07 AM   #3
1Trev27
LQ Newbie
 
Registered: Feb 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Hi Trooper, Thanks a million for the response. I read the sources list but sid escaped my notice! Judging by the timestamp on that file there have been quite a few updates made since. My bad - didn't realise anyone had changed the sources ;-)
An update and upgrade via apt updates all of the held back packages but still leaves the kernel issue. Grabbing all my backups of that server before I try anything else.
Many thanks!
 
  


Reply

Tags
apt-get upgrades, dpkg



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
RAMDISK: couldn't find valid ramdisk image starting at 0. iotc247 Slackware 10 12-10-2010 03:08 PM
Tool for building net booted kernel and ramdisk? wsanders Linux - Server 6 06-06-2007 06:06 PM
Failed to find suitable ramdisk generation tool for kernel version sycamorex Linux - Kernel 6 05-05-2007 11:08 PM
How does the kernel version and ramdisk contents relate? Kristofer Linux - General 0 01-18-2007 02:36 AM
No suitable ramdisk generation tool ? mfakbulut Linux - Newbie 3 01-05-2006 12:26 PM

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

All times are GMT -5. The time now is 06:51 AM.

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