I'm trying to upgrade a 16.04 system. When I do:
sudo apt-get upgrade
I get:
Err:1 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libc6-dbg amd64 2.23-0ubuntu9 404 Not Found [IP: 91.189.91.23 80]
and many more like it.
I did sudo apt-get update
, but got similar messages:
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/xenial/main/binary-arm64/Packages 404 Not Found [IP: 91.189.91.23 80]
Output of --print-architecture:
amd64
Output of --print-foreign-architectures:
i386
arm64
I'm pretty new to Ubuntu.
{}
button in the editor (or four spaces at the front of the line) to format terminal blocks. – Chai T. Rex Jan 29 '18 at 22:07dpkg --print-architecture
anddpkg --print-foreign-architectures
to your question. – Chai T. Rex Jan 29 '18 at 22:12sudo dpkg --add-architecture arm64
, then add[arch=amd64,i386]
immediately after alldeb
s (notdeb-src
s) that complain in/etc/apt/sources.list
. That restricts those specific lines to those specific architectures, leaving outarm64
. An example line would bedeb [arch=amd64,i386] http://archive.canonical.com/ubuntu xenial partner
. – Chai T. Rex Jan 30 '18 at 01:57