upgrade fails with unmet dependencies
robert
robert at redcor.ch
Sun Jun 25 16:49:35 UTC 2017
Thanks very much Karl, Colin, Ralf
On 24.06.2017 15:30, Karl Auer wrote:
> On Sat, 2017-06-24 at 15:09 +0200, robert rottermann wrote:
>> 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.
>> Can somebody give me a pointer how to fix this?
> Looking at your logs, this jumps out:
>
>> The following packages were automatically installed and are no longer
>> required:
>> [...]
>> Use 'apt autoremove' to remove them.
> So doing that would be a good idea. It might also help with this:
>
>> [...]
>> '/boot/vmlinuz-4.4.0-81-generic.dpkg-new': failed to write (No space
>> left on device)
> Means you have run out of disk space on /boot.
trying to autoremove the kernels produces the same error claiming that
dependencies are not met.
I tried to work trough: https://help.ubuntu.com/community/RemoveOldKernels
uname -r produces:
4.4.0-22-generic
however, when I try to delete one of the kernels that are listed as
autoremovable I get an error:
update-initramfs -d -k linux-image-4.4.0-57-generic
dpkg --purge linux-image-4.4.0-57-generic
dpkg: dependency problems prevent removal of linux-image-4.4.0-57-generic:
linux-image-extra-4.4.0-57-generic depends on linux-image-4.4.0-57-generic.
dpkg: error processing package linux-image-4.4.0-57-generic (--purge):
dependency problems - not removing
Errors were encountered while processing:
linux-image-4.4.0-57-generic
what can I do next?
thanks
robert
More information about the ubuntu-users
mailing list