upgrade fails with unmet dependencies

Colin Law clanlaw at gmail.com
Sat Jun 24 13:15:07 UTC 2017


On 24 June 2017 at 14:09, robert rottermann <robert at redcor.ch> wrote:
> Hi there,
>
>
> on one of my live servers I wanted to do an apt upgrade.
>
> It failed with an error, and now every attempt to upgrade fails.

Try
apt full-upgrade
that will install any new packages that need to be installed as part
of the upgrade, apt upgrade only upgrades existing installed packages.

Colin

>
> Can somebody give me a pointer how to fix this?
>
>
> thanks very much
>
> robert
>
>
> root at salome ~ # apt upgrade
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> You might want to run 'apt-get -f install' to correct these.
> The following packages have unmet dependencies:
>  linux-image-extra-4.4.0-81-generic : Depends: linux-image-4.4.0-81-generic
> but it is not installed
>  linux-image-generic : Depends: linux-image-4.4.0-81-generic but it is not
> installed
>                        Recommends: thermald but it is not installed
> E: Unmet dependencies. Try using -f.
>
> --------------------------------------------------------------------------------
>
> root at salome ~ # apt-get -f install
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Correcting dependencies... Done
> The following packages were automatically installed and are no longer
> required:
>   linux-headers-4.4.0-53 linux-headers-4.4.0-53-generic
> linux-headers-4.4.0-57 linux-headers-4.4.0-57-generic
>   linux-headers-4.4.0-59 linux-headers-4.4.0-59-generic
> linux-headers-4.4.0-62 linux-headers-4.4.0-62-generic
>   linux-headers-4.4.0-64 linux-headers-4.4.0-64-generic
> linux-headers-4.4.0-66 linux-headers-4.4.0-66-generic
>   linux-headers-4.4.0-72 linux-headers-4.4.0-72-generic
> linux-headers-4.4.0-77 linux-headers-4.4.0-77-generic
>   linux-image-4.4.0-53-generic linux-image-4.4.0-57-generic
> linux-image-4.4.0-59-generic
>   linux-image-4.4.0-62-generic linux-image-4.4.0-64-generic
> linux-image-4.4.0-66-generic
>   linux-image-4.4.0-72-generic linux-image-4.4.0-77-generic
> linux-image-extra-4.4.0-53-generic
>   linux-image-extra-4.4.0-57-generic linux-image-extra-4.4.0-59-generic
> linux-image-extra-4.4.0-62-generic
>   linux-image-extra-4.4.0-64-generic linux-image-extra-4.4.0-66-generic
> linux-image-extra-4.4.0-72-generic
>   linux-image-extra-4.4.0-77-generic
> Use 'apt autoremove' to remove them.
> The following additional packages will be installed:
>   linux-image-4.4.0-81-generic
> Suggested packages:
>   fdutils linux-doc-4.4.0 | linux-source-4.4.0 linux-tools
> The following NEW packages will be installed:
>   linux-image-4.4.0-81-generic
> 0 upgraded, 1 newly installed, 0 to remove and 7 not upgraded.
> 19 not fully installed or removed.
> Need to get 0 B/21.9 MB of archives.
> After this operation, 66.9 MB of additional disk space will be used.
> Do you want to continue? [Y/n] y
> Setting up multiarch-support (2.23-0ubuntu9) ...
> (Reading database ... 433146 files and directories currently installed.)
> Preparing to unpack .../linux-image-4.4.0-81-generic_4.4.0-81.104_amd64.deb
> ...
> Done.
> Unpacking linux-image-4.4.0-81-generic (4.4.0-81.104) ...
> dpkg: error processing archive
> /var/cache/apt/archives/linux-image-4.4.0-81-generic_4.4.0-81.104_amd64.deb
> (--unpack):
>  cannot copy extracted data for './boot/vmlinuz-4.4.0-81-generic' to
> '/boot/vmlinuz-4.4.0-81-generic.dpkg-new': failed to write (No space left on
> device)
> dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
> Examining /etc/kernel/postrm.d .
> run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.4.0-81-generic
> /boot/vmlinuz-4.4.0-81-generic
> run-parts: executing /etc/kernel/postrm.d/zz-update-grub 4.4.0-81-generic
> /boot/vmlinuz-4.4.0-81-generic
> Errors were encountered while processing:
>  /var/cache/apt/archives/linux-image-4.4.0-81-generic_4.4.0-81.104_amd64.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users




More information about the ubuntu-users mailing list