Find the answer to your Linux question:
Results 1 to 3 of 3
I've managed to duplicate this error three times, every time I reinstalled Debian Etch. At first I thought maybe it was some kind of fluke. Anyway, when it starts up ...
  1. #1
    Just Joined!
    Join Date
    Feb 2006
    Posts
    14

    Redundant Kernel Updates?

    I've managed to duplicate this error three times, every time I reinstalled Debian Etch. At first I thought maybe it was some kind of fluke.

    Anyway, when it starts up I do a aptitude update, upgrade, and dist-upgrade. Here's what I get:

    Update goes fine.

    An attempt to upgrade does this:

    Code:
    mothership:/home/raquyx# aptitude upgrade
    Reading package lists... Done
    Building dependency tree... Done
    Reading extended state information
    Initializing package states... Done
    Writing extended state information... Done
    Reading task descriptions... Done
    Building tag database... Done
    The following packages will be upgraded:
      linux-image-2.6-486 linux-image-2.6.18-5-486
    2 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    Need to get 16.2MB of archives. After unpacking 8192B will be used.
    Do you want to continue? [Y/n/?] y
    Writing extended state information... Done
    Get:1 http://security.debian.org etch/updates/main linux-image-2.6.18-5-486 2.6.18.dfsg.1-13etch4 [16.2MB]
    Get:2 http://security.debian.org etch/updates/main linux-image-2.6-486 2.6.18+6etch2 [2230B]
    Fetched 16.2MB in 55s (292kB/s)
    Preconfiguring packages ...
    (Reading database ... 64956 files and directories currently installed.)
    Preparing to replace linux-image-2.6.18-5-486 2.6.18.dfsg.1-13 (using .../linux-image-2.6.18-5-486_2.6.18.dfsg.1-13etch4_i386.deb) ...
    The directory /lib/modules/2.6.18-5-486 still exists. Continuing as directed.
    Done.
    Unpacking replacement linux-image-2.6.18-5-486 ...
    Running postrm hook script /sbin/update-grub.
    You shouldn't call /sbin/update-grub. Please call /usr/sbin/update-grub instead!
    Searching for GRUB installation directory ... found: /boot/grub
    Searching for default file ... found: /boot/grub/default
    Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
    Searching for splash image ... none found, skipping ...
    Found kernel: /vmlinuz-2.6.18-5-486
    Updating /boot/grub/menu.lst ... done
    
    Preparing to replace linux-image-2.6-486 2.6.18+6etch1 (using .../linux-image-2.6-486_2.6.18+6etch2_i386.deb) ...
    Unpacking replacement linux-image-2.6-486 ...
    Setting up linux-image-2.6.18-5-486 (2.6.18.dfsg.1-13etch4) ...
    
     Hmm. The package shipped with a symbolic link /lib/modules/2.6.18-5-486/source
     However, I can not read the target: No such file or directory
     Therefore, I am deleting /lib/modules/2.6.18-5-486/source
    
    Running depmod.
    Finding valid ramdisk creators.
    Using mkinitramfs-kpkg to build the ramdisk.
    
    gzip: stdout: No space left on device
    mkinitramfs-kpkg failed to create initrd image.
    Failed to create initrd image.
    dpkg: error processing linux-image-2.6.18-5-486 (--configure):
     subprocess post-installation script returned error exit status 9
    dpkg: dependency problems prevent configuration of linux-image-2.6-486:
     linux-image-2.6-486 depends on linux-image-2.6.18-5-486; however:
      Package linux-image-2.6.18-5-486 is not configured yet.
    dpkg: error processing linux-image-2.6-486 (--configure):
     dependency problems - leaving unconfigured
    Errors were encountered while processing:
     linux-image-2.6.18-5-486
     linux-image-2.6-486
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    A package failed to install.  Trying to recover:
    Setting up linux-image-2.6.18-5-486 (2.6.18.dfsg.1-13etch4) ...
    Running depmod.
    Finding valid ramdisk creators.
    Using mkinitramfs-kpkg to build the ramdisk.
    
    gzip: stdout: No space left on device
    mkinitramfs-kpkg failed to create initrd image.
    Failed to create initrd image.
    dpkg: error processing linux-image-2.6.18-5-486 (--configure):
     subprocess post-installation script returned error exit status 9
    dpkg: dependency problems prevent configuration of linux-image-2.6-486:
     linux-image-2.6-486 depends on linux-image-2.6.18-5-486; however:
      Package linux-image-2.6.18-5-486 is not configured yet.
    dpkg: error processing linux-image-2.6-486 (--configure):
     dependency problems - leaving unconfigured
    Errors were encountered while processing:
     linux-image-2.6.18-5-486
     linux-image-2.6-486
    Okay, so I try a dist-upgrade:

    Code:
    mothership:/home/raquyx# aptitude dist-upgrade
    Reading package lists... Done
    Building dependency tree... Done
    Reading extended state information
    Initializing package states... Done
    Reading task descriptions... Done
    Building tag database... Done
    No packages will be installed, upgraded, or removed.
    0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    Need to get 0B of archives. After unpacking 0B will be used.
    Setting up linux-image-2.6.18-5-486 (2.6.18.dfsg.1-13etch4) ...
    Running depmod.
    Finding valid ramdisk creators.
    Using mkinitramfs-kpkg to build the ramdisk.
    
    gzip: stdout: No space left on device
    mkinitramfs-kpkg failed to create initrd image.
    Failed to create initrd image.
    dpkg: error processing linux-image-2.6.18-5-486 (--configure):
     subprocess post-installation script returned error exit status 9
    dpkg: dependency problems prevent configuration of linux-image-2.6-486:
     linux-image-2.6-486 depends on linux-image-2.6.18-5-486; however:
      Package linux-image-2.6.18-5-486 is not configured yet.
    dpkg: error processing linux-image-2.6-486 (--configure):
     dependency problems - leaving unconfigured
    Errors were encountered while processing:
     linux-image-2.6.18-5-486
     linux-image-2.6-486
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    A package failed to install.  Trying to recover:
    Setting up linux-image-2.6.18-5-486 (2.6.18.dfsg.1-13etch4) ...
    Running depmod.
    Finding valid ramdisk creators.
    Using mkinitramfs-kpkg to build the ramdisk.
    
    gzip: stdout: No space left on device
    mkinitramfs-kpkg failed to create initrd image.
    Failed to create initrd image.
    dpkg: error processing linux-image-2.6.18-5-486 (--configure):
     subprocess post-installation script returned error exit status 9
    dpkg: dependency problems prevent configuration of linux-image-2.6-486:
     linux-image-2.6-486 depends on linux-image-2.6.18-5-486; however:
      Package linux-image-2.6.18-5-486 is not configured yet.
    dpkg: error processing linux-image-2.6-486 (--configure):
     dependency problems - leaving unconfigured
    Errors were encountered while processing:
     linux-image-2.6.18-5-486
     linux-image-2.6-486
    I've had this error before and managed to get around it, but I can't remember how. Last night I tried to fix it and ended up getting a kernel panic and being unable to boot. I haven't done anything yet; I have just the core system installed. Any assistance or explanation would be great. Thanks in advance.

  2. #2
    Just Joined!
    Join Date
    Feb 2006
    Posts
    14
    Well, the main problem seems to be that the kernel is not configured. How do I do that?

  3. #3
    Just Joined!
    Join Date
    Nov 2007
    Posts
    2
    [QUOTE=gzip: stdout: No space left on device
    mkinitramfs-kpkg failed to create initrd image.
    Failed to create initrd image.?[/QUOTE]


    I think there is not enough space left in u r disk

    Hey what the output of

    df -h

    please post the output here

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •