Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, I jst switched to Debian Etch..Everything was working fine...I just recompiled the kernel to 2.6.23.12...now the problem is that every time i try to use apt-get install, it ends ...
  1. #1
    Just Joined!
    Join Date
    Jul 2006
    Posts
    9

    Exclamation apt-get broken after new kernel was compiled

    Hi, I jst switched to Debian Etch..Everything was working fine...I just recompiled the kernel to 2.6.23.12...now the problem is that every time i try to use apt-get install, it ends up with this :


    After unpacking 0B of additional disk space will be used.
    Setting up linux-image-2.6.18-5-amd64 (2.6.18.dfsg.1-13etch6) ...
    Running depmod.
    Finding valid ramdisk creators.
    Using mkinitramfs-kpkg to build the ramdisk.
    cp: missing destination file operand after `/tmp/tmp.ddjBRc6268/sbin/'
    Try `cp --help' for more information.
    mkinitramfs-kpkg failed to create initrd image.
    Failed to create initrd image.
    dpkg: error processing linux-image-2.6.18-5-amd64 (--configure):
    subprocess post-installation script returned error exit status 9
    dpkg: dependency problems prevent configuration of linux-image-2.6-amd64:
    linux-image-2.6-amd64 depends on linux-image-2.6.18-5-amd64; however:
    Package linux-image-2.6.18-5-amd64 is not configured yet.
    dpkg: error processing linux-image-2.6-amd64 (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of linux-image-2.6-amd64-generic:
    linux-image-2.6-amd64-generic depends on linux-image-2.6-amd64; however:
    Package linux-image-2.6-amd64 is not configured yet.
    dpkg: error processing linux-image-2.6-amd64-generic (--configure):
    dependency problems - leaving unconfigured
    Errors were encountered while processing:
    linux-image-2.6.18-5-amd64
    linux-image-2.6-amd64
    linux-image-2.6-amd64-generic
    E: Sub-process /usr/bin/dpkg returned an error code (1)


    Any hints on what i need to do to correct this? Output of uname-a is

    Linux dead 2.6.23.12 #1 SMP Sun Dec 30 19:45:53 SGT 2007 x86_64 GNU/Linux

  2. #2
    Just Joined! boggy's Avatar
    Join Date
    Oct 2006
    Location
    Northeastern Pennsylvania
    Posts
    43
    Compile / configure your new kernel from source.

Posting Permissions

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