Results 1 to 3 of 3

Thread: Cannot install any packages

  1. #1
    Join Date
    Feb 2007
    Beans
    48

    Cannot install any packages

    I can an error whenever I try to update, I get errors.

    I also cannot run my most recent kernel.

    I tried this that I found posted somewhere else.

    Code:
    mylaptop:~$ sudo mv /var/lib/dpkg/status /var/lib/dpkg/status.broke
    [sudo] password for XXXX: 
    mylaptop:~$ 
    mylaptop:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
    mylaptop:~$ sudo dpkg --configure -a
    Setting up linux-image-2.6.24-24-generic (2.6.24-24.51) ...
    Running depmod.
    update-initramfs: Generating /boot/initrd.img-2.6.24-24-generic
    
    gzip: stdout: No space left on device
    update-initramfs: failed for /boot/initrd.img-2.6.24-24-generic
    Failed to create initrd image.
    dpkg: error processing linux-image-2.6.24-24-generic (--configure):
     subprocess post-installation script returned error exit status 2
    dpkg: dependency problems prevent configuration of linux-image-generic:
     linux-image-generic depends on linux-image-2.6.24-24-generic; however:
      Package linux-image-2.6.24-24-generic is not configured yet.
    dpkg: error processing linux-image-generic (--configure):
     dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of linux-generic:
     linux-generic depends on linux-image-generic (= 2.6.24.24.26); however:
      Package linux-image-generic is not configured yet.
    dpkg: error processing linux-generic (--configure):
     dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of linux-ubuntu-modules-2.6.24-24-generic:
     linux-ubuntu-modules-2.6.24-24-generic depends on linux-image-2.6.24-24-generic; however:
      Package linux-image-2.6.24-24-generic is not configured yet.
    dpkg: error processing linux-ubuntu-modules-2.6.24-24-generic (--configure):
     dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of linux-restricted-modules-2.6.24-24-generic:
     linux-restricted-modules-2.6.24-24-generic depends on linux-image-2.6.24-24-generic; however:
      Package linux-image-2.6.24-24-generic is not configured yet.
    dpkg: error processing linux-restricted-modules-2.6.24-24-generic (--configure):
     dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of linux-restricted-modules-generic:
     linux-restricted-modules-generic depends on linux-restricted-modules-2.6.24-24-generic; however:
      Package linux-restricted-modules-2.6.24-24-generic is not configured yet.
    dpkg: error processing linux-restricted-modules-generic (--configure):
     dependency problems - leaving unconfigured
    Errors were encountered while processing:
     linux-image-2.6.24-24-generic
     linux-image-generic
     linux-generic
     linux-ubuntu-modules-2.6.24-24-generic
     linux-restricted-modules-2.6.24-24-generic
     linux-restricted-modules-generic
    Any ideas?

    Thank you.

  2. #2
    Join Date
    Jun 2006
    Location
    UK
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Cannot install any packages

    Quote Originally Posted by Eric B View Post
    Any ideas?
    Yes. This is your problem:


    Quote Originally Posted by Eric B View Post
    Code:
    Setting up linux-image-2.6.24-24-generic (2.6.24-24.51) ...
    Running depmod.
    update-initramfs: Generating /boot/initrd.img-2.6.24-24-generic
    
    gzip: stdout: No space left on device
    You've run out of space wherever your /boot contents are kept. It hasn't got room for the initrd.img image, so none of the 2.6.24-24 kernel is being installed. Do you have a separate boot partition, or do you keep /boot in your root partition?

  3. #3
    Join Date
    Feb 2007
    Beans
    48

    Re: Cannot install any packages

    Ha. I just noticed that as well. Don't I feel dumb.

    Thanks.

    Oh, and yes, I keep a separate boot partition. I cleaned some old images.
    Last edited by Eric B; April 10th, 2009 at 05:29 PM.

Tags for this Thread

Bookmarks

Posting Permissions

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