Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

I’m attempting to upgrade my droplet from Ubuntu 20.04.6 to 22.04.5.
Running do-release-upgrade told me that I needed to install all available updates, so I ran sudo apt upgrade.
Unfortunately it fails with the following:
Err:4 https://repos-droplet.digitalocean.com/apt/droplet-agent main/main amd64 droplet-agent amd64 1.2.4
File has unexpected size (2287354 != 2287284). Mirror sync in progress? [IP: 2606:4700::6813:ae44 443]
Hashes of expected file:
- SHA512:555cafa182619a2165febc85c4345577c444fd8fcc5bcc76376eed398e5c2878abe804878f775e685c48fb225871a63450ec2168813ffb1eddc41e06db56ab2f
- SHA256:08bfd62e3ac59d46dd9a2bbb75a62ec8161cc819bc3a322f09bc753148f24ea2
- SHA1:652827bb411bab6435fb7530dcab54a9ec7a1c53 [weak]
- MD5Sum:668f6fd7160aa8511bdde67633d2c442 [weak]
- Filesize:2287284 [weak]
Get:5 http://mirrors.digitalocean.com/ubuntu focal-updates/main amd64 libnss-systemd amd64 245.4-4ubuntu3.24 [95.8 kB]
Get:6 http://mirrors.digitalocean.com/ubuntu focal-updates/main amd64 udev amd64 245.4-4ubuntu3.24 [1366 kB]
Get:7 https://repos-droplet.digitalocean.com/apt/droplet-agent main/main amd64 droplet-agent-keyring amd64 2.0.0 [2326 B]
Err:7 https://repos-droplet.digitalocean.com/apt/droplet-agent main/main amd64 droplet-agent-keyring amd64 2.0.0
File has unexpected size (3390 != 2326). Mirror sync in progress? [IP: 2606:4700::6813:ae44 443]
Hashes of expected file:
- SHA512:594709a0de03e0623447741b35ad81448738089adcc3624367a87b8d03558b3dd1b883a528db1ad1d71ef3bba857fbd47ac7974e436238af9200590e9ba634bf
- SHA256:c7657c63cd2486c9c1861ee343cdcfa8b578fe305980af207cf2420e3f4278de
- SHA1:2970942fbba624c260f8ae7c0a19a0b24ddffe5e [weak]
- MD5Sum:ace3ee12f96b42fb874eeb79bd504082 [weak]
- Filesize:2326 [weak]
Running sudo apt-get update failed as well, with a different error for the same package:
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://repos-droplet.digitalocean.com/apt/droplet-agent main InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 35696F43FC7DB4C2
W: Failed to fetch https://repos-droplet.digitalocean.com/apt/droplet-agent/dists/main/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 35696F43FC7DB4C2
I attempted to get the public key with both sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 35696F43FC7DB4C2 and sudo gpg --homedir /tmp --keyserver keyserver.ubuntu.com --recv-keys 35696F43FC7DB4C2.
They each appear to work, but I’m still getting the same errors from above.
Any help would be appreciated, thanks!
384d3f11289345379905a243f7b817
IsaacMvd
Ervan Agus
Teckno
dc1bce8262314f84b368813178d9e4
gerard
gerard
Stan Flint
Stan Flint