sudo apt get install does not work when i am connected via the etherenet cable, but works on wifi


up vote
0
down vote
favorite
Whenever I try installing a new package/software using sudo apt-get install and am connected to the internet via my institute LAN, it gives the following error :
Failed to fetch http://fr.archive.ubuntu.com/ubuntu/pool/universe/u/unity-tweak-tool/unity-tweak-tool_0.0.7ubuntu2_all.deb Cannot initiate the connection to fr.archive.ubuntu.com:80 (2001:860:f70a::2). - connect (101: Network is unreachable) [IP: 2001:860:f70a::2 80]
However it works when I am connected via wifi.
Please help regarding this.
Thanks
apt updates internet
add a comment |Â
up vote
0
down vote
favorite
Whenever I try installing a new package/software using sudo apt-get install and am connected to the internet via my institute LAN, it gives the following error :
Failed to fetch http://fr.archive.ubuntu.com/ubuntu/pool/universe/u/unity-tweak-tool/unity-tweak-tool_0.0.7ubuntu2_all.deb Cannot initiate the connection to fr.archive.ubuntu.com:80 (2001:860:f70a::2). - connect (101: Network is unreachable) [IP: 2001:860:f70a::2 80]
However it works when I am connected via wifi.
Please help regarding this.
Thanks
apt updates internet
Can you access web sites external to your institution? For example stackoverflow or if you paste that link into the address bar, does it open?
â namingFailed
Mar 18 at 5:25
Yes I can open the websites. I can also download using the web browser
â vijay
Mar 18 at 5:45
Just the problem is I can't download using the terminal
â vijay
Mar 18 at 5:46
1
Can you try the same with the option -o Acquire::ForceIPv4=true added to the apt-get command?
â Sebastian Stark
Mar 18 at 7:58
Yeah I tried, but it doesnt works
â vijay
Mar 18 at 10:33
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Whenever I try installing a new package/software using sudo apt-get install and am connected to the internet via my institute LAN, it gives the following error :
Failed to fetch http://fr.archive.ubuntu.com/ubuntu/pool/universe/u/unity-tweak-tool/unity-tweak-tool_0.0.7ubuntu2_all.deb Cannot initiate the connection to fr.archive.ubuntu.com:80 (2001:860:f70a::2). - connect (101: Network is unreachable) [IP: 2001:860:f70a::2 80]
However it works when I am connected via wifi.
Please help regarding this.
Thanks
apt updates internet
Whenever I try installing a new package/software using sudo apt-get install and am connected to the internet via my institute LAN, it gives the following error :
Failed to fetch http://fr.archive.ubuntu.com/ubuntu/pool/universe/u/unity-tweak-tool/unity-tweak-tool_0.0.7ubuntu2_all.deb Cannot initiate the connection to fr.archive.ubuntu.com:80 (2001:860:f70a::2). - connect (101: Network is unreachable) [IP: 2001:860:f70a::2 80]
However it works when I am connected via wifi.
Please help regarding this.
Thanks
apt updates internet
apt updates internet
asked Mar 18 at 4:52
vijay
1
1
Can you access web sites external to your institution? For example stackoverflow or if you paste that link into the address bar, does it open?
â namingFailed
Mar 18 at 5:25
Yes I can open the websites. I can also download using the web browser
â vijay
Mar 18 at 5:45
Just the problem is I can't download using the terminal
â vijay
Mar 18 at 5:46
1
Can you try the same with the option -o Acquire::ForceIPv4=true added to the apt-get command?
â Sebastian Stark
Mar 18 at 7:58
Yeah I tried, but it doesnt works
â vijay
Mar 18 at 10:33
add a comment |Â
Can you access web sites external to your institution? For example stackoverflow or if you paste that link into the address bar, does it open?
â namingFailed
Mar 18 at 5:25
Yes I can open the websites. I can also download using the web browser
â vijay
Mar 18 at 5:45
Just the problem is I can't download using the terminal
â vijay
Mar 18 at 5:46
1
Can you try the same with the option -o Acquire::ForceIPv4=true added to the apt-get command?
â Sebastian Stark
Mar 18 at 7:58
Yeah I tried, but it doesnt works
â vijay
Mar 18 at 10:33
Can you access web sites external to your institution? For example stackoverflow or if you paste that link into the address bar, does it open?
â namingFailed
Mar 18 at 5:25
Can you access web sites external to your institution? For example stackoverflow or if you paste that link into the address bar, does it open?
â namingFailed
Mar 18 at 5:25
Yes I can open the websites. I can also download using the web browser
â vijay
Mar 18 at 5:45
Yes I can open the websites. I can also download using the web browser
â vijay
Mar 18 at 5:45
Just the problem is I can't download using the terminal
â vijay
Mar 18 at 5:46
Just the problem is I can't download using the terminal
â vijay
Mar 18 at 5:46
1
1
Can you try the same with the option -o Acquire::ForceIPv4=true added to the apt-get command?
â Sebastian Stark
Mar 18 at 7:58
Can you try the same with the option -o Acquire::ForceIPv4=true added to the apt-get command?
â Sebastian Stark
Mar 18 at 7:58
Yeah I tried, but it doesnt works
â vijay
Mar 18 at 10:33
Yeah I tried, but it doesnt works
â vijay
Mar 18 at 10:33
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
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%2f1016910%2fsudo-apt-get-install-does-not-work-when-i-am-connected-via-the-etherenet-cable%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
Can you access web sites external to your institution? For example stackoverflow or if you paste that link into the address bar, does it open?
â namingFailed
Mar 18 at 5:25
Yes I can open the websites. I can also download using the web browser
â vijay
Mar 18 at 5:45
Just the problem is I can't download using the terminal
â vijay
Mar 18 at 5:46
1
Can you try the same with the option -o Acquire::ForceIPv4=true added to the apt-get command?
â Sebastian Stark
Mar 18 at 7:58
Yeah I tried, but it doesnt works
â vijay
Mar 18 at 10:33