I have a e2-micro instance running in Google Cloud. I can connect to it and it seems to be okay. However there are 30 updates that need to be applied. In the past, it's taken a while to apply updates, but it's always worked. Now, it tries to update google-cloud-cli from version 499 to 504 and it never completes. None of the other updates (python, php, etc) never get applied. When I try to run "apt upgrade", Debian tells me that dpkg was interrupted and that I need to manually run "dpkg --configure -a". I've done this a number of times - it tries to update google-cloud-cli, but never completes. I've tried restarting the VM, but that doesn't seem to make a difference in the update process - it still doesn't complete.
Has anyone else encountered something like this? Suggestions to fix it?
Thanks,
Bob
Could you provide more information on the following points?
Mokit,
I don't see any errors in the logs regarding the disk. The logs were the first place I looked. There is 3.2 gigabytes available out of 10 G on the drive.
I have run the apt update/upgrade commands as the super user.
Hit:1 https://packages.cloud.google.com/apt google-compute-engine-bullseye-stable InRelease
Hit:2 https://deb.debian.org/debian bullseye InRelease
Hit:3 https://deb.debian.org/debian-security bullseye-security InRelease
Hit:4 https://deb.debian.org/debian bullseye-updates InRelease
Hit:5 https://deb.debian.org/debian bullseye-backports InRelease
Hit:6 https://packages.cloud.google.com/apt cloud-sdk-bullseye InRelease
30 packages can be upgraded. Run 'apt list --upgradable' to see them.
Is there anything else I should look into?
Thanks,
Bob