0

With time running out till EOL on my Ubuntu 20.04 install on a Digital Ocean droplet, I am trying to upgrade using do-release-upgrade. This answer "Invalid package information" error when upgrading to Ubuntu 20.04 got me over the first roadblock, but then I hit another one.

I am updating over ssh.

The updater starts, and prints a few dozen lines of information, but then prints "Updating repository information" and seems to hang. I let it sit there for an hour, but nothing else apparent ever happened. When I finally Ctrl-C'd it, it asked me to terminate the screen session. The problem seems to be with this screen program combined with ssh; when I tried the upgrade in a virtual machine, it worked fine.

I've done this upgrade in the past on this droplet (18.04 to 20.04) and didn't encounter this issue.

How can I complete this upgrade?

1 Answers1

0

This did seem to be some kind of interaction between screen and being logged in via ssh.

I finally got it to work by using the Digital Ocean "recovery console"; that let me log in without ssh. Using that access method the upgrade ran just as it did on the virtual machine.

Before I did the upgrade, I restored the pre-upgrade snapshot I had taken of the droplet, because I wasn't sure what if anything had actually been done.