Updating the apt-get command in the terminal
I have only recently installed ubuntu 18.04 on one of my machines as a means of becoming competent in using a Linux system, when I attempt to use the command
sudo apt-get update
I receive an error message saying
Could not resolve 'security.ubuntu.com'
and likewise for all four of the main repositories. If it is necessary for me to print the exact output just let me know..
UPDATED:
I was able to update upon reboot of my system, however only partially, receiving the following error message in my output:
E: The repository 'http://security.ubuntu.com bionic-security Release'
does not have a Release file.
N: Updating from such a repository can't be done securely, and is
therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user
configuration details.
command-line apt updates
New contributor
add a comment |
I have only recently installed ubuntu 18.04 on one of my machines as a means of becoming competent in using a Linux system, when I attempt to use the command
sudo apt-get update
I receive an error message saying
Could not resolve 'security.ubuntu.com'
and likewise for all four of the main repositories. If it is necessary for me to print the exact output just let me know..
UPDATED:
I was able to update upon reboot of my system, however only partially, receiving the following error message in my output:
E: The repository 'http://security.ubuntu.com bionic-security Release'
does not have a Release file.
N: Updating from such a repository can't be done securely, and is
therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user
configuration details.
command-line apt updates
New contributor
2
In general, one should show the error messages (properly formatted, in a Edit ( askubuntu.com/posts/1105366/edit ) to your post, so that more knowledgable users can try to diagnose the problem. So far, your complaint looks like a networking or routing problem, but without the actual messages, no one can tell.
– waltinator
Dec 29 '18 at 14:00
ok thanks very much I will reformat things appropriately and edit the post accordingly
– Adam
Dec 29 '18 at 14:02
add a comment |
I have only recently installed ubuntu 18.04 on one of my machines as a means of becoming competent in using a Linux system, when I attempt to use the command
sudo apt-get update
I receive an error message saying
Could not resolve 'security.ubuntu.com'
and likewise for all four of the main repositories. If it is necessary for me to print the exact output just let me know..
UPDATED:
I was able to update upon reboot of my system, however only partially, receiving the following error message in my output:
E: The repository 'http://security.ubuntu.com bionic-security Release'
does not have a Release file.
N: Updating from such a repository can't be done securely, and is
therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user
configuration details.
command-line apt updates
New contributor
I have only recently installed ubuntu 18.04 on one of my machines as a means of becoming competent in using a Linux system, when I attempt to use the command
sudo apt-get update
I receive an error message saying
Could not resolve 'security.ubuntu.com'
and likewise for all four of the main repositories. If it is necessary for me to print the exact output just let me know..
UPDATED:
I was able to update upon reboot of my system, however only partially, receiving the following error message in my output:
E: The repository 'http://security.ubuntu.com bionic-security Release'
does not have a Release file.
N: Updating from such a repository can't be done securely, and is
therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user
configuration details.
command-line apt updates
command-line apt updates
New contributor
New contributor
edited 2 days ago
Sourav Ghosh
39729
39729
New contributor
asked Dec 29 '18 at 13:55
Adam
1085
1085
New contributor
New contributor
2
In general, one should show the error messages (properly formatted, in a Edit ( askubuntu.com/posts/1105366/edit ) to your post, so that more knowledgable users can try to diagnose the problem. So far, your complaint looks like a networking or routing problem, but without the actual messages, no one can tell.
– waltinator
Dec 29 '18 at 14:00
ok thanks very much I will reformat things appropriately and edit the post accordingly
– Adam
Dec 29 '18 at 14:02
add a comment |
2
In general, one should show the error messages (properly formatted, in a Edit ( askubuntu.com/posts/1105366/edit ) to your post, so that more knowledgable users can try to diagnose the problem. So far, your complaint looks like a networking or routing problem, but without the actual messages, no one can tell.
– waltinator
Dec 29 '18 at 14:00
ok thanks very much I will reformat things appropriately and edit the post accordingly
– Adam
Dec 29 '18 at 14:02
2
2
In general, one should show the error messages (properly formatted, in a Edit ( askubuntu.com/posts/1105366/edit ) to your post, so that more knowledgable users can try to diagnose the problem. So far, your complaint looks like a networking or routing problem, but without the actual messages, no one can tell.
– waltinator
Dec 29 '18 at 14:00
In general, one should show the error messages (properly formatted, in a Edit ( askubuntu.com/posts/1105366/edit ) to your post, so that more knowledgable users can try to diagnose the problem. So far, your complaint looks like a networking or routing problem, but without the actual messages, no one can tell.
– waltinator
Dec 29 '18 at 14:00
ok thanks very much I will reformat things appropriately and edit the post accordingly
– Adam
Dec 29 '18 at 14:02
ok thanks very much I will reformat things appropriately and edit the post accordingly
– Adam
Dec 29 '18 at 14:02
add a comment |
1 Answer
1
active
oldest
votes
Could not resolve 'security.ubuntu.com means the system cannot find to which IP address security.ubuntu.com is pointing to. This means your DNS is broken.
To fix it, make sure of a few things:
- Your linux has an ip address.
- If you have an ip address, you are connected to the internet (ping to 8.8.8.8).
- If you can ping to 8.8.8.8, try ping to google.com
- If step 2 worked but step 3 didn`t, you need to fix your dns. Make sure that in the file /etc/resolv.conf there's a valid dns server.
I'm using umbrella DNS servers:
cat /etc/resolv.conf
nameserver 208.67.220.220
nameserver 208.67.222.222
New contributor
Some folks with this problem are on school or corporate networks that require the use of network login or apt proxies.
– user535733
Dec 29 '18 at 14:12
ok thanks I do believe I must be connected to the internet seeing that I was able to complete a partial update as I have described in what I appended to this post, I will check my dns as you have mentioned to see if this maybe to the new problem I am encountering
– Adam
Dec 29 '18 at 14:51
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
});
}
});
Adam is a new contributor. Be nice, and check out our Code of Conduct.
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%2f1105366%2fupdating-the-apt-get-command-in-the-terminal%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Could not resolve 'security.ubuntu.com means the system cannot find to which IP address security.ubuntu.com is pointing to. This means your DNS is broken.
To fix it, make sure of a few things:
- Your linux has an ip address.
- If you have an ip address, you are connected to the internet (ping to 8.8.8.8).
- If you can ping to 8.8.8.8, try ping to google.com
- If step 2 worked but step 3 didn`t, you need to fix your dns. Make sure that in the file /etc/resolv.conf there's a valid dns server.
I'm using umbrella DNS servers:
cat /etc/resolv.conf
nameserver 208.67.220.220
nameserver 208.67.222.222
New contributor
Some folks with this problem are on school or corporate networks that require the use of network login or apt proxies.
– user535733
Dec 29 '18 at 14:12
ok thanks I do believe I must be connected to the internet seeing that I was able to complete a partial update as I have described in what I appended to this post, I will check my dns as you have mentioned to see if this maybe to the new problem I am encountering
– Adam
Dec 29 '18 at 14:51
add a comment |
Could not resolve 'security.ubuntu.com means the system cannot find to which IP address security.ubuntu.com is pointing to. This means your DNS is broken.
To fix it, make sure of a few things:
- Your linux has an ip address.
- If you have an ip address, you are connected to the internet (ping to 8.8.8.8).
- If you can ping to 8.8.8.8, try ping to google.com
- If step 2 worked but step 3 didn`t, you need to fix your dns. Make sure that in the file /etc/resolv.conf there's a valid dns server.
I'm using umbrella DNS servers:
cat /etc/resolv.conf
nameserver 208.67.220.220
nameserver 208.67.222.222
New contributor
Some folks with this problem are on school or corporate networks that require the use of network login or apt proxies.
– user535733
Dec 29 '18 at 14:12
ok thanks I do believe I must be connected to the internet seeing that I was able to complete a partial update as I have described in what I appended to this post, I will check my dns as you have mentioned to see if this maybe to the new problem I am encountering
– Adam
Dec 29 '18 at 14:51
add a comment |
Could not resolve 'security.ubuntu.com means the system cannot find to which IP address security.ubuntu.com is pointing to. This means your DNS is broken.
To fix it, make sure of a few things:
- Your linux has an ip address.
- If you have an ip address, you are connected to the internet (ping to 8.8.8.8).
- If you can ping to 8.8.8.8, try ping to google.com
- If step 2 worked but step 3 didn`t, you need to fix your dns. Make sure that in the file /etc/resolv.conf there's a valid dns server.
I'm using umbrella DNS servers:
cat /etc/resolv.conf
nameserver 208.67.220.220
nameserver 208.67.222.222
New contributor
Could not resolve 'security.ubuntu.com means the system cannot find to which IP address security.ubuntu.com is pointing to. This means your DNS is broken.
To fix it, make sure of a few things:
- Your linux has an ip address.
- If you have an ip address, you are connected to the internet (ping to 8.8.8.8).
- If you can ping to 8.8.8.8, try ping to google.com
- If step 2 worked but step 3 didn`t, you need to fix your dns. Make sure that in the file /etc/resolv.conf there's a valid dns server.
I'm using umbrella DNS servers:
cat /etc/resolv.conf
nameserver 208.67.220.220
nameserver 208.67.222.222
New contributor
New contributor
answered Dec 29 '18 at 14:06
Jean Novak
461
461
New contributor
New contributor
Some folks with this problem are on school or corporate networks that require the use of network login or apt proxies.
– user535733
Dec 29 '18 at 14:12
ok thanks I do believe I must be connected to the internet seeing that I was able to complete a partial update as I have described in what I appended to this post, I will check my dns as you have mentioned to see if this maybe to the new problem I am encountering
– Adam
Dec 29 '18 at 14:51
add a comment |
Some folks with this problem are on school or corporate networks that require the use of network login or apt proxies.
– user535733
Dec 29 '18 at 14:12
ok thanks I do believe I must be connected to the internet seeing that I was able to complete a partial update as I have described in what I appended to this post, I will check my dns as you have mentioned to see if this maybe to the new problem I am encountering
– Adam
Dec 29 '18 at 14:51
Some folks with this problem are on school or corporate networks that require the use of network login or apt proxies.
– user535733
Dec 29 '18 at 14:12
Some folks with this problem are on school or corporate networks that require the use of network login or apt proxies.
– user535733
Dec 29 '18 at 14:12
ok thanks I do believe I must be connected to the internet seeing that I was able to complete a partial update as I have described in what I appended to this post, I will check my dns as you have mentioned to see if this maybe to the new problem I am encountering
– Adam
Dec 29 '18 at 14:51
ok thanks I do believe I must be connected to the internet seeing that I was able to complete a partial update as I have described in what I appended to this post, I will check my dns as you have mentioned to see if this maybe to the new problem I am encountering
– Adam
Dec 29 '18 at 14:51
add a comment |
Adam is a new contributor. Be nice, and check out our Code of Conduct.
Adam is a new contributor. Be nice, and check out our Code of Conduct.
Adam is a new contributor. Be nice, and check out our Code of Conduct.
Adam is a new contributor. Be nice, and check out our Code of Conduct.
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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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%2f1105366%2fupdating-the-apt-get-command-in-the-terminal%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
2
In general, one should show the error messages (properly formatted, in a Edit ( askubuntu.com/posts/1105366/edit ) to your post, so that more knowledgable users can try to diagnose the problem. So far, your complaint looks like a networking or routing problem, but without the actual messages, no one can tell.
– waltinator
Dec 29 '18 at 14:00
ok thanks very much I will reformat things appropriately and edit the post accordingly
– Adam
Dec 29 '18 at 14:02