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




















  • 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




















  • 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
















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















share|improve this question













share|improve this question




share|improve this question








edited Dec 31 '18 at 8:32









Sourav Ghosh

38329




38329










asked Dec 29 '18 at 13:55









AdamAdam

1206




1206








  • 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



















  • 1





    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













  • @user535733 sorry are there other alternatives to google for step 3?

    – Adam
    Jan 15 at 8:44











  • @Jean Novak sorry are there other alternatives to google for step 3?

    – Adam
    Jan 15 at 8:45











  • Of course there are alternatives. Millions of them. The suggestion for 8.8.8.8 is simply because it's easy to remember and certain to be up. Look up and ping as many alternatives you wish. There are two alternatives right there in the answer already.

    – user535733
    Jan 15 at 10:55













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
});


}
});














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



















  • 1





    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













  • @user535733 sorry are there other alternatives to google for step 3?

    – Adam
    Jan 15 at 8:44











  • @Jean Novak sorry are there other alternatives to google for step 3?

    – Adam
    Jan 15 at 8:45











  • Of course there are alternatives. Millions of them. The suggestion for 8.8.8.8 is simply because it's easy to remember and certain to be up. Look up and ping as many alternatives you wish. There are two alternatives right there in the answer already.

    – user535733
    Jan 15 at 10:55


















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



















  • 1





    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













  • @user535733 sorry are there other alternatives to google for step 3?

    – Adam
    Jan 15 at 8:44











  • @Jean Novak sorry are there other alternatives to google for step 3?

    – Adam
    Jan 15 at 8:45











  • Of course there are alternatives. Millions of them. The suggestion for 8.8.8.8 is simply because it's easy to remember and certain to be up. Look up and ping as many alternatives you wish. There are two alternatives right there in the answer already.

    – user535733
    Jan 15 at 10:55
















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













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












share|improve this answer



share|improve this answer










answered Dec 29 '18 at 14:06









Jean NovakJean Novak

461




461








  • 1





    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













  • @user535733 sorry are there other alternatives to google for step 3?

    – Adam
    Jan 15 at 8:44











  • @Jean Novak sorry are there other alternatives to google for step 3?

    – Adam
    Jan 15 at 8:45











  • Of course there are alternatives. Millions of them. The suggestion for 8.8.8.8 is simply because it's easy to remember and certain to be up. Look up and ping as many alternatives you wish. There are two alternatives right there in the answer already.

    – user535733
    Jan 15 at 10:55
















  • 1





    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













  • @user535733 sorry are there other alternatives to google for step 3?

    – Adam
    Jan 15 at 8:44











  • @Jean Novak sorry are there other alternatives to google for step 3?

    – Adam
    Jan 15 at 8:45











  • Of course there are alternatives. Millions of them. The suggestion for 8.8.8.8 is simply because it's easy to remember and certain to be up. Look up and ping as many alternatives you wish. There are two alternatives right there in the answer already.

    – user535733
    Jan 15 at 10:55










1




1





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















@user535733 sorry are there other alternatives to google for step 3?

– Adam
Jan 15 at 8:44





@user535733 sorry are there other alternatives to google for step 3?

– Adam
Jan 15 at 8:44













@Jean Novak sorry are there other alternatives to google for step 3?

– Adam
Jan 15 at 8:45





@Jean Novak sorry are there other alternatives to google for step 3?

– Adam
Jan 15 at 8:45













Of course there are alternatives. Millions of them. The suggestion for 8.8.8.8 is simply because it's easy to remember and certain to be up. Look up and ping as many alternatives you wish. There are two alternatives right there in the answer already.

– user535733
Jan 15 at 10:55







Of course there are alternatives. Millions of them. The suggestion for 8.8.8.8 is simply because it's easy to remember and certain to be up. Look up and ping as many alternatives you wish. There are two alternatives right there in the answer already.

– user535733
Jan 15 at 10:55




















draft saved

draft discarded




















































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.




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 to change which sound is reproduced for terminal bell?

Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

Can I use Tabulator js library in my java Spring + Thymeleaf project?