When I run the sudo apt-get install firefox to install firefox, install fails when connecting to us.archive.unbuntu.com. What can I do to fix this?

  • might be a temporary glitch in connectivity, if persistent, you could try to use a different archive (either remove the us country code in /etc/apt/sources.list or replace it with another country), then run 'apt-get update' and try again. – Antonello Piemonte Mar 20 '17 at 12:54

Are you using the network with the proxy? in that case, you must export the proxy by

export http_proxy="http://<proxy>:<port>/"
export https_proxy="https://<proxy>:<port>/"

or edit the file /etc/apt/apt.conf and add

Acquire::http::proxy "http://<proxy>:<port>/";
Acquire::ftp::proxy "ftp://<proxy>:<port>/";
Acquire::https::proxy "https://<proxy>:<port>/";

if the proxy is not the problem change the server country and try again there may be a glitch in connectivity as @antonello said

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.