Unable to update my ubuntu server 14.04 using apt-get update
up vote
3
down vote
favorite
I am unable to update my ubuntu server 14.04 using apt-get update.
Outcome is:
W: failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty/inrelease
And another error is:
/usr/local/snort/bin/snort: error while loading shared libraries: libdnet.1 : cannot open shared object
How can I solve this?
updates 14.04
add a comment |
up vote
3
down vote
favorite
I am unable to update my ubuntu server 14.04 using apt-get update.
Outcome is:
W: failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty/inrelease
And another error is:
/usr/local/snort/bin/snort: error while loading shared libraries: libdnet.1 : cannot open shared object
How can I solve this?
updates 14.04
Was this a fresh install of 14.04 or an upgrade? Can you post the output of grep '^deb ' /etc/apt/sources.list
– bain
May 6 '14 at 12:13
Something is wrong with your sources.list - restore it by following the answer to askubuntu.com/questions/459542/…
– bain
May 6 '14 at 13:50
deb us.archive.ubuntu.com/ubuntu trusty main restricted deb-src us.archive.ubuntu.com/ubuntu trusty main restricted deb us.archive.ubuntu.com/ubuntu trusty-updates main restricted deb-src us.archive.ubuntu.com/ubuntu trusty-updates main restricted deb us.archive.ubuntu.com/ubuntu trusty universe deb-src us.archive.ubuntu.com/ubuntu trusty universe deb us.archive.ubuntu.com/ubuntu trusty-updates universe deb-src us.archive.ubuntu.com/ubuntu trusty-updates universe
– user278527
May 6 '14 at 13:52
What happens if you follow the answer on askubuntu.com/questions/128369/… (do "select best server" in Software Sources)? And when you runapt-get update, before the "Failed to fetch" errors are there any lines that begin with "Err http://"?
– bain
May 6 '14 at 14:50
add a comment |
up vote
3
down vote
favorite
up vote
3
down vote
favorite
I am unable to update my ubuntu server 14.04 using apt-get update.
Outcome is:
W: failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty/inrelease
And another error is:
/usr/local/snort/bin/snort: error while loading shared libraries: libdnet.1 : cannot open shared object
How can I solve this?
updates 14.04
I am unable to update my ubuntu server 14.04 using apt-get update.
Outcome is:
W: failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty/inrelease
And another error is:
/usr/local/snort/bin/snort: error while loading shared libraries: libdnet.1 : cannot open shared object
How can I solve this?
updates 14.04
updates 14.04
edited May 6 '14 at 9:16
user224082
asked May 6 '14 at 9:09
user278527
19113
19113
Was this a fresh install of 14.04 or an upgrade? Can you post the output of grep '^deb ' /etc/apt/sources.list
– bain
May 6 '14 at 12:13
Something is wrong with your sources.list - restore it by following the answer to askubuntu.com/questions/459542/…
– bain
May 6 '14 at 13:50
deb us.archive.ubuntu.com/ubuntu trusty main restricted deb-src us.archive.ubuntu.com/ubuntu trusty main restricted deb us.archive.ubuntu.com/ubuntu trusty-updates main restricted deb-src us.archive.ubuntu.com/ubuntu trusty-updates main restricted deb us.archive.ubuntu.com/ubuntu trusty universe deb-src us.archive.ubuntu.com/ubuntu trusty universe deb us.archive.ubuntu.com/ubuntu trusty-updates universe deb-src us.archive.ubuntu.com/ubuntu trusty-updates universe
– user278527
May 6 '14 at 13:52
What happens if you follow the answer on askubuntu.com/questions/128369/… (do "select best server" in Software Sources)? And when you runapt-get update, before the "Failed to fetch" errors are there any lines that begin with "Err http://"?
– bain
May 6 '14 at 14:50
add a comment |
Was this a fresh install of 14.04 or an upgrade? Can you post the output of grep '^deb ' /etc/apt/sources.list
– bain
May 6 '14 at 12:13
Something is wrong with your sources.list - restore it by following the answer to askubuntu.com/questions/459542/…
– bain
May 6 '14 at 13:50
deb us.archive.ubuntu.com/ubuntu trusty main restricted deb-src us.archive.ubuntu.com/ubuntu trusty main restricted deb us.archive.ubuntu.com/ubuntu trusty-updates main restricted deb-src us.archive.ubuntu.com/ubuntu trusty-updates main restricted deb us.archive.ubuntu.com/ubuntu trusty universe deb-src us.archive.ubuntu.com/ubuntu trusty universe deb us.archive.ubuntu.com/ubuntu trusty-updates universe deb-src us.archive.ubuntu.com/ubuntu trusty-updates universe
– user278527
May 6 '14 at 13:52
What happens if you follow the answer on askubuntu.com/questions/128369/… (do "select best server" in Software Sources)? And when you runapt-get update, before the "Failed to fetch" errors are there any lines that begin with "Err http://"?
– bain
May 6 '14 at 14:50
Was this a fresh install of 14.04 or an upgrade? Can you post the output of grep '^deb ' /etc/apt/sources.list
– bain
May 6 '14 at 12:13
Was this a fresh install of 14.04 or an upgrade? Can you post the output of grep '^deb ' /etc/apt/sources.list
– bain
May 6 '14 at 12:13
Something is wrong with your sources.list - restore it by following the answer to askubuntu.com/questions/459542/…
– bain
May 6 '14 at 13:50
Something is wrong with your sources.list - restore it by following the answer to askubuntu.com/questions/459542/…
– bain
May 6 '14 at 13:50
deb us.archive.ubuntu.com/ubuntu trusty main restricted deb-src us.archive.ubuntu.com/ubuntu trusty main restricted deb us.archive.ubuntu.com/ubuntu trusty-updates main restricted deb-src us.archive.ubuntu.com/ubuntu trusty-updates main restricted deb us.archive.ubuntu.com/ubuntu trusty universe deb-src us.archive.ubuntu.com/ubuntu trusty universe deb us.archive.ubuntu.com/ubuntu trusty-updates universe deb-src us.archive.ubuntu.com/ubuntu trusty-updates universe
– user278527
May 6 '14 at 13:52
deb us.archive.ubuntu.com/ubuntu trusty main restricted deb-src us.archive.ubuntu.com/ubuntu trusty main restricted deb us.archive.ubuntu.com/ubuntu trusty-updates main restricted deb-src us.archive.ubuntu.com/ubuntu trusty-updates main restricted deb us.archive.ubuntu.com/ubuntu trusty universe deb-src us.archive.ubuntu.com/ubuntu trusty universe deb us.archive.ubuntu.com/ubuntu trusty-updates universe deb-src us.archive.ubuntu.com/ubuntu trusty-updates universe
– user278527
May 6 '14 at 13:52
What happens if you follow the answer on askubuntu.com/questions/128369/… (do "select best server" in Software Sources)? And when you run
apt-get update, before the "Failed to fetch" errors are there any lines that begin with "Err http://"?– bain
May 6 '14 at 14:50
What happens if you follow the answer on askubuntu.com/questions/128369/… (do "select best server" in Software Sources)? And when you run
apt-get update, before the "Failed to fetch" errors are there any lines that begin with "Err http://"?– bain
May 6 '14 at 14:50
add a comment |
3 Answers
3
active
oldest
votes
up vote
0
down vote
I just had this same issue. My company has a firewall that stopped apt-get from getting to the http sources. They still allow ftp traffic, so I was able to work around the firewall by changing all the "http" sites in sources.list to "ftp". For example, in file /etc/apt/sources.list, I changed line:
deb http://us.archive.ubuntu.com/ubuntu/ trusty-security main
to
deb ftp://us.archive.ubuntu.com/ubuntu/ trusty-security main
Now apt-get is able to fetch the files from the repositories.
add a comment |
up vote
0
down vote
edit /etc/resolve.conf file and change nameserver adress e.g 8.8.8.8 if thats not solving your problem try this tutorial
Some ISP disallow the usage of google's nameserver 8.8.8.8 which might be you in further trouble. Keep that in mind.
– Karl Richter
Jun 20 '15 at 11:22
add a comment |
up vote
-2
down vote
You should try sudo apt-get upgrade that will run as superuser and upgrade you to 16.04 if you dont want that try sudo apt-get update to run the command as superuser thats what u usually do if your updating your current version there also could be no new updated versions but I bet there are if you want to check you can use sudo apt-get dist-upgrade to upgrade your current verison of ubuntu like 14.04 to 14.14 for expmple though ther might not be a 14.14 version of ubuntu!!! Thank you for the question!
add a comment |
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
I just had this same issue. My company has a firewall that stopped apt-get from getting to the http sources. They still allow ftp traffic, so I was able to work around the firewall by changing all the "http" sites in sources.list to "ftp". For example, in file /etc/apt/sources.list, I changed line:
deb http://us.archive.ubuntu.com/ubuntu/ trusty-security main
to
deb ftp://us.archive.ubuntu.com/ubuntu/ trusty-security main
Now apt-get is able to fetch the files from the repositories.
add a comment |
up vote
0
down vote
I just had this same issue. My company has a firewall that stopped apt-get from getting to the http sources. They still allow ftp traffic, so I was able to work around the firewall by changing all the "http" sites in sources.list to "ftp". For example, in file /etc/apt/sources.list, I changed line:
deb http://us.archive.ubuntu.com/ubuntu/ trusty-security main
to
deb ftp://us.archive.ubuntu.com/ubuntu/ trusty-security main
Now apt-get is able to fetch the files from the repositories.
add a comment |
up vote
0
down vote
up vote
0
down vote
I just had this same issue. My company has a firewall that stopped apt-get from getting to the http sources. They still allow ftp traffic, so I was able to work around the firewall by changing all the "http" sites in sources.list to "ftp". For example, in file /etc/apt/sources.list, I changed line:
deb http://us.archive.ubuntu.com/ubuntu/ trusty-security main
to
deb ftp://us.archive.ubuntu.com/ubuntu/ trusty-security main
Now apt-get is able to fetch the files from the repositories.
I just had this same issue. My company has a firewall that stopped apt-get from getting to the http sources. They still allow ftp traffic, so I was able to work around the firewall by changing all the "http" sites in sources.list to "ftp". For example, in file /etc/apt/sources.list, I changed line:
deb http://us.archive.ubuntu.com/ubuntu/ trusty-security main
to
deb ftp://us.archive.ubuntu.com/ubuntu/ trusty-security main
Now apt-get is able to fetch the files from the repositories.
answered Oct 30 '14 at 1:29
L. Quinones
1
1
add a comment |
add a comment |
up vote
0
down vote
edit /etc/resolve.conf file and change nameserver adress e.g 8.8.8.8 if thats not solving your problem try this tutorial
Some ISP disallow the usage of google's nameserver 8.8.8.8 which might be you in further trouble. Keep that in mind.
– Karl Richter
Jun 20 '15 at 11:22
add a comment |
up vote
0
down vote
edit /etc/resolve.conf file and change nameserver adress e.g 8.8.8.8 if thats not solving your problem try this tutorial
Some ISP disallow the usage of google's nameserver 8.8.8.8 which might be you in further trouble. Keep that in mind.
– Karl Richter
Jun 20 '15 at 11:22
add a comment |
up vote
0
down vote
up vote
0
down vote
edit /etc/resolve.conf file and change nameserver adress e.g 8.8.8.8 if thats not solving your problem try this tutorial
edit /etc/resolve.conf file and change nameserver adress e.g 8.8.8.8 if thats not solving your problem try this tutorial
answered Dec 31 '14 at 15:26
programmer one
11
11
Some ISP disallow the usage of google's nameserver 8.8.8.8 which might be you in further trouble. Keep that in mind.
– Karl Richter
Jun 20 '15 at 11:22
add a comment |
Some ISP disallow the usage of google's nameserver 8.8.8.8 which might be you in further trouble. Keep that in mind.
– Karl Richter
Jun 20 '15 at 11:22
Some ISP disallow the usage of google's nameserver 8.8.8.8 which might be you in further trouble. Keep that in mind.
– Karl Richter
Jun 20 '15 at 11:22
Some ISP disallow the usage of google's nameserver 8.8.8.8 which might be you in further trouble. Keep that in mind.
– Karl Richter
Jun 20 '15 at 11:22
add a comment |
up vote
-2
down vote
You should try sudo apt-get upgrade that will run as superuser and upgrade you to 16.04 if you dont want that try sudo apt-get update to run the command as superuser thats what u usually do if your updating your current version there also could be no new updated versions but I bet there are if you want to check you can use sudo apt-get dist-upgrade to upgrade your current verison of ubuntu like 14.04 to 14.14 for expmple though ther might not be a 14.14 version of ubuntu!!! Thank you for the question!
add a comment |
up vote
-2
down vote
You should try sudo apt-get upgrade that will run as superuser and upgrade you to 16.04 if you dont want that try sudo apt-get update to run the command as superuser thats what u usually do if your updating your current version there also could be no new updated versions but I bet there are if you want to check you can use sudo apt-get dist-upgrade to upgrade your current verison of ubuntu like 14.04 to 14.14 for expmple though ther might not be a 14.14 version of ubuntu!!! Thank you for the question!
add a comment |
up vote
-2
down vote
up vote
-2
down vote
You should try sudo apt-get upgrade that will run as superuser and upgrade you to 16.04 if you dont want that try sudo apt-get update to run the command as superuser thats what u usually do if your updating your current version there also could be no new updated versions but I bet there are if you want to check you can use sudo apt-get dist-upgrade to upgrade your current verison of ubuntu like 14.04 to 14.14 for expmple though ther might not be a 14.14 version of ubuntu!!! Thank you for the question!
You should try sudo apt-get upgrade that will run as superuser and upgrade you to 16.04 if you dont want that try sudo apt-get update to run the command as superuser thats what u usually do if your updating your current version there also could be no new updated versions but I bet there are if you want to check you can use sudo apt-get dist-upgrade to upgrade your current verison of ubuntu like 14.04 to 14.14 for expmple though ther might not be a 14.14 version of ubuntu!!! Thank you for the question!
edited Jul 13 '17 at 1:48
answered Jul 8 '17 at 5:58
Galien1
27
27
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f461656%2funable-to-update-my-ubuntu-server-14-04-using-apt-get-update%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
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
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Was this a fresh install of 14.04 or an upgrade? Can you post the output of grep '^deb ' /etc/apt/sources.list
– bain
May 6 '14 at 12:13
Something is wrong with your sources.list - restore it by following the answer to askubuntu.com/questions/459542/…
– bain
May 6 '14 at 13:50
deb us.archive.ubuntu.com/ubuntu trusty main restricted deb-src us.archive.ubuntu.com/ubuntu trusty main restricted deb us.archive.ubuntu.com/ubuntu trusty-updates main restricted deb-src us.archive.ubuntu.com/ubuntu trusty-updates main restricted deb us.archive.ubuntu.com/ubuntu trusty universe deb-src us.archive.ubuntu.com/ubuntu trusty universe deb us.archive.ubuntu.com/ubuntu trusty-updates universe deb-src us.archive.ubuntu.com/ubuntu trusty-updates universe
– user278527
May 6 '14 at 13:52
What happens if you follow the answer on askubuntu.com/questions/128369/… (do "select best server" in Software Sources)? And when you run
apt-get update, before the "Failed to fetch" errors are there any lines that begin with "Err http://"?– bain
May 6 '14 at 14:50