Apt âConnection failedâ


up vote
0
down vote
favorite
since installing Ubuntu I have been unable to install new packages, it has even failed to update. below is a dump of connection error i see when i tried to install Wine:
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/u/unixodbc/odbcinst1debian2_2.3.1-4.1_amd64.deb Connection failed [IP: 91.189.88.152 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/f/fonts-wqy-microhei/ttf-wqy-microhei_0.2.0-beta-2_all.deb Connection failed [IP: 91.189.88.162 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
networking apt
add a comment |Â
up vote
0
down vote
favorite
since installing Ubuntu I have been unable to install new packages, it has even failed to update. below is a dump of connection error i see when i tried to install Wine:
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/u/unixodbc/odbcinst1debian2_2.3.1-4.1_amd64.deb Connection failed [IP: 91.189.88.152 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/f/fonts-wqy-microhei/ttf-wqy-microhei_0.2.0-beta-2_all.deb Connection failed [IP: 91.189.88.162 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
networking apt
3
Please try runningsudo apt update
and then try your original command again. Also, is your internet connection working normally?
â Nick Weinberg
Apr 22 '17 at 21:28
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
since installing Ubuntu I have been unable to install new packages, it has even failed to update. below is a dump of connection error i see when i tried to install Wine:
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/u/unixodbc/odbcinst1debian2_2.3.1-4.1_amd64.deb Connection failed [IP: 91.189.88.152 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/f/fonts-wqy-microhei/ttf-wqy-microhei_0.2.0-beta-2_all.deb Connection failed [IP: 91.189.88.162 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
networking apt
since installing Ubuntu I have been unable to install new packages, it has even failed to update. below is a dump of connection error i see when i tried to install Wine:
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/u/unixodbc/odbcinst1debian2_2.3.1-4.1_amd64.deb Connection failed [IP: 91.189.88.152 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/f/fonts-wqy-microhei/ttf-wqy-microhei_0.2.0-beta-2_all.deb Connection failed [IP: 91.189.88.162 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
networking apt
edited Apr 22 '17 at 22:41


David Foerster
26.1k1361106
26.1k1361106
asked Apr 22 '17 at 20:43
ayiya
1
1
3
Please try runningsudo apt update
and then try your original command again. Also, is your internet connection working normally?
â Nick Weinberg
Apr 22 '17 at 21:28
add a comment |Â
3
Please try runningsudo apt update
and then try your original command again. Also, is your internet connection working normally?
â Nick Weinberg
Apr 22 '17 at 21:28
3
3
Please try running
sudo apt update
and then try your original command again. Also, is your internet connection working normally?â Nick Weinberg
Apr 22 '17 at 21:28
Please try running
sudo apt update
and then try your original command again. Also, is your internet connection working normally?â Nick Weinberg
Apr 22 '17 at 21:28
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
1
down vote
The issue definitely related with connectivity, try to ping or trace ubuntu servers. If connectivity is fine, probably you are behind proxy, use environment variable:
export http_proxy=<your_proxy>:<port>
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
The issue definitely related with connectivity, try to ping or trace ubuntu servers. If connectivity is fine, probably you are behind proxy, use environment variable:
export http_proxy=<your_proxy>:<port>
add a comment |Â
up vote
1
down vote
The issue definitely related with connectivity, try to ping or trace ubuntu servers. If connectivity is fine, probably you are behind proxy, use environment variable:
export http_proxy=<your_proxy>:<port>
add a comment |Â
up vote
1
down vote
up vote
1
down vote
The issue definitely related with connectivity, try to ping or trace ubuntu servers. If connectivity is fine, probably you are behind proxy, use environment variable:
export http_proxy=<your_proxy>:<port>
The issue definitely related with connectivity, try to ping or trace ubuntu servers. If connectivity is fine, probably you are behind proxy, use environment variable:
export http_proxy=<your_proxy>:<port>
answered Apr 22 '17 at 23:01


Mancubus
5318
5318
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f907859%2fapt-connection-failed%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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
3
Please try running
sudo apt update
and then try your original command again. Also, is your internet connection working normally?â Nick Weinberg
Apr 22 '17 at 21:28