1

I run an Ubuntu 18.04 server which I manage via SSH. After having initiated an apt update && apt upgrade this morning I forgot about it and the shell session ended when my laptop powered down. When I tried the update again I was initially told

Unable to lock the administration directory (/var/lib/dpkg/)

etc which I dealt with using the tips provided in this AU thread. However, that still did not allow me to proceed with a system update so I rebooted the server. Following the reboot I ran the upgrade again. This time round the system went a bit further but then came back with the messages

APT had planned for dpkg to do more than it reported back (0 vs 4). Affected packages: linux-image-4.15.0-24-generic:amd64

What can I do to fully recover from these issues?

DroidOS
  • 497
  • 1
  • 8
  • 21

1 Answers1

0

I've reported it as a bug here: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1780020