Cannot update Ubuntu 14.04 : apt-get issues
I am trying to update Ubuntu 14.04. But sudo apt-get update
is returning the following errors.
0% [Connecting to in.archive.ubuntu.com] [Connecting to archive
0% [Connecting to in.archive.ubuntu.com] [Connecting to archive
Err http://in.archive.ubuntu.com trusty InRelease
Err http://archive.canonical.com trusty InRelease
Err http://extras.ubuntu.com trusty InRelease
Err http://in.archive.ubuntu.com trusty Release.gpg
Could not resolve 'in.archive.ubuntu.com'
Err http://archive.canonical.com trusty Release.gpg
Could not resolve 'archive.canonical.com'
Err http://extras.ubuntu.com trusty Release.gpg
Could not resolve 'extras.ubuntu.com'
Reading package lists...Done
W:Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty/InRelease
W:Failed to fetch http://archive.canonical.com/ubuntu/dists/trusty/InRelease
W:Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty/Release.gpg
Could not resolve 'in.archive.ubuntu.com'
W:Failed to fetch http://archive.canonical.com/ubuntu/dists/trusty/Release.gpg
Could not resolve 'archive.canonical.com'
W:Failed to fetch http://archive.canonical.com/ubuntu/dists/trusty/Release.gpg
Could not resolve 'extras.ubuntu.com'
W:Some index files failed to download.They have been ignored or old ones used instead.
14.04 apt
bumped to the homepage by Community♦ 59 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I am trying to update Ubuntu 14.04. But sudo apt-get update
is returning the following errors.
0% [Connecting to in.archive.ubuntu.com] [Connecting to archive
0% [Connecting to in.archive.ubuntu.com] [Connecting to archive
Err http://in.archive.ubuntu.com trusty InRelease
Err http://archive.canonical.com trusty InRelease
Err http://extras.ubuntu.com trusty InRelease
Err http://in.archive.ubuntu.com trusty Release.gpg
Could not resolve 'in.archive.ubuntu.com'
Err http://archive.canonical.com trusty Release.gpg
Could not resolve 'archive.canonical.com'
Err http://extras.ubuntu.com trusty Release.gpg
Could not resolve 'extras.ubuntu.com'
Reading package lists...Done
W:Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty/InRelease
W:Failed to fetch http://archive.canonical.com/ubuntu/dists/trusty/InRelease
W:Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty/Release.gpg
Could not resolve 'in.archive.ubuntu.com'
W:Failed to fetch http://archive.canonical.com/ubuntu/dists/trusty/Release.gpg
Could not resolve 'archive.canonical.com'
W:Failed to fetch http://archive.canonical.com/ubuntu/dists/trusty/Release.gpg
Could not resolve 'extras.ubuntu.com'
W:Some index files failed to download.They have been ignored or old ones used instead.
14.04 apt
bumped to the homepage by Community♦ 59 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Use code formatting. Then you can post the output with URLs.
– muru
Feb 25 '16 at 7:34
Possible duplicate of apt-get update cannot find ubuntu servers
– TheSchwa
Feb 26 '16 at 1:37
add a comment |
I am trying to update Ubuntu 14.04. But sudo apt-get update
is returning the following errors.
0% [Connecting to in.archive.ubuntu.com] [Connecting to archive
0% [Connecting to in.archive.ubuntu.com] [Connecting to archive
Err http://in.archive.ubuntu.com trusty InRelease
Err http://archive.canonical.com trusty InRelease
Err http://extras.ubuntu.com trusty InRelease
Err http://in.archive.ubuntu.com trusty Release.gpg
Could not resolve 'in.archive.ubuntu.com'
Err http://archive.canonical.com trusty Release.gpg
Could not resolve 'archive.canonical.com'
Err http://extras.ubuntu.com trusty Release.gpg
Could not resolve 'extras.ubuntu.com'
Reading package lists...Done
W:Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty/InRelease
W:Failed to fetch http://archive.canonical.com/ubuntu/dists/trusty/InRelease
W:Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty/Release.gpg
Could not resolve 'in.archive.ubuntu.com'
W:Failed to fetch http://archive.canonical.com/ubuntu/dists/trusty/Release.gpg
Could not resolve 'archive.canonical.com'
W:Failed to fetch http://archive.canonical.com/ubuntu/dists/trusty/Release.gpg
Could not resolve 'extras.ubuntu.com'
W:Some index files failed to download.They have been ignored or old ones used instead.
14.04 apt
I am trying to update Ubuntu 14.04. But sudo apt-get update
is returning the following errors.
0% [Connecting to in.archive.ubuntu.com] [Connecting to archive
0% [Connecting to in.archive.ubuntu.com] [Connecting to archive
Err http://in.archive.ubuntu.com trusty InRelease
Err http://archive.canonical.com trusty InRelease
Err http://extras.ubuntu.com trusty InRelease
Err http://in.archive.ubuntu.com trusty Release.gpg
Could not resolve 'in.archive.ubuntu.com'
Err http://archive.canonical.com trusty Release.gpg
Could not resolve 'archive.canonical.com'
Err http://extras.ubuntu.com trusty Release.gpg
Could not resolve 'extras.ubuntu.com'
Reading package lists...Done
W:Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty/InRelease
W:Failed to fetch http://archive.canonical.com/ubuntu/dists/trusty/InRelease
W:Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty/Release.gpg
Could not resolve 'in.archive.ubuntu.com'
W:Failed to fetch http://archive.canonical.com/ubuntu/dists/trusty/Release.gpg
Could not resolve 'archive.canonical.com'
W:Failed to fetch http://archive.canonical.com/ubuntu/dists/trusty/Release.gpg
Could not resolve 'extras.ubuntu.com'
W:Some index files failed to download.They have been ignored or old ones used instead.
14.04 apt
14.04 apt
edited Feb 25 '16 at 9:13
muru
1
1
asked Feb 25 '16 at 6:18
RainbowRainbow
113
113
bumped to the homepage by Community♦ 59 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 59 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Use code formatting. Then you can post the output with URLs.
– muru
Feb 25 '16 at 7:34
Possible duplicate of apt-get update cannot find ubuntu servers
– TheSchwa
Feb 26 '16 at 1:37
add a comment |
Use code formatting. Then you can post the output with URLs.
– muru
Feb 25 '16 at 7:34
Possible duplicate of apt-get update cannot find ubuntu servers
– TheSchwa
Feb 26 '16 at 1:37
Use code formatting. Then you can post the output with URLs.
– muru
Feb 25 '16 at 7:34
Use code formatting. Then you can post the output with URLs.
– muru
Feb 25 '16 at 7:34
Possible duplicate of apt-get update cannot find ubuntu servers
– TheSchwa
Feb 26 '16 at 1:37
Possible duplicate of apt-get update cannot find ubuntu servers
– TheSchwa
Feb 26 '16 at 1:37
add a comment |
3 Answers
3
active
oldest
votes
I am facing with same problem. From the errors you can see that you are using the Ubuntu Server in India. Change the update server to something other than India.
Go to Setting > Software & update --- under Ubuntu Software tab, find the drop-down list to choose the server for downloading updates from. Choose main server.
See this:
Thanks for the quick reply. But this solution did not work for me. I had configured internal network earlier and now I have changed it to NAT. Does this create a problem?
– Rainbow
Feb 25 '16 at 6:45
add a comment |
Repository[prbm]
There is a spelling mistake on your link on sources.list it will be present on a directory (/etc/apt/). There you will be able to see the file called sources.list and sources.list.save. Manually copy the contents of file sources.list.save to sources.list. Else use following commands on terminal.(Make sure that you logged on root permission / You need to know the administrator password).
sudo rm /etc/apt/sources.list
sudo cp /etc/apt/sources.list.save /etc/apt/sources.list
sudo apt-get update
sudo apt-get update --fix-missing
I hope it will works fine..
Thanks for replying. The same problem still persists though.
– Rainbow
Feb 25 '16 at 6:53
On what basis you said 'There is a spelling mistake on your link on sources.list'? Just a guess or some clue from the errors?
– Mostafa Ahangarha
Feb 25 '16 at 7:27
add a comment |
I am in Kashmir. I just updated my Ubuntu (15.10) from main server in last few min. Please give a try to updating from the main server and do update using apt
command instead of apt-get
:
sudo apt update
and share the error result
I don't know why you removed the screenshot of the errors in your question. it was useful.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
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%2f738821%2fcannot-update-ubuntu-14-04-apt-get-issues%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
I am facing with same problem. From the errors you can see that you are using the Ubuntu Server in India. Change the update server to something other than India.
Go to Setting > Software & update --- under Ubuntu Software tab, find the drop-down list to choose the server for downloading updates from. Choose main server.
See this:
Thanks for the quick reply. But this solution did not work for me. I had configured internal network earlier and now I have changed it to NAT. Does this create a problem?
– Rainbow
Feb 25 '16 at 6:45
add a comment |
I am facing with same problem. From the errors you can see that you are using the Ubuntu Server in India. Change the update server to something other than India.
Go to Setting > Software & update --- under Ubuntu Software tab, find the drop-down list to choose the server for downloading updates from. Choose main server.
See this:
Thanks for the quick reply. But this solution did not work for me. I had configured internal network earlier and now I have changed it to NAT. Does this create a problem?
– Rainbow
Feb 25 '16 at 6:45
add a comment |
I am facing with same problem. From the errors you can see that you are using the Ubuntu Server in India. Change the update server to something other than India.
Go to Setting > Software & update --- under Ubuntu Software tab, find the drop-down list to choose the server for downloading updates from. Choose main server.
See this:
I am facing with same problem. From the errors you can see that you are using the Ubuntu Server in India. Change the update server to something other than India.
Go to Setting > Software & update --- under Ubuntu Software tab, find the drop-down list to choose the server for downloading updates from. Choose main server.
See this:
answered Feb 25 '16 at 6:37
Mostafa AhangarhaMostafa Ahangarha
2,61152142
2,61152142
Thanks for the quick reply. But this solution did not work for me. I had configured internal network earlier and now I have changed it to NAT. Does this create a problem?
– Rainbow
Feb 25 '16 at 6:45
add a comment |
Thanks for the quick reply. But this solution did not work for me. I had configured internal network earlier and now I have changed it to NAT. Does this create a problem?
– Rainbow
Feb 25 '16 at 6:45
Thanks for the quick reply. But this solution did not work for me. I had configured internal network earlier and now I have changed it to NAT. Does this create a problem?
– Rainbow
Feb 25 '16 at 6:45
Thanks for the quick reply. But this solution did not work for me. I had configured internal network earlier and now I have changed it to NAT. Does this create a problem?
– Rainbow
Feb 25 '16 at 6:45
add a comment |
Repository[prbm]
There is a spelling mistake on your link on sources.list it will be present on a directory (/etc/apt/). There you will be able to see the file called sources.list and sources.list.save. Manually copy the contents of file sources.list.save to sources.list. Else use following commands on terminal.(Make sure that you logged on root permission / You need to know the administrator password).
sudo rm /etc/apt/sources.list
sudo cp /etc/apt/sources.list.save /etc/apt/sources.list
sudo apt-get update
sudo apt-get update --fix-missing
I hope it will works fine..
Thanks for replying. The same problem still persists though.
– Rainbow
Feb 25 '16 at 6:53
On what basis you said 'There is a spelling mistake on your link on sources.list'? Just a guess or some clue from the errors?
– Mostafa Ahangarha
Feb 25 '16 at 7:27
add a comment |
Repository[prbm]
There is a spelling mistake on your link on sources.list it will be present on a directory (/etc/apt/). There you will be able to see the file called sources.list and sources.list.save. Manually copy the contents of file sources.list.save to sources.list. Else use following commands on terminal.(Make sure that you logged on root permission / You need to know the administrator password).
sudo rm /etc/apt/sources.list
sudo cp /etc/apt/sources.list.save /etc/apt/sources.list
sudo apt-get update
sudo apt-get update --fix-missing
I hope it will works fine..
Thanks for replying. The same problem still persists though.
– Rainbow
Feb 25 '16 at 6:53
On what basis you said 'There is a spelling mistake on your link on sources.list'? Just a guess or some clue from the errors?
– Mostafa Ahangarha
Feb 25 '16 at 7:27
add a comment |
Repository[prbm]
There is a spelling mistake on your link on sources.list it will be present on a directory (/etc/apt/). There you will be able to see the file called sources.list and sources.list.save. Manually copy the contents of file sources.list.save to sources.list. Else use following commands on terminal.(Make sure that you logged on root permission / You need to know the administrator password).
sudo rm /etc/apt/sources.list
sudo cp /etc/apt/sources.list.save /etc/apt/sources.list
sudo apt-get update
sudo apt-get update --fix-missing
I hope it will works fine..
Repository[prbm]
There is a spelling mistake on your link on sources.list it will be present on a directory (/etc/apt/). There you will be able to see the file called sources.list and sources.list.save. Manually copy the contents of file sources.list.save to sources.list. Else use following commands on terminal.(Make sure that you logged on root permission / You need to know the administrator password).
sudo rm /etc/apt/sources.list
sudo cp /etc/apt/sources.list.save /etc/apt/sources.list
sudo apt-get update
sudo apt-get update --fix-missing
I hope it will works fine..
answered Feb 25 '16 at 6:41
Vijayaprakash PVijayaprakash P
5711
5711
Thanks for replying. The same problem still persists though.
– Rainbow
Feb 25 '16 at 6:53
On what basis you said 'There is a spelling mistake on your link on sources.list'? Just a guess or some clue from the errors?
– Mostafa Ahangarha
Feb 25 '16 at 7:27
add a comment |
Thanks for replying. The same problem still persists though.
– Rainbow
Feb 25 '16 at 6:53
On what basis you said 'There is a spelling mistake on your link on sources.list'? Just a guess or some clue from the errors?
– Mostafa Ahangarha
Feb 25 '16 at 7:27
Thanks for replying. The same problem still persists though.
– Rainbow
Feb 25 '16 at 6:53
Thanks for replying. The same problem still persists though.
– Rainbow
Feb 25 '16 at 6:53
On what basis you said 'There is a spelling mistake on your link on sources.list'? Just a guess or some clue from the errors?
– Mostafa Ahangarha
Feb 25 '16 at 7:27
On what basis you said 'There is a spelling mistake on your link on sources.list'? Just a guess or some clue from the errors?
– Mostafa Ahangarha
Feb 25 '16 at 7:27
add a comment |
I am in Kashmir. I just updated my Ubuntu (15.10) from main server in last few min. Please give a try to updating from the main server and do update using apt
command instead of apt-get
:
sudo apt update
and share the error result
I don't know why you removed the screenshot of the errors in your question. it was useful.
add a comment |
I am in Kashmir. I just updated my Ubuntu (15.10) from main server in last few min. Please give a try to updating from the main server and do update using apt
command instead of apt-get
:
sudo apt update
and share the error result
I don't know why you removed the screenshot of the errors in your question. it was useful.
add a comment |
I am in Kashmir. I just updated my Ubuntu (15.10) from main server in last few min. Please give a try to updating from the main server and do update using apt
command instead of apt-get
:
sudo apt update
and share the error result
I don't know why you removed the screenshot of the errors in your question. it was useful.
I am in Kashmir. I just updated my Ubuntu (15.10) from main server in last few min. Please give a try to updating from the main server and do update using apt
command instead of apt-get
:
sudo apt update
and share the error result
I don't know why you removed the screenshot of the errors in your question. it was useful.
answered Feb 25 '16 at 7:32
Mostafa AhangarhaMostafa Ahangarha
2,61152142
2,61152142
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
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%2f738821%2fcannot-update-ubuntu-14-04-apt-get-issues%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
Use code formatting. Then you can post the output with URLs.
– muru
Feb 25 '16 at 7:34
Possible duplicate of apt-get update cannot find ubuntu servers
– TheSchwa
Feb 26 '16 at 1:37