Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: 'The following packages have unmet dependencies'

  1. #11
    Join Date
    Nov 2012
    Beans
    11

    Re: 'The following packages have unmet dependencies'

    Hi again...

    I'm sorry and feel useless, but the same problem keeps occurring.

    The reason for this thread in the first place (and I should have explained it properly) was because when I try and install something in Ubuntu Software Centre it won't happen and I get the following messages:

    "Items cannot be installed or removed until the package catalogue is removed. Do you want to repair it now?"

    To which I select 'Repair'

    after which I get the same error message.

    installArchives() failed: (Reading database ...
    (Reading database ... 5%
    (Reading database ... 10%
    (Reading database ... 15%
    (Reading database ... 20%
    (Reading database ... 25%
    (Reading database ... 30%
    (Reading database ... 35%
    (Reading database ... 40%
    (Reading database ... 45%
    (Reading database ... 50%
    (Reading database ... 55%
    (Reading database ... 60%
    (Reading database ... 65%
    (Reading database ... 70%
    (Reading database ... 75%
    (Reading database ... 80%
    (Reading database ... 85%
    (Reading database ... 90%
    (Reading database ... 95%
    (Reading database ... 100%
    (Reading database ... 247401 files and directories currently installed.)
    Unpacking linux-image-3.5.0-28-generic (from .../linux-image-3.5.0-28-generic_3.5.0-28.48_amd64.deb) ...
    Done.
    dpkg: error processing /var/cache/apt/archives/linux-image-3.5.0-28-generic_3.5.0-28.48_amd64.deb (--unpack):
    cannot copy extracted data for './boot/System.map-3.5.0-28-generic' to '/boot/System.map-3.5.0-28-generic.dpkg-new': failed to write (No space left on device)
    No apport report written because MaxReports is reached already
    Examining /etc/kernel/postrm.d .
    run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.5.0-28-generic /boot/vmlinuz-3.5.0-28-generic
    run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.5.0-28-generic /boot/vmlinuz-3.5.0-28-generic
    Unpacking linux-image-3.5.0-30-generic (from .../linux-image-3.5.0-30-generic_3.5.0-30.51_amd64.deb) ...
    Done.
    dpkg: error processing /var/cache/apt/archives/linux-image-3.5.0-30-generic_3.5.0-30.51_amd64.deb (--unpack):
    cannot copy extracted data for './boot/System.map-3.5.0-30-generic' to '/boot/System.map-3.5.0-30-generic.dpkg-new': failed to write (No space left on device)
    No apport report written because MaxReports is reached already
    Examining /etc/kernel/postrm.d .
    run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.5.0-30-generic /boot/vmlinuz-3.5.0-30-generic
    run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.5.0-30-generic /boot/vmlinuz-3.5.0-30-generic
    Unpacking linux-image-3.5.0-36-generic (from .../linux-image-3.5.0-36-generic_3.5.0-36.57_amd64.deb) ...
    Done.
    dpkg: error processing /var/cache/apt/archives/linux-image-3.5.0-36-generic_3.5.0-36.57_amd64.deb (--unpack):
    cannot copy extracted data for './boot/abi-3.5.0-36-generic' to '/boot/abi-3.5.0-36-generic.dpkg-new': failed to write (No space left on device)
    No apport report written because MaxReports is reached already
    Examining /etc/kernel/postrm.d .
    run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.5.0-36-generic /boot/vmlinuz-3.5.0-36-generic
    run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.5.0-36-generic /boot/vmlinuz-3.5.0-36-generic
    Unpacking linux-image-3.5.0-41-generic (from .../linux-image-3.5.0-41-generic_3.5.0-41.64_amd64.deb) ...
    Done.
    dpkg: error processing /var/cache/apt/archives/linux-image-3.5.0-41-generic_3.5.0-41.64_amd64.deb (--unpack):
    cannot copy extracted data for './boot/abi-3.5.0-41-generic' to '/boot/abi-3.5.0-41-generic.dpkg-new': failed to write (No space left on device)
    dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
    No apport report written because MaxReports is reached already
    Examining /etc/kernel/postrm.d .
    run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.5.0-41-generic /boot/vmlinuz-3.5.0-41-generic
    run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.5.0-41-generic /boot/vmlinuz-3.5.0-41-generic
    Errors were encountered while processing:
    /var/cache/apt/archives/linux-image-3.5.0-28-generic_3.5.0-28.48_amd64.deb
    /var/cache/apt/archives/linux-image-3.5.0-30-generic_3.5.0-30.51_amd64.deb
    /var/cache/apt/archives/linux-image-3.5.0-36-generic_3.5.0-36.57_amd64.deb
    /var/cache/apt/archives/linux-image-3.5.0-41-generic_3.5.0-41.64_amd64.deb
    Error in function:
    Setting up initramfs-tools (0.103ubuntu0.2) ...
    update-initramfs: deferring update (trigger activated)
    dpkg: dependency problems prevent configuration of linux-image-extra-3.5.0-30-generic:
    linux-image-extra-3.5.0-30-generic depends on linux-image-3.5.0-30-generic; however:
    Package linux-image-3.5.0-30-generic is not installed.


    dpkg: error processing linux-image-extra-3.5.0-30-generic (--configure):
    dependency problems - leaving unconfigured
    Setting up linux-image-extra-3.5.0-26-generic (3.5.0-26.42) ...
    Running depmod.
    update-initramfs: deferring update (hook will be called later)
    Examining /etc/kernel/postinst.d.
    run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.5.0-26-generic /boot/vmlinuz-3.5.0-26-generic
    update-initramfs: Generating /boot/initrd.img-3.5.0-26-generic


    gzip: stdout: No space left on device
    cpio: write error: Broken pipe
    E: mkinitramfs failure cpio 1 gzip 1
    update-initramfs: failed for /boot/initrd.img-3.5.0-26-generic with 1.
    run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
    Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-extra-3.5.0-26-generic.postinst line 1010.
    dpkg: error processing linux-image-extra-3.5.0-26-generic (--configure):
    subprocess installed post-installation script returned error exit status 2
    dpkg: dependency problems prevent configuration of linux-image-generic:
    linux-image-generic depends on linux-image-3.5.0-28-generic; however:
    Package linux-image-3.5.0-28-generic is not installed.


    dpkg: error processing linux-image-generic (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of linux-image-extra-3.5.0-36-generic:
    linux-image-extra-3.5.0-36-generic depends on linux-image-3.5.0-36-generic; however:
    Package linux-image-3.5.0-36-generic is not installed.


    dpkg: error processing linux-image-extra-3.5.0-36-generic (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of linux-image-extra-3.5.0-41-generic:
    linux-image-extra-3.5.0-41-generic depends on linux-image-3.5.0-41-generic; however:
    Package linux-image-3.5.0-41-generic is not installed.


    dpkg: error processing linux-image-extra-3.5.0-41-generic (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of linux-image-extra-3.5.0-28-generic:
    linux-image-extra-3.5.0-28-generic depends on linux-image-3.5.0-28-generic; however:
    Package linux-image-3.5.0-28-generic is not installed.


    dpkg: error processing linux-image-extra-3.5.0-28-generic (--configure):
    dependency problems - leaving unconfigured
    Processing triggers for initramfs-tools ...
    update-initramfs: Generating /boot/initrd.img-3.5.0-26-generic


    gzip: stdout: No space left on device
    cpio: write error: Broken pipe
    E: mkinitramfs failure cpio 1 gzip 1
    update-initramfs: failed for /boot/initrd.img-3.5.0-26-generic with 1.
    dpkg: error processing initramfs-tools (--configure):
    subprocess installed post-installation script returned error exit status 1


    I realise my SSD is full, but cannot free space up if I can't delete programs.

    I appreciate very much your advice and your patience!

    Cheers,

    Dane

  2. #12
    Join Date
    Oct 2009
    Location
    Reykjavík, Ísland
    Beans
    12,487
    Distro
    Lubuntu 17.10 Artful Aardvark

    Re: 'The following packages have unmet dependencies'

    Lots of things can go wrong when an operative system eats all hard drive space and is halted in the middle of whichever process it's doing. As you can see you have a long list of interesting error messages.

    I wouldn't trust a system which has been through that, neither Buntu nor Windows, but erase and reinstall. That will also give you the opportunity to switch to the almost-released 13.10. You could however try booting the computer and running

    Code:
    sudo apt-get update
    sudo apt-get clean
    sudo apt-get autoremove
    Last edited by mörgæs; October 9th, 2013 at 08:42 PM.
    Bringing old hardware back to life. About problems due to upgrading.
    Please visit Quick Links -> Unanswered Posts
    Don't use this space for a list of your hardware. It only creates false hits in the search engines.

  3. #13
    Join Date
    Nov 2012
    Beans
    11

    Re: 'The following packages have unmet dependencies'

    I agree! Time to reinstall! I'm trying to reboot computer with USB Ubuntu ISO though it doesn't seem to be cooperating... any tips?

  4. #14
    Join Date
    Mar 2010
    Location
    India
    Beans
    8,149
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: 'The following packages have unmet dependencies'

    Quote Originally Posted by daneandrewlam View Post
    I agree! Time to reinstall! I'm trying to reboot computer with USB Ubuntu ISO though it doesn't seem to be cooperating... any tips?
    I would like to see the outputs of -
    Code:
    df -h
    dpkg -l | grep linux-image
    I expect to see almost zero remaining space and a lots of older kernels, removing some of which should give you plenty of space to successfully finish the current packages installation. That's the most common cause and most common fix for this kind of problems.

    And the newer kernels do not necessarily perform better. In fact, you may find some new bugs that possibly don't exist in your current setup. So if your current installation is the LTS (12.04), you should try fixing it first. But of course you may try 13.10 in live mode and decide to install if you (and your system) like it.
    Varun
    Help others by marking threads as [SOLVED], if they are. (See how)
    Wireless Script | Use Code Tags

Page 2 of 2 FirstFirst 12

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
  •