I’ve been on 20.4.6 for a long time and I decided to update to Ubuntu 22, however when I ran
sudo apt update
as first step I get this:
Hit:1 https://dl.yarnpkg.com/debian stable InRelease
Get:2 https://deb.nodesource.com/node_10.x focal InRelease [4,583 B]
Hit:3 https://repos.insights.digitalocean.com/apt/do-agent main InRelease
Hit:4 https://repos-droplet.digitalocean.com/apt/droplet-agent main InRelease
Hit:5 http://nginx.org/packages/mainline/ubuntu focal InRelease
Hit:6 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:7 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:8 http://archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:9 http://archive.ubuntu.com/ubuntu focal-security InRelease
Err:10 http://repo.ajenti.org/ng/debian main InRelease
Could not connect to repo.ajenti.org:80 (109.239.49.179), connection timed out
Err:11 http://repo.ajenti.org/debian main InRelease
Unable to connect to repo.ajenti.org:http:
Fetched 4,583 B in 30s (150 B/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
W: Failed to fetch http://repo.ajenti.org/ng/debian/dists/main/InRelease Could not connect to repo.ajenti.org:80 (109.239.49.179), connection timed out
W: Failed to fetch http://repo.ajenti.org/debian/dists/main/InRelease Unable to connect to repo.ajenti.org:http:
W: Some index files failed to download. They have been ignored, or old ones used instead.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi there,
Looks like the Ajenti repo is timing out and blocking your apt update
.
If you’re not using Ajenti anymore, you can remove those repo entries from /etc/apt/sources.list
or from any .list
files in /etc/apt/sources.list.d/
.
Then run:
sudo apt update
again and you should be good to proceed with the upgrade.
- Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.