Updating the apt-get command in the terminal












1














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.











share|improve this question









New contributor




Adam is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 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
















1














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.











share|improve this question









New contributor




Adam is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 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














1












1








1


1





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.











share|improve this question









New contributor




Adam is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











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






share|improve this question









New contributor




Adam is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Adam is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 2 days ago









Sourav Ghosh

39729




39729






New contributor




Adam is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked Dec 29 '18 at 13:55









Adam

1085




1085




New contributor




Adam is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Adam is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Adam is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








  • 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




    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










1 Answer
1






active

oldest

votes


















2














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:




  1. Your linux has an ip address.

  2. If you have an ip address, you are connected to the internet (ping to 8.8.8.8).

  3. If you can ping to 8.8.8.8, try ping to google.com

  4. 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





share|improve this answer








New contributor




Jean Novak is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.


















  • 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













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.










draft saved

draft discarded


















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









2














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:




  1. Your linux has an ip address.

  2. If you have an ip address, you are connected to the internet (ping to 8.8.8.8).

  3. If you can ping to 8.8.8.8, try ping to google.com

  4. 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





share|improve this answer








New contributor




Jean Novak is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.


















  • 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


















2














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:




  1. Your linux has an ip address.

  2. If you have an ip address, you are connected to the internet (ping to 8.8.8.8).

  3. If you can ping to 8.8.8.8, try ping to google.com

  4. 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





share|improve this answer








New contributor




Jean Novak is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.


















  • 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
















2












2








2






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:




  1. Your linux has an ip address.

  2. If you have an ip address, you are connected to the internet (ping to 8.8.8.8).

  3. If you can ping to 8.8.8.8, try ping to google.com

  4. 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





share|improve this answer








New contributor




Jean Novak is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









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:




  1. Your linux has an ip address.

  2. If you have an ip address, you are connected to the internet (ping to 8.8.8.8).

  3. If you can ping to 8.8.8.8, try ping to google.com

  4. 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






share|improve this answer








New contributor




Jean Novak is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this answer



share|improve this answer






New contributor




Jean Novak is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









answered Dec 29 '18 at 14:06









Jean Novak

461




461




New contributor




Jean Novak is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Jean Novak is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Jean Novak is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • 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












  • 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












Adam is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















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.




draft saved


draft discarded














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





















































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







Popular posts from this blog

How did Captain America manage to do this?

迪纳利

南乌拉尔铁路局