sudo apt-get upgrade results in 404 errors for everything





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







1















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!










share|improve this question

























  • Have you modified /etc/apt/sources.list, or added any .list files into /etc/apt/sources.list.d?

    – heynnema
    Apr 4 at 21:05











  • Yes, I tried modifying sources.list as Philippe Delteil suggested.

    – TomBot
    Apr 4 at 21:35











  • 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
    Apr 4 at 21:40











  • ...No ...oops. Those errors are from before I made the changes though.

    – TomBot
    Apr 4 at 21:42











  • 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
    Apr 4 at 21:46


















1















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!










share|improve this question

























  • Have you modified /etc/apt/sources.list, or added any .list files into /etc/apt/sources.list.d?

    – heynnema
    Apr 4 at 21:05











  • Yes, I tried modifying sources.list as Philippe Delteil suggested.

    – TomBot
    Apr 4 at 21:35











  • 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
    Apr 4 at 21:40











  • ...No ...oops. Those errors are from before I made the changes though.

    – TomBot
    Apr 4 at 21:42











  • 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
    Apr 4 at 21:46














1












1








1








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!










share|improve this question
















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 4 at 22:14







TomBot

















asked Apr 4 at 19:36









TomBotTomBot

84




84













  • Have you modified /etc/apt/sources.list, or added any .list files into /etc/apt/sources.list.d?

    – heynnema
    Apr 4 at 21:05











  • Yes, I tried modifying sources.list as Philippe Delteil suggested.

    – TomBot
    Apr 4 at 21:35











  • 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
    Apr 4 at 21:40











  • ...No ...oops. Those errors are from before I made the changes though.

    – TomBot
    Apr 4 at 21:42











  • 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
    Apr 4 at 21:46



















  • Have you modified /etc/apt/sources.list, or added any .list files into /etc/apt/sources.list.d?

    – heynnema
    Apr 4 at 21:05











  • Yes, I tried modifying sources.list as Philippe Delteil suggested.

    – TomBot
    Apr 4 at 21:35











  • 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
    Apr 4 at 21:40











  • ...No ...oops. Those errors are from before I made the changes though.

    – TomBot
    Apr 4 at 21:42











  • 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
    Apr 4 at 21:46

















Have you modified /etc/apt/sources.list, or added any .list files into /etc/apt/sources.list.d?

– heynnema
Apr 4 at 21:05





Have you modified /etc/apt/sources.list, or added any .list files into /etc/apt/sources.list.d?

– heynnema
Apr 4 at 21:05













Yes, I tried modifying sources.list as Philippe Delteil suggested.

– TomBot
Apr 4 at 21:35





Yes, I tried modifying sources.list as Philippe Delteil suggested.

– TomBot
Apr 4 at 21:35













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
Apr 4 at 21:40





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
Apr 4 at 21:40













...No ...oops. Those errors are from before I made the changes though.

– TomBot
Apr 4 at 21:42





...No ...oops. Those errors are from before I made the changes though.

– TomBot
Apr 4 at 21:42













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
Apr 4 at 21:46





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
Apr 4 at 21:46










2 Answers
2






active

oldest

votes


















0














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 "binary-arm64" errors now.



Update #1:



The new /etc/apt/sources.list has some wrong stuff. Do these to fix it...



sudo chown root:root /etc/apt/sources.list



sudo chmod 644 /etc/apt/sources.list



Then lets do a gross search for arm64...



sudo grep -r arm64 /etc/apt



Update #2:



Ubuntu was reinstalled, and everything is working fine again, including Virtualbox.






share|improve this answer


























  • Somehow... still no results from grep.

    – TomBot
    Apr 4 at 23:39











  • @TomBot Well, we've gotten rid of most of your errors, but these last 4 have me stumped. Somewhere it's finding "binary-arm64", but it's not in the normal places. So who knows where it's hiding. You might just have to reinstall Ubuntu to undo all of the changes in your system.

    – heynnema
    Apr 5 at 0:10











  • Yeah, I'm thinking of just reinstalling Ubuntu. Thanks for all the help! Should I change the status of this post somehow?

    – TomBot
    Apr 5 at 0:34













  • @TomBot lets wait until after you've reinstalled and got it working, then I'll update my answer.

    – heynnema
    Apr 5 at 2:30











  • A fresh install did the trick. Everything is working now. I'm able to install VirtualBox now, which is what I intended to do in the first place.. Thanks.

    – TomBot
    Apr 5 at 3:28



















0














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.



.






share|improve this answer


























  • 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
    Apr 4 at 19:59











  • updated the answer.

    – Philippe Delteil
    Apr 4 at 20:10











  • 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
    Apr 4 at 20:42













  • The last solution is your only chance by now.

    – Philippe Delteil
    Apr 4 at 20:45











  • 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
    Apr 4 at 20:50














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
});


}
});














draft saved

draft discarded


















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









0














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 "binary-arm64" errors now.



Update #1:



The new /etc/apt/sources.list has some wrong stuff. Do these to fix it...



sudo chown root:root /etc/apt/sources.list



sudo chmod 644 /etc/apt/sources.list



Then lets do a gross search for arm64...



sudo grep -r arm64 /etc/apt



Update #2:



Ubuntu was reinstalled, and everything is working fine again, including Virtualbox.






share|improve this answer


























  • Somehow... still no results from grep.

    – TomBot
    Apr 4 at 23:39











  • @TomBot Well, we've gotten rid of most of your errors, but these last 4 have me stumped. Somewhere it's finding "binary-arm64", but it's not in the normal places. So who knows where it's hiding. You might just have to reinstall Ubuntu to undo all of the changes in your system.

    – heynnema
    Apr 5 at 0:10











  • Yeah, I'm thinking of just reinstalling Ubuntu. Thanks for all the help! Should I change the status of this post somehow?

    – TomBot
    Apr 5 at 0:34













  • @TomBot lets wait until after you've reinstalled and got it working, then I'll update my answer.

    – heynnema
    Apr 5 at 2:30











  • A fresh install did the trick. Everything is working now. I'm able to install VirtualBox now, which is what I intended to do in the first place.. Thanks.

    – TomBot
    Apr 5 at 3:28
















0














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 "binary-arm64" errors now.



Update #1:



The new /etc/apt/sources.list has some wrong stuff. Do these to fix it...



sudo chown root:root /etc/apt/sources.list



sudo chmod 644 /etc/apt/sources.list



Then lets do a gross search for arm64...



sudo grep -r arm64 /etc/apt



Update #2:



Ubuntu was reinstalled, and everything is working fine again, including Virtualbox.






share|improve this answer


























  • Somehow... still no results from grep.

    – TomBot
    Apr 4 at 23:39











  • @TomBot Well, we've gotten rid of most of your errors, but these last 4 have me stumped. Somewhere it's finding "binary-arm64", but it's not in the normal places. So who knows where it's hiding. You might just have to reinstall Ubuntu to undo all of the changes in your system.

    – heynnema
    Apr 5 at 0:10











  • Yeah, I'm thinking of just reinstalling Ubuntu. Thanks for all the help! Should I change the status of this post somehow?

    – TomBot
    Apr 5 at 0:34













  • @TomBot lets wait until after you've reinstalled and got it working, then I'll update my answer.

    – heynnema
    Apr 5 at 2:30











  • A fresh install did the trick. Everything is working now. I'm able to install VirtualBox now, which is what I intended to do in the first place.. Thanks.

    – TomBot
    Apr 5 at 3:28














0












0








0







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 "binary-arm64" errors now.



Update #1:



The new /etc/apt/sources.list has some wrong stuff. Do these to fix it...



sudo chown root:root /etc/apt/sources.list



sudo chmod 644 /etc/apt/sources.list



Then lets do a gross search for arm64...



sudo grep -r arm64 /etc/apt



Update #2:



Ubuntu was reinstalled, and everything is working fine again, including Virtualbox.






share|improve this answer















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 "binary-arm64" errors now.



Update #1:



The new /etc/apt/sources.list has some wrong stuff. Do these to fix it...



sudo chown root:root /etc/apt/sources.list



sudo chmod 644 /etc/apt/sources.list



Then lets do a gross search for arm64...



sudo grep -r arm64 /etc/apt



Update #2:



Ubuntu was reinstalled, and everything is working fine again, including Virtualbox.







share|improve this answer














share|improve this answer



share|improve this answer








edited Apr 5 at 12:33

























answered Apr 4 at 22:25









heynnemaheynnema

21.9k32361




21.9k32361













  • Somehow... still no results from grep.

    – TomBot
    Apr 4 at 23:39











  • @TomBot Well, we've gotten rid of most of your errors, but these last 4 have me stumped. Somewhere it's finding "binary-arm64", but it's not in the normal places. So who knows where it's hiding. You might just have to reinstall Ubuntu to undo all of the changes in your system.

    – heynnema
    Apr 5 at 0:10











  • Yeah, I'm thinking of just reinstalling Ubuntu. Thanks for all the help! Should I change the status of this post somehow?

    – TomBot
    Apr 5 at 0:34













  • @TomBot lets wait until after you've reinstalled and got it working, then I'll update my answer.

    – heynnema
    Apr 5 at 2:30











  • A fresh install did the trick. Everything is working now. I'm able to install VirtualBox now, which is what I intended to do in the first place.. Thanks.

    – TomBot
    Apr 5 at 3:28



















  • Somehow... still no results from grep.

    – TomBot
    Apr 4 at 23:39











  • @TomBot Well, we've gotten rid of most of your errors, but these last 4 have me stumped. Somewhere it's finding "binary-arm64", but it's not in the normal places. So who knows where it's hiding. You might just have to reinstall Ubuntu to undo all of the changes in your system.

    – heynnema
    Apr 5 at 0:10











  • Yeah, I'm thinking of just reinstalling Ubuntu. Thanks for all the help! Should I change the status of this post somehow?

    – TomBot
    Apr 5 at 0:34













  • @TomBot lets wait until after you've reinstalled and got it working, then I'll update my answer.

    – heynnema
    Apr 5 at 2:30











  • A fresh install did the trick. Everything is working now. I'm able to install VirtualBox now, which is what I intended to do in the first place.. Thanks.

    – TomBot
    Apr 5 at 3:28

















Somehow... still no results from grep.

– TomBot
Apr 4 at 23:39





Somehow... still no results from grep.

– TomBot
Apr 4 at 23:39













@TomBot Well, we've gotten rid of most of your errors, but these last 4 have me stumped. Somewhere it's finding "binary-arm64", but it's not in the normal places. So who knows where it's hiding. You might just have to reinstall Ubuntu to undo all of the changes in your system.

– heynnema
Apr 5 at 0:10





@TomBot Well, we've gotten rid of most of your errors, but these last 4 have me stumped. Somewhere it's finding "binary-arm64", but it's not in the normal places. So who knows where it's hiding. You might just have to reinstall Ubuntu to undo all of the changes in your system.

– heynnema
Apr 5 at 0:10













Yeah, I'm thinking of just reinstalling Ubuntu. Thanks for all the help! Should I change the status of this post somehow?

– TomBot
Apr 5 at 0:34







Yeah, I'm thinking of just reinstalling Ubuntu. Thanks for all the help! Should I change the status of this post somehow?

– TomBot
Apr 5 at 0:34















@TomBot lets wait until after you've reinstalled and got it working, then I'll update my answer.

– heynnema
Apr 5 at 2:30





@TomBot lets wait until after you've reinstalled and got it working, then I'll update my answer.

– heynnema
Apr 5 at 2:30













A fresh install did the trick. Everything is working now. I'm able to install VirtualBox now, which is what I intended to do in the first place.. Thanks.

– TomBot
Apr 5 at 3:28





A fresh install did the trick. Everything is working now. I'm able to install VirtualBox now, which is what I intended to do in the first place.. Thanks.

– TomBot
Apr 5 at 3:28













0














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.



.






share|improve this answer


























  • 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
    Apr 4 at 19:59











  • updated the answer.

    – Philippe Delteil
    Apr 4 at 20:10











  • 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
    Apr 4 at 20:42













  • The last solution is your only chance by now.

    – Philippe Delteil
    Apr 4 at 20:45











  • 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
    Apr 4 at 20:50


















0














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.



.






share|improve this answer


























  • 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
    Apr 4 at 19:59











  • updated the answer.

    – Philippe Delteil
    Apr 4 at 20:10











  • 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
    Apr 4 at 20:42













  • The last solution is your only chance by now.

    – Philippe Delteil
    Apr 4 at 20:45











  • 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
    Apr 4 at 20:50
















0












0








0







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.



.






share|improve this answer















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.



.







share|improve this answer














share|improve this answer



share|improve this answer








edited Apr 4 at 20:09

























answered Apr 4 at 19:55









Philippe DelteilPhilippe Delteil

8161722




8161722













  • 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
    Apr 4 at 19:59











  • updated the answer.

    – Philippe Delteil
    Apr 4 at 20:10











  • 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
    Apr 4 at 20:42













  • The last solution is your only chance by now.

    – Philippe Delteil
    Apr 4 at 20:45











  • 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
    Apr 4 at 20:50





















  • 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
    Apr 4 at 19:59











  • updated the answer.

    – Philippe Delteil
    Apr 4 at 20:10











  • 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
    Apr 4 at 20:42













  • The last solution is your only chance by now.

    – Philippe Delteil
    Apr 4 at 20:45











  • 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
    Apr 4 at 20:50



















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
Apr 4 at 19:59





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
Apr 4 at 19:59













updated the answer.

– Philippe Delteil
Apr 4 at 20:10





updated the answer.

– Philippe Delteil
Apr 4 at 20:10













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
Apr 4 at 20:42







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
Apr 4 at 20:42















The last solution is your only chance by now.

– Philippe Delteil
Apr 4 at 20:45





The last solution is your only chance by now.

– Philippe Delteil
Apr 4 at 20:45













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
Apr 4 at 20:50







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
Apr 4 at 20:50




















draft saved

draft discarded




















































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.




draft saved


draft discarded














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





















































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







Popular posts from this blog

How did Captain America manage to do this?

迪纳利

南乌拉尔铁路局