sudo apt-get upgrade results in 404 errors for everythingApt-get failed to fetch from Ubuntu server with error code 404Can't upgrade due to 404 error“Unable to connect” error with apt-get: possible proxy?Can not install updates on ubuntu 12.04 LTS!Errors when running apt-get update?“Something wicked happened” error in apt-getWhy is medibuntu.org still offered as a package source if it has been shutdown since 2010?Failed to fetch repositories; a particular caseUnmet dependencies errorUpgrad Ubuntu-14-04 LTS to Ubuntu 16.04 LTS
Is it inappropriate for a student to attend their mentor's dissertation defense?
prove that the matrix A is diagonalizable
intersection of two sorted vectors in C++
In a Spin are Both Wings Stalled?
Fully-Firstable Anagram Sets
What's the difference between 'rename' and 'mv'?
Does casting Light, or a similar spell, have any effect when the caster is swallowed by a monster?
90's TV series where a boy goes to another dimension through portal near power lines
Is it possible to create light that imparts a greater proportion of its energy as momentum rather than heat?
Etiquette around loan refinance - decision is going to cost first broker a lot of money
What killed these X2 caps?
Were any external disk drives stacked vertically?
How to say in German "enjoying home comforts"
AES: Why is it a good practice to use only the first 16bytes of a hash for encryption?
What to put in ESTA if staying in US for a few days before going on to Canada
Should I tell management that I intend to leave due to bad software development practices?
Can I make "comment-region" comment empty lines?
Why is Collection not simply treated as Collection<?>
Anagram holiday
Why does Kotter return in Welcome Back Kotter
Why is consensus so controversial in Britain?
UK: Is there precedent for the governments e-petition site changing the direction of a government decision?
SSH "lag" in LAN on some machines, mixed distros
Withdrawals from HSA
sudo apt-get upgrade results in 404 errors for everything
Apt-get failed to fetch from Ubuntu server with error code 404Can't upgrade due to 404 error“Unable to connect” error with apt-get: possible proxy?Can not install updates on ubuntu 12.04 LTS!Errors when running apt-get update?“Something wicked happened” error in apt-getWhy is medibuntu.org still offered as a package source if it has been shutdown since 2010?Failed to fetch repositories; a particular caseUnmet dependencies errorUpgrad Ubuntu-14-04 LTS to Ubuntu 16.04 LTS
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I'm running Ubuntu 18.04.1 LTS and I'm trying to update things on my system. I've tried running:
sudo apt-get update
Which produces a few 404 errors:
sudo apt-get update
Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 http://dl.google.com/linux/chrome/deb stable Release
Hit:3 https://packages.microsoft.com/repos/vscode stable InRelease
Hit:8 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic InRelease
Hit:9 http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu bionic InRelease
Get:5 http://us.archive.ubuntu.com/ubuntu bionic InRelease [242 kB]
Get:7 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Hit:10 http://ppa.launchpad.net/webupd8team/java/ubuntu bionic InRelease
Get:11 http://us.archive.ubuntu.com/ubuntu bionic/main i386 Packages [1,007 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:21 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [295 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Ign:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Ign:47 http://security.ubuntu.com/ubuntu bionic-security/restricted arm64 Packages
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Ign:49 http://security.ubuntu.com/ubuntu bionic-security/universe arm64 Packages
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Ign:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages
Ign:78 http://security.ubuntu.com/ubuntu bionic-security/multiverse arm64 Packages
Ign:79 http://us.archive.ubuntu.com/ubuntu bionic/restricted arm64 Packages
Ign:80 http://us.archive.ubuntu.com/ubuntu bionic/universe arm64 Packages
Ign:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages
Ign:81 http://us.archive.ubuntu.com/ubuntu bionic/multiverse arm64 Packages
Ign:47 http://security.ubuntu.com/ubuntu bionic-security/restricted arm64 Packages
Ign:82 http://us.archive.ubuntu.com/ubuntu bionic-updates/main arm64 Packages
Ign:83 http://us.archive.ubuntu.com/ubuntu bionic-updates/restricted arm64 Packages
Ign:49 http://security.ubuntu.com/ubuntu bionic-security/universe arm64 Packages
Ign:84 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe arm64 Packages
Ign:85 http://us.archive.ubuntu.com/ubuntu bionic-updates/multiverse arm64 Packages
Ign:78 http://security.ubuntu.com/ubuntu bionic-security/multiverse arm64 Packages
Ign:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages
Ign:79 http://us.archive.ubuntu.com/ubuntu bionic/restricted arm64 Packages
Ign:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages
Ign:80 http://us.archive.ubuntu.com/ubuntu bionic/universe arm64 Packages
Ign:81 http://us.archive.ubuntu.com/ubuntu bionic/multiverse arm64 Packages
Ign:47 http://security.ubuntu.com/ubuntu bionic-security/restricted arm64 Packages
Ign:82 http://us.archive.ubuntu.com/ubuntu bionic-updates/main arm64 Packages
Ign:83 http://us.archive.ubuntu.com/ubuntu bionic-updates/restricted arm64 Packages
Ign:49 http://security.ubuntu.com/ubuntu bionic-security/universe arm64 Packages
Ign:84 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe arm64 Packages
Ign:85 http://us.archive.ubuntu.com/ubuntu bionic-updates/multiverse arm64 Packages
Ign:78 http://security.ubuntu.com/ubuntu bionic-security/multiverse arm64 Packages
Ign:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages
Ign:79 http://us.archive.ubuntu.com/ubuntu bionic/restricted arm64 Packages
Err:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages
404 Not Found [IP: 91.189.88.149 80]
Ign:80 http://us.archive.ubuntu.com/ubuntu bionic/universe arm64 Packages
Ign:81 http://us.archive.ubuntu.com/ubuntu bionic/multiverse arm64 Packages
Ign:47 http://security.ubuntu.com/ubuntu bionic-security/restricted arm64 Packages
Ign:82 http://us.archive.ubuntu.com/ubuntu bionic-updates/main arm64 Packages
Ign:49 http://security.ubuntu.com/ubuntu bionic-security/universe arm64 Packages
Ign:83 http://us.archive.ubuntu.com/ubuntu bionic-updates/restricted arm64 Packages
Ign:84 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe arm64 Packages
Ign:78 http://security.ubuntu.com/ubuntu bionic-security/multiverse arm64 Packages
Ign:85 http://us.archive.ubuntu.com/ubuntu bionic-updates/multiverse arm64 Packages
Err:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages
404 Not Found [IP: 91.189.91.23 80]
Ign:79 http://us.archive.ubuntu.com/ubuntu bionic/restricted arm64 Packages
Ign:80 http://us.archive.ubuntu.com/ubuntu bionic/universe arm64 Packages
Ign:81 http://us.archive.ubuntu.com/ubuntu bionic/multiverse arm64 Packages
Err:82 http://us.archive.ubuntu.com/ubuntu bionic-updates/main arm64 Packages
404 Not Found [IP: 91.189.91.23 80]
Ign:83 http://us.archive.ubuntu.com/ubuntu bionic-updates/restricted arm64 Packages
Ign:84 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe arm64 Packages
Ign:85 http://us.archive.ubuntu.com/ubuntu bionic-updates/multiverse arm64 Packages
Fetched 419 kB in 4s (104 kB/s)
Reading package lists... Done
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/bionic/main/binary-arm64/Packages 404 Not Found [IP: 91.189.91.23 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/bionic-security/main/binary-arm64/Packages 404 Not Found [IP: 91.189.88.149 80]
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/bionic-updates/main/binary-arm64/Packages 404 Not Found [IP: 91.189.91.23 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
Then sudo apt-get upgrade seems to think nothing exists:
tombot@Magma-Core-Kernel:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Also --fix-missing doesn't help. I've tried upgrading the distro with
sudo apt-get dist-upgrade
But this gives the same result as "sudo apt-get upgrade"
I'm able to ping 91.189.91.26 just fine:
ping 91.189.91.26
PING 91.189.91.26 (91.189.91.26) 56(84) bytes of data.
64 bytes from 91.189.91.26: icmp_seq=1 ttl=47 time=79.6 ms
I tried downloading a new sources.list file, but I still get:
Reading package lists... Done
E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/bionic-security/main/binary-arm64/Packages 404 Not Found [IP: 91.189.91.23 80]
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/bionic/main/binary-arm64/Packages 404 Not Found [IP: 91.189.91.26 80]
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/bionic-updates/main/binary-arm64/Packages 404 Not Found [IP: 91.189.91.26 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
Also, this is my first StackExchange post, so I hope I've done everything right with my post..
Thanks!
apt upgrade updates
New contributor
TomBot is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
|
show 7 more comments
I'm running Ubuntu 18.04.1 LTS and I'm trying to update things on my system. I've tried running:
sudo apt-get update
Which produces a few 404 errors:
sudo apt-get update
Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 http://dl.google.com/linux/chrome/deb stable Release
Hit:3 https://packages.microsoft.com/repos/vscode stable InRelease
Hit:8 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic InRelease
Hit:9 http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu bionic InRelease
Get:5 http://us.archive.ubuntu.com/ubuntu bionic InRelease [242 kB]
Get:7 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Hit:10 http://ppa.launchpad.net/webupd8team/java/ubuntu bionic InRelease
Get:11 http://us.archive.ubuntu.com/ubuntu bionic/main i386 Packages [1,007 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:21 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [295 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Ign:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Ign:47 http://security.ubuntu.com/ubuntu bionic-security/restricted arm64 Packages
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Ign:49 http://security.ubuntu.com/ubuntu bionic-security/universe arm64 Packages
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Ign:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages
Ign:78 http://security.ubuntu.com/ubuntu bionic-security/multiverse arm64 Packages
Ign:79 http://us.archive.ubuntu.com/ubuntu bionic/restricted arm64 Packages
Ign:80 http://us.archive.ubuntu.com/ubuntu bionic/universe arm64 Packages
Ign:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages
Ign:81 http://us.archive.ubuntu.com/ubuntu bionic/multiverse arm64 Packages
Ign:47 http://security.ubuntu.com/ubuntu bionic-security/restricted arm64 Packages
Ign:82 http://us.archive.ubuntu.com/ubuntu bionic-updates/main arm64 Packages
Ign:83 http://us.archive.ubuntu.com/ubuntu bionic-updates/restricted arm64 Packages
Ign:49 http://security.ubuntu.com/ubuntu bionic-security/universe arm64 Packages
Ign:84 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe arm64 Packages
Ign:85 http://us.archive.ubuntu.com/ubuntu bionic-updates/multiverse arm64 Packages
Ign:78 http://security.ubuntu.com/ubuntu bionic-security/multiverse arm64 Packages
Ign:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages
Ign:79 http://us.archive.ubuntu.com/ubuntu bionic/restricted arm64 Packages
Ign:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages
Ign:80 http://us.archive.ubuntu.com/ubuntu bionic/universe arm64 Packages
Ign:81 http://us.archive.ubuntu.com/ubuntu bionic/multiverse arm64 Packages
Ign:47 http://security.ubuntu.com/ubuntu bionic-security/restricted arm64 Packages
Ign:82 http://us.archive.ubuntu.com/ubuntu bionic-updates/main arm64 Packages
Ign:83 http://us.archive.ubuntu.com/ubuntu bionic-updates/restricted arm64 Packages
Ign:49 http://security.ubuntu.com/ubuntu bionic-security/universe arm64 Packages
Ign:84 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe arm64 Packages
Ign:85 http://us.archive.ubuntu.com/ubuntu bionic-updates/multiverse arm64 Packages
Ign:78 http://security.ubuntu.com/ubuntu bionic-security/multiverse arm64 Packages
Ign:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages
Ign:79 http://us.archive.ubuntu.com/ubuntu bionic/restricted arm64 Packages
Err:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages
404 Not Found [IP: 91.189.88.149 80]
Ign:80 http://us.archive.ubuntu.com/ubuntu bionic/universe arm64 Packages
Ign:81 http://us.archive.ubuntu.com/ubuntu bionic/multiverse arm64 Packages
Ign:47 http://security.ubuntu.com/ubuntu bionic-security/restricted arm64 Packages
Ign:82 http://us.archive.ubuntu.com/ubuntu bionic-updates/main arm64 Packages
Ign:49 http://security.ubuntu.com/ubuntu bionic-security/universe arm64 Packages
Ign:83 http://us.archive.ubuntu.com/ubuntu bionic-updates/restricted arm64 Packages
Ign:84 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe arm64 Packages
Ign:78 http://security.ubuntu.com/ubuntu bionic-security/multiverse arm64 Packages
Ign:85 http://us.archive.ubuntu.com/ubuntu bionic-updates/multiverse arm64 Packages
Err:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages
404 Not Found [IP: 91.189.91.23 80]
Ign:79 http://us.archive.ubuntu.com/ubuntu bionic/restricted arm64 Packages
Ign:80 http://us.archive.ubuntu.com/ubuntu bionic/universe arm64 Packages
Ign:81 http://us.archive.ubuntu.com/ubuntu bionic/multiverse arm64 Packages
Err:82 http://us.archive.ubuntu.com/ubuntu bionic-updates/main arm64 Packages
404 Not Found [IP: 91.189.91.23 80]
Ign:83 http://us.archive.ubuntu.com/ubuntu bionic-updates/restricted arm64 Packages
Ign:84 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe arm64 Packages
Ign:85 http://us.archive.ubuntu.com/ubuntu bionic-updates/multiverse arm64 Packages
Fetched 419 kB in 4s (104 kB/s)
Reading package lists... Done
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/bionic/main/binary-arm64/Packages 404 Not Found [IP: 91.189.91.23 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/bionic-security/main/binary-arm64/Packages 404 Not Found [IP: 91.189.88.149 80]
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/bionic-updates/main/binary-arm64/Packages 404 Not Found [IP: 91.189.91.23 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
Then sudo apt-get upgrade seems to think nothing exists:
tombot@Magma-Core-Kernel:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Also --fix-missing doesn't help. I've tried upgrading the distro with
sudo apt-get dist-upgrade
But this gives the same result as "sudo apt-get upgrade"
I'm able to ping 91.189.91.26 just fine:
ping 91.189.91.26
PING 91.189.91.26 (91.189.91.26) 56(84) bytes of data.
64 bytes from 91.189.91.26: icmp_seq=1 ttl=47 time=79.6 ms
I tried downloading a new sources.list file, but I still get:
Reading package lists... Done
E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/bionic-security/main/binary-arm64/Packages 404 Not Found [IP: 91.189.91.23 80]
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/bionic/main/binary-arm64/Packages 404 Not Found [IP: 91.189.91.26 80]
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/bionic-updates/main/binary-arm64/Packages 404 Not Found [IP: 91.189.91.26 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
Also, this is my first StackExchange post, so I hope I've done everything right with my post..
Thanks!
apt upgrade updates
New contributor
TomBot is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Have you modified/etc/apt/sources.list, or added any .list files into/etc/apt/sources.list.d?
– heynnema
1 hour ago
Yes, I tried modifying sources.list as Philippe Delteil suggested.
– TomBot
1 hour ago
It looks like you modified more that just what philippe suggested, yes? Did you make a backup of sources.list before you made any changes?
– heynnema
1 hour ago
...No ...oops. Those errors are from before I made the changes though.
– TomBot
1 hour ago
Had you made changes to sources.list BEFORE philippe's changes? What kind of processor do you have, arm64? amd64? No backup of sources.list, correct?
– heynnema
1 hour ago
|
show 7 more comments
I'm running Ubuntu 18.04.1 LTS and I'm trying to update things on my system. I've tried running:
sudo apt-get update
Which produces a few 404 errors:
sudo apt-get update
Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 http://dl.google.com/linux/chrome/deb stable Release
Hit:3 https://packages.microsoft.com/repos/vscode stable InRelease
Hit:8 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic InRelease
Hit:9 http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu bionic InRelease
Get:5 http://us.archive.ubuntu.com/ubuntu bionic InRelease [242 kB]
Get:7 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Hit:10 http://ppa.launchpad.net/webupd8team/java/ubuntu bionic InRelease
Get:11 http://us.archive.ubuntu.com/ubuntu bionic/main i386 Packages [1,007 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:21 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [295 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Ign:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Ign:47 http://security.ubuntu.com/ubuntu bionic-security/restricted arm64 Packages
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Ign:49 http://security.ubuntu.com/ubuntu bionic-security/universe arm64 Packages
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Ign:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages
Ign:78 http://security.ubuntu.com/ubuntu bionic-security/multiverse arm64 Packages
Ign:79 http://us.archive.ubuntu.com/ubuntu bionic/restricted arm64 Packages
Ign:80 http://us.archive.ubuntu.com/ubuntu bionic/universe arm64 Packages
Ign:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages
Ign:81 http://us.archive.ubuntu.com/ubuntu bionic/multiverse arm64 Packages
Ign:47 http://security.ubuntu.com/ubuntu bionic-security/restricted arm64 Packages
Ign:82 http://us.archive.ubuntu.com/ubuntu bionic-updates/main arm64 Packages
Ign:83 http://us.archive.ubuntu.com/ubuntu bionic-updates/restricted arm64 Packages
Ign:49 http://security.ubuntu.com/ubuntu bionic-security/universe arm64 Packages
Ign:84 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe arm64 Packages
Ign:85 http://us.archive.ubuntu.com/ubuntu bionic-updates/multiverse arm64 Packages
Ign:78 http://security.ubuntu.com/ubuntu bionic-security/multiverse arm64 Packages
Ign:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages
Ign:79 http://us.archive.ubuntu.com/ubuntu bionic/restricted arm64 Packages
Ign:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages
Ign:80 http://us.archive.ubuntu.com/ubuntu bionic/universe arm64 Packages
Ign:81 http://us.archive.ubuntu.com/ubuntu bionic/multiverse arm64 Packages
Ign:47 http://security.ubuntu.com/ubuntu bionic-security/restricted arm64 Packages
Ign:82 http://us.archive.ubuntu.com/ubuntu bionic-updates/main arm64 Packages
Ign:83 http://us.archive.ubuntu.com/ubuntu bionic-updates/restricted arm64 Packages
Ign:49 http://security.ubuntu.com/ubuntu bionic-security/universe arm64 Packages
Ign:84 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe arm64 Packages
Ign:85 http://us.archive.ubuntu.com/ubuntu bionic-updates/multiverse arm64 Packages
Ign:78 http://security.ubuntu.com/ubuntu bionic-security/multiverse arm64 Packages
Ign:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages
Ign:79 http://us.archive.ubuntu.com/ubuntu bionic/restricted arm64 Packages
Err:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages
404 Not Found [IP: 91.189.88.149 80]
Ign:80 http://us.archive.ubuntu.com/ubuntu bionic/universe arm64 Packages
Ign:81 http://us.archive.ubuntu.com/ubuntu bionic/multiverse arm64 Packages
Ign:47 http://security.ubuntu.com/ubuntu bionic-security/restricted arm64 Packages
Ign:82 http://us.archive.ubuntu.com/ubuntu bionic-updates/main arm64 Packages
Ign:49 http://security.ubuntu.com/ubuntu bionic-security/universe arm64 Packages
Ign:83 http://us.archive.ubuntu.com/ubuntu bionic-updates/restricted arm64 Packages
Ign:84 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe arm64 Packages
Ign:78 http://security.ubuntu.com/ubuntu bionic-security/multiverse arm64 Packages
Ign:85 http://us.archive.ubuntu.com/ubuntu bionic-updates/multiverse arm64 Packages
Err:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages
404 Not Found [IP: 91.189.91.23 80]
Ign:79 http://us.archive.ubuntu.com/ubuntu bionic/restricted arm64 Packages
Ign:80 http://us.archive.ubuntu.com/ubuntu bionic/universe arm64 Packages
Ign:81 http://us.archive.ubuntu.com/ubuntu bionic/multiverse arm64 Packages
Err:82 http://us.archive.ubuntu.com/ubuntu bionic-updates/main arm64 Packages
404 Not Found [IP: 91.189.91.23 80]
Ign:83 http://us.archive.ubuntu.com/ubuntu bionic-updates/restricted arm64 Packages
Ign:84 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe arm64 Packages
Ign:85 http://us.archive.ubuntu.com/ubuntu bionic-updates/multiverse arm64 Packages
Fetched 419 kB in 4s (104 kB/s)
Reading package lists... Done
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/bionic/main/binary-arm64/Packages 404 Not Found [IP: 91.189.91.23 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/bionic-security/main/binary-arm64/Packages 404 Not Found [IP: 91.189.88.149 80]
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/bionic-updates/main/binary-arm64/Packages 404 Not Found [IP: 91.189.91.23 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
Then sudo apt-get upgrade seems to think nothing exists:
tombot@Magma-Core-Kernel:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Also --fix-missing doesn't help. I've tried upgrading the distro with
sudo apt-get dist-upgrade
But this gives the same result as "sudo apt-get upgrade"
I'm able to ping 91.189.91.26 just fine:
ping 91.189.91.26
PING 91.189.91.26 (91.189.91.26) 56(84) bytes of data.
64 bytes from 91.189.91.26: icmp_seq=1 ttl=47 time=79.6 ms
I tried downloading a new sources.list file, but I still get:
Reading package lists... Done
E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/bionic-security/main/binary-arm64/Packages 404 Not Found [IP: 91.189.91.23 80]
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/bionic/main/binary-arm64/Packages 404 Not Found [IP: 91.189.91.26 80]
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/bionic-updates/main/binary-arm64/Packages 404 Not Found [IP: 91.189.91.26 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
Also, this is my first StackExchange post, so I hope I've done everything right with my post..
Thanks!
apt upgrade updates
New contributor
TomBot is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I'm running Ubuntu 18.04.1 LTS and I'm trying to update things on my system. I've tried running:
sudo apt-get update
Which produces a few 404 errors:
sudo apt-get update
Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 http://dl.google.com/linux/chrome/deb stable Release
Hit:3 https://packages.microsoft.com/repos/vscode stable InRelease
Hit:8 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic InRelease
Hit:9 http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu bionic InRelease
Get:5 http://us.archive.ubuntu.com/ubuntu bionic InRelease [242 kB]
Get:7 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Hit:10 http://ppa.launchpad.net/webupd8team/java/ubuntu bionic InRelease
Get:11 http://us.archive.ubuntu.com/ubuntu bionic/main i386 Packages [1,007 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:21 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [295 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages [212 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Ign:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Ign:47 http://security.ubuntu.com/ubuntu bionic-security/restricted arm64 Packages
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Ign:49 http://security.ubuntu.com/ubuntu bionic-security/universe arm64 Packages
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages [975 kB]
Ign:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages
Ign:78 http://security.ubuntu.com/ubuntu bionic-security/multiverse arm64 Packages
Ign:79 http://us.archive.ubuntu.com/ubuntu bionic/restricted arm64 Packages
Ign:80 http://us.archive.ubuntu.com/ubuntu bionic/universe arm64 Packages
Ign:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages
Ign:81 http://us.archive.ubuntu.com/ubuntu bionic/multiverse arm64 Packages
Ign:47 http://security.ubuntu.com/ubuntu bionic-security/restricted arm64 Packages
Ign:82 http://us.archive.ubuntu.com/ubuntu bionic-updates/main arm64 Packages
Ign:83 http://us.archive.ubuntu.com/ubuntu bionic-updates/restricted arm64 Packages
Ign:49 http://security.ubuntu.com/ubuntu bionic-security/universe arm64 Packages
Ign:84 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe arm64 Packages
Ign:85 http://us.archive.ubuntu.com/ubuntu bionic-updates/multiverse arm64 Packages
Ign:78 http://security.ubuntu.com/ubuntu bionic-security/multiverse arm64 Packages
Ign:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages
Ign:79 http://us.archive.ubuntu.com/ubuntu bionic/restricted arm64 Packages
Ign:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages
Ign:80 http://us.archive.ubuntu.com/ubuntu bionic/universe arm64 Packages
Ign:81 http://us.archive.ubuntu.com/ubuntu bionic/multiverse arm64 Packages
Ign:47 http://security.ubuntu.com/ubuntu bionic-security/restricted arm64 Packages
Ign:82 http://us.archive.ubuntu.com/ubuntu bionic-updates/main arm64 Packages
Ign:83 http://us.archive.ubuntu.com/ubuntu bionic-updates/restricted arm64 Packages
Ign:49 http://security.ubuntu.com/ubuntu bionic-security/universe arm64 Packages
Ign:84 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe arm64 Packages
Ign:85 http://us.archive.ubuntu.com/ubuntu bionic-updates/multiverse arm64 Packages
Ign:78 http://security.ubuntu.com/ubuntu bionic-security/multiverse arm64 Packages
Ign:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages
Ign:79 http://us.archive.ubuntu.com/ubuntu bionic/restricted arm64 Packages
Err:22 http://security.ubuntu.com/ubuntu bionic-security/main arm64 Packages
404 Not Found [IP: 91.189.88.149 80]
Ign:80 http://us.archive.ubuntu.com/ubuntu bionic/universe arm64 Packages
Ign:81 http://us.archive.ubuntu.com/ubuntu bionic/multiverse arm64 Packages
Ign:47 http://security.ubuntu.com/ubuntu bionic-security/restricted arm64 Packages
Ign:82 http://us.archive.ubuntu.com/ubuntu bionic-updates/main arm64 Packages
Ign:49 http://security.ubuntu.com/ubuntu bionic-security/universe arm64 Packages
Ign:83 http://us.archive.ubuntu.com/ubuntu bionic-updates/restricted arm64 Packages
Ign:84 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe arm64 Packages
Ign:78 http://security.ubuntu.com/ubuntu bionic-security/multiverse arm64 Packages
Ign:85 http://us.archive.ubuntu.com/ubuntu bionic-updates/multiverse arm64 Packages
Err:12 http://us.archive.ubuntu.com/ubuntu bionic/main arm64 Packages
404 Not Found [IP: 91.189.91.23 80]
Ign:79 http://us.archive.ubuntu.com/ubuntu bionic/restricted arm64 Packages
Ign:80 http://us.archive.ubuntu.com/ubuntu bionic/universe arm64 Packages
Ign:81 http://us.archive.ubuntu.com/ubuntu bionic/multiverse arm64 Packages
Err:82 http://us.archive.ubuntu.com/ubuntu bionic-updates/main arm64 Packages
404 Not Found [IP: 91.189.91.23 80]
Ign:83 http://us.archive.ubuntu.com/ubuntu bionic-updates/restricted arm64 Packages
Ign:84 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe arm64 Packages
Ign:85 http://us.archive.ubuntu.com/ubuntu bionic-updates/multiverse arm64 Packages
Fetched 419 kB in 4s (104 kB/s)
Reading package lists... Done
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/bionic/main/binary-arm64/Packages 404 Not Found [IP: 91.189.91.23 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/bionic-security/main/binary-arm64/Packages 404 Not Found [IP: 91.189.88.149 80]
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/bionic-updates/main/binary-arm64/Packages 404 Not Found [IP: 91.189.91.23 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
Then sudo apt-get upgrade seems to think nothing exists:
tombot@Magma-Core-Kernel:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Also --fix-missing doesn't help. I've tried upgrading the distro with
sudo apt-get dist-upgrade
But this gives the same result as "sudo apt-get upgrade"
I'm able to ping 91.189.91.26 just fine:
ping 91.189.91.26
PING 91.189.91.26 (91.189.91.26) 56(84) bytes of data.
64 bytes from 91.189.91.26: icmp_seq=1 ttl=47 time=79.6 ms
I tried downloading a new sources.list file, but I still get:
Reading package lists... Done
E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/bionic-security/main/binary-arm64/Packages 404 Not Found [IP: 91.189.91.23 80]
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/bionic/main/binary-arm64/Packages 404 Not Found [IP: 91.189.91.26 80]
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/bionic-updates/main/binary-arm64/Packages 404 Not Found [IP: 91.189.91.26 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
Also, this is my first StackExchange post, so I hope I've done everything right with my post..
Thanks!
apt upgrade updates
apt upgrade updates
New contributor
TomBot is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
TomBot is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
edited 49 mins ago
TomBot
New contributor
TomBot is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 3 hours ago
TomBotTomBot
62
62
New contributor
TomBot is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
TomBot is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
TomBot is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Have you modified/etc/apt/sources.list, or added any .list files into/etc/apt/sources.list.d?
– heynnema
1 hour ago
Yes, I tried modifying sources.list as Philippe Delteil suggested.
– TomBot
1 hour ago
It looks like you modified more that just what philippe suggested, yes? Did you make a backup of sources.list before you made any changes?
– heynnema
1 hour ago
...No ...oops. Those errors are from before I made the changes though.
– TomBot
1 hour ago
Had you made changes to sources.list BEFORE philippe's changes? What kind of processor do you have, arm64? amd64? No backup of sources.list, correct?
– heynnema
1 hour ago
|
show 7 more comments
Have you modified/etc/apt/sources.list, or added any .list files into/etc/apt/sources.list.d?
– heynnema
1 hour ago
Yes, I tried modifying sources.list as Philippe Delteil suggested.
– TomBot
1 hour ago
It looks like you modified more that just what philippe suggested, yes? Did you make a backup of sources.list before you made any changes?
– heynnema
1 hour ago
...No ...oops. Those errors are from before I made the changes though.
– TomBot
1 hour ago
Had you made changes to sources.list BEFORE philippe's changes? What kind of processor do you have, arm64? amd64? No backup of sources.list, correct?
– heynnema
1 hour ago
Have you modified
/etc/apt/sources.list, or added any .list files into /etc/apt/sources.list.d?– heynnema
1 hour ago
Have you modified
/etc/apt/sources.list, or added any .list files into /etc/apt/sources.list.d?– heynnema
1 hour ago
Yes, I tried modifying sources.list as Philippe Delteil suggested.
– TomBot
1 hour ago
Yes, I tried modifying sources.list as Philippe Delteil suggested.
– TomBot
1 hour ago
It looks like you modified more that just what philippe suggested, yes? Did you make a backup of sources.list before you made any changes?
– heynnema
1 hour ago
It looks like you modified more that just what philippe suggested, yes? Did you make a backup of sources.list before you made any changes?
– heynnema
1 hour ago
...No ...oops. Those errors are from before I made the changes though.
– TomBot
1 hour ago
...No ...oops. Those errors are from before I made the changes though.
– TomBot
1 hour ago
Had you made changes to sources.list BEFORE philippe's changes? What kind of processor do you have, arm64? amd64? No backup of sources.list, correct?
– heynnema
1 hour ago
Had you made changes to sources.list BEFORE philippe's changes? What kind of processor do you have, arm64? amd64? No backup of sources.list, correct?
– heynnema
1 hour ago
|
show 7 more comments
2 Answers
2
active
oldest
votes
The problem you're facing is basically a problem to reach the IP 91.189.91.26, try restarting your Internet connection and check if you can ping the IP address using this command:
ping 91.189.91.26
In my case it works correctly.
I nothing works for you try changing the mirror your using to get your updates:
Open your sources.list file using your favorite text editor, in my case nano.
sudo nano /etc/apt/sources.list
Locate the text
http://us.archive.ubuntu.com/ubuntu
and replace it with
http://archive.ubuntu.com/ubuntu
And then run:
sudo apt update && sudo apt upgrade
If it still doesn't work, you might try a distribution update:
sudo apt-get dist-upgrade
If still not working, this is what I've found here
Run the following command to update archive.ubuntu.com and
security.ubuntu.com package repository URLs with
old-releases.ubuntu.com. Since the normal Ubuntu releases link to the
archive.XXX and security.XX URLs, the support will be removed after
their live cycle of 9 months and respective repositories moved to
old-releases.….
sudo sed -i -e 's/archive.ubuntu.com|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list
Good luck.
.
I was able to ping 91.189.91.26 just fine. I changed the mirror as you suggested, but I'm still producing 404 errors.
– TomBot
3 hours ago
updated the answer.
– Philippe Delteil
2 hours ago
I would like to upgrade from 18.04.1 to 18.04.2 to fix these problems, but that's not working because my repository is old? Seems like a catch 22, or rather, a catch 404 in this case.
– TomBot
2 hours ago
The last solution is your only chance by now.
– Philippe Delteil
2 hours ago
Sorry, I get: Err:2 us.old-releases.ubuntu.com/ubuntu bionic InRelease Could not resolve 'us.old-releases.ubuntu.com' E: The repository 'old-releases.ubuntu.com/ubuntu bionic-security Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.
– TomBot
2 hours ago
|
show 3 more comments
Partial answer...
From the comments...
The user is having problems updating their software repositories.
/etc/apt/sources.list and /etc/apt/sources.list.d/*.list files have been modified. They have references to a non-existent arm64 repo.
/etc/apt/sources.list has been replaced with a standard 18.04 version. The errors are decreased.
We're searching /etc/apt/sources.list.d/*.list files for further errors now.
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
TomBot is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1131280%2fsudo-apt-get-upgrade-results-in-404-errors-for-everything%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
The problem you're facing is basically a problem to reach the IP 91.189.91.26, try restarting your Internet connection and check if you can ping the IP address using this command:
ping 91.189.91.26
In my case it works correctly.
I nothing works for you try changing the mirror your using to get your updates:
Open your sources.list file using your favorite text editor, in my case nano.
sudo nano /etc/apt/sources.list
Locate the text
http://us.archive.ubuntu.com/ubuntu
and replace it with
http://archive.ubuntu.com/ubuntu
And then run:
sudo apt update && sudo apt upgrade
If it still doesn't work, you might try a distribution update:
sudo apt-get dist-upgrade
If still not working, this is what I've found here
Run the following command to update archive.ubuntu.com and
security.ubuntu.com package repository URLs with
old-releases.ubuntu.com. Since the normal Ubuntu releases link to the
archive.XXX and security.XX URLs, the support will be removed after
their live cycle of 9 months and respective repositories moved to
old-releases.….
sudo sed -i -e 's/archive.ubuntu.com|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list
Good luck.
.
I was able to ping 91.189.91.26 just fine. I changed the mirror as you suggested, but I'm still producing 404 errors.
– TomBot
3 hours ago
updated the answer.
– Philippe Delteil
2 hours ago
I would like to upgrade from 18.04.1 to 18.04.2 to fix these problems, but that's not working because my repository is old? Seems like a catch 22, or rather, a catch 404 in this case.
– TomBot
2 hours ago
The last solution is your only chance by now.
– Philippe Delteil
2 hours ago
Sorry, I get: Err:2 us.old-releases.ubuntu.com/ubuntu bionic InRelease Could not resolve 'us.old-releases.ubuntu.com' E: The repository 'old-releases.ubuntu.com/ubuntu bionic-security Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.
– TomBot
2 hours ago
|
show 3 more comments
The problem you're facing is basically a problem to reach the IP 91.189.91.26, try restarting your Internet connection and check if you can ping the IP address using this command:
ping 91.189.91.26
In my case it works correctly.
I nothing works for you try changing the mirror your using to get your updates:
Open your sources.list file using your favorite text editor, in my case nano.
sudo nano /etc/apt/sources.list
Locate the text
http://us.archive.ubuntu.com/ubuntu
and replace it with
http://archive.ubuntu.com/ubuntu
And then run:
sudo apt update && sudo apt upgrade
If it still doesn't work, you might try a distribution update:
sudo apt-get dist-upgrade
If still not working, this is what I've found here
Run the following command to update archive.ubuntu.com and
security.ubuntu.com package repository URLs with
old-releases.ubuntu.com. Since the normal Ubuntu releases link to the
archive.XXX and security.XX URLs, the support will be removed after
their live cycle of 9 months and respective repositories moved to
old-releases.….
sudo sed -i -e 's/archive.ubuntu.com|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list
Good luck.
.
I was able to ping 91.189.91.26 just fine. I changed the mirror as you suggested, but I'm still producing 404 errors.
– TomBot
3 hours ago
updated the answer.
– Philippe Delteil
2 hours ago
I would like to upgrade from 18.04.1 to 18.04.2 to fix these problems, but that's not working because my repository is old? Seems like a catch 22, or rather, a catch 404 in this case.
– TomBot
2 hours ago
The last solution is your only chance by now.
– Philippe Delteil
2 hours ago
Sorry, I get: Err:2 us.old-releases.ubuntu.com/ubuntu bionic InRelease Could not resolve 'us.old-releases.ubuntu.com' E: The repository 'old-releases.ubuntu.com/ubuntu bionic-security Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.
– TomBot
2 hours ago
|
show 3 more comments
The problem you're facing is basically a problem to reach the IP 91.189.91.26, try restarting your Internet connection and check if you can ping the IP address using this command:
ping 91.189.91.26
In my case it works correctly.
I nothing works for you try changing the mirror your using to get your updates:
Open your sources.list file using your favorite text editor, in my case nano.
sudo nano /etc/apt/sources.list
Locate the text
http://us.archive.ubuntu.com/ubuntu
and replace it with
http://archive.ubuntu.com/ubuntu
And then run:
sudo apt update && sudo apt upgrade
If it still doesn't work, you might try a distribution update:
sudo apt-get dist-upgrade
If still not working, this is what I've found here
Run the following command to update archive.ubuntu.com and
security.ubuntu.com package repository URLs with
old-releases.ubuntu.com. Since the normal Ubuntu releases link to the
archive.XXX and security.XX URLs, the support will be removed after
their live cycle of 9 months and respective repositories moved to
old-releases.….
sudo sed -i -e 's/archive.ubuntu.com|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list
Good luck.
.
The problem you're facing is basically a problem to reach the IP 91.189.91.26, try restarting your Internet connection and check if you can ping the IP address using this command:
ping 91.189.91.26
In my case it works correctly.
I nothing works for you try changing the mirror your using to get your updates:
Open your sources.list file using your favorite text editor, in my case nano.
sudo nano /etc/apt/sources.list
Locate the text
http://us.archive.ubuntu.com/ubuntu
and replace it with
http://archive.ubuntu.com/ubuntu
And then run:
sudo apt update && sudo apt upgrade
If it still doesn't work, you might try a distribution update:
sudo apt-get dist-upgrade
If still not working, this is what I've found here
Run the following command to update archive.ubuntu.com and
security.ubuntu.com package repository URLs with
old-releases.ubuntu.com. Since the normal Ubuntu releases link to the
archive.XXX and security.XX URLs, the support will be removed after
their live cycle of 9 months and respective repositories moved to
old-releases.….
sudo sed -i -e 's/archive.ubuntu.com|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list
Good luck.
.
edited 2 hours ago
answered 3 hours ago
Philippe DelteilPhilippe Delteil
6081522
6081522
I was able to ping 91.189.91.26 just fine. I changed the mirror as you suggested, but I'm still producing 404 errors.
– TomBot
3 hours ago
updated the answer.
– Philippe Delteil
2 hours ago
I would like to upgrade from 18.04.1 to 18.04.2 to fix these problems, but that's not working because my repository is old? Seems like a catch 22, or rather, a catch 404 in this case.
– TomBot
2 hours ago
The last solution is your only chance by now.
– Philippe Delteil
2 hours ago
Sorry, I get: Err:2 us.old-releases.ubuntu.com/ubuntu bionic InRelease Could not resolve 'us.old-releases.ubuntu.com' E: The repository 'old-releases.ubuntu.com/ubuntu bionic-security Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.
– TomBot
2 hours ago
|
show 3 more comments
I was able to ping 91.189.91.26 just fine. I changed the mirror as you suggested, but I'm still producing 404 errors.
– TomBot
3 hours ago
updated the answer.
– Philippe Delteil
2 hours ago
I would like to upgrade from 18.04.1 to 18.04.2 to fix these problems, but that's not working because my repository is old? Seems like a catch 22, or rather, a catch 404 in this case.
– TomBot
2 hours ago
The last solution is your only chance by now.
– Philippe Delteil
2 hours ago
Sorry, I get: Err:2 us.old-releases.ubuntu.com/ubuntu bionic InRelease Could not resolve 'us.old-releases.ubuntu.com' E: The repository 'old-releases.ubuntu.com/ubuntu bionic-security Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.
– TomBot
2 hours ago
I was able to ping 91.189.91.26 just fine. I changed the mirror as you suggested, but I'm still producing 404 errors.
– TomBot
3 hours ago
I was able to ping 91.189.91.26 just fine. I changed the mirror as you suggested, but I'm still producing 404 errors.
– TomBot
3 hours ago
updated the answer.
– Philippe Delteil
2 hours ago
updated the answer.
– Philippe Delteil
2 hours ago
I would like to upgrade from 18.04.1 to 18.04.2 to fix these problems, but that's not working because my repository is old? Seems like a catch 22, or rather, a catch 404 in this case.
– TomBot
2 hours ago
I would like to upgrade from 18.04.1 to 18.04.2 to fix these problems, but that's not working because my repository is old? Seems like a catch 22, or rather, a catch 404 in this case.
– TomBot
2 hours ago
The last solution is your only chance by now.
– Philippe Delteil
2 hours ago
The last solution is your only chance by now.
– Philippe Delteil
2 hours ago
Sorry, I get: Err:2 us.old-releases.ubuntu.com/ubuntu bionic InRelease Could not resolve 'us.old-releases.ubuntu.com' E: The repository 'old-releases.ubuntu.com/ubuntu bionic-security Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.
– TomBot
2 hours ago
Sorry, I get: Err:2 us.old-releases.ubuntu.com/ubuntu bionic InRelease Could not resolve 'us.old-releases.ubuntu.com' E: The repository 'old-releases.ubuntu.com/ubuntu bionic-security Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.
– TomBot
2 hours ago
|
show 3 more comments
Partial answer...
From the comments...
The user is having problems updating their software repositories.
/etc/apt/sources.list and /etc/apt/sources.list.d/*.list files have been modified. They have references to a non-existent arm64 repo.
/etc/apt/sources.list has been replaced with a standard 18.04 version. The errors are decreased.
We're searching /etc/apt/sources.list.d/*.list files for further errors now.
add a comment |
Partial answer...
From the comments...
The user is having problems updating their software repositories.
/etc/apt/sources.list and /etc/apt/sources.list.d/*.list files have been modified. They have references to a non-existent arm64 repo.
/etc/apt/sources.list has been replaced with a standard 18.04 version. The errors are decreased.
We're searching /etc/apt/sources.list.d/*.list files for further errors now.
add a comment |
Partial answer...
From the comments...
The user is having problems updating their software repositories.
/etc/apt/sources.list and /etc/apt/sources.list.d/*.list files have been modified. They have references to a non-existent arm64 repo.
/etc/apt/sources.list has been replaced with a standard 18.04 version. The errors are decreased.
We're searching /etc/apt/sources.list.d/*.list files for further errors now.
Partial answer...
From the comments...
The user is having problems updating their software repositories.
/etc/apt/sources.list and /etc/apt/sources.list.d/*.list files have been modified. They have references to a non-existent arm64 repo.
/etc/apt/sources.list has been replaced with a standard 18.04 version. The errors are decreased.
We're searching /etc/apt/sources.list.d/*.list files for further errors now.
answered 38 mins ago
heynnemaheynnema
21.3k22360
21.3k22360
add a comment |
add a comment |
TomBot is a new contributor. Be nice, and check out our Code of Conduct.
TomBot is a new contributor. Be nice, and check out our Code of Conduct.
TomBot is a new contributor. Be nice, and check out our Code of Conduct.
TomBot is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1131280%2fsudo-apt-get-upgrade-results-in-404-errors-for-everything%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Have you modified
/etc/apt/sources.list, or added any .list files into/etc/apt/sources.list.d?– heynnema
1 hour ago
Yes, I tried modifying sources.list as Philippe Delteil suggested.
– TomBot
1 hour ago
It looks like you modified more that just what philippe suggested, yes? Did you make a backup of sources.list before you made any changes?
– heynnema
1 hour ago
...No ...oops. Those errors are from before I made the changes though.
– TomBot
1 hour ago
Had you made changes to sources.list BEFORE philippe's changes? What kind of processor do you have, arm64? amd64? No backup of sources.list, correct?
– heynnema
1 hour ago