I've create a Ubuntu server 16.04 LTS (published by Canonical) in Azure
When execute
sudo apt-get install npm
it get error message like
Err:6 http://azure.archive.ubuntu.com/ubuntu xenial-updates/main amd64 cpp-5 amd64 5.4.0-6ubuntu1~16.04.5
404 Not Found
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/g/gcc-5/cpp-5_5.4.0-6ubuntu1~16.04.5_amd64.deb 404 Not Found
Could I replace azure.archive.ubuntu.com server address in etc/apt/sources.list with archive.ubuntu.com or old-releases.ubuntu.com? or any suggestion to fix this?
sudo apt-get update --fix-missing
, it will fetch missing part fromhttp://security.ubuntu.com/ubuntu
, then runsudo apt-get install npm
would work. so no need to change etc/apt/sources.list... just wonder why azure.archive.ubuntu.com does not have those missing part... – Alex Lee Feb 06 '18 at 04:16azure.archive.ubuntu.com
? While I was looking at theazure.archive.ubuntu.com
site, it appeared that the folders were last updated back in June of 2016. – Terrance Feb 06 '18 at 04:39azure.archive.ubuntu.com
by default. – Alex Lee Feb 07 '18 at 06:04