Debian: The repository does not have a Release file











up vote
21
down vote

favorite
5












Whenever trying to install some programs from source, or specifically running apt update, I receive this message:



E: The repository 'http://ftp.ca.debian.org/debian stretch/updates 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.


I started getting this after adding the architecture i386. Without it, I would not be able to install the proprietary Nvidia driver, and Steam client would not start at all.
This is what my /etc/apt/sources.list reads:



deb http://ftp.ca.debian.org/debian/ stretch main contrib non-free
deb-src http://ftp.ca.debian.org/debian/ stretch main contrib non-free

deb http://ftp.ca.debian.org/debian/ stretch/updates main contrib non-free
deb-src http://ftp.ca.debian.org/debian/ stretch/updates main contrib non-free

####stretch-updates, previously known as 'volatile'

deb http://ftp.ca.debian.org/debian/ stretch-updates main contrib non-free

deb-src http://ftp.ca.debian.org/debian/ stretch-updates main contrib non-free









share|improve this question




























    up vote
    21
    down vote

    favorite
    5












    Whenever trying to install some programs from source, or specifically running apt update, I receive this message:



    E: The repository 'http://ftp.ca.debian.org/debian stretch/updates 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.


    I started getting this after adding the architecture i386. Without it, I would not be able to install the proprietary Nvidia driver, and Steam client would not start at all.
    This is what my /etc/apt/sources.list reads:



    deb http://ftp.ca.debian.org/debian/ stretch main contrib non-free
    deb-src http://ftp.ca.debian.org/debian/ stretch main contrib non-free

    deb http://ftp.ca.debian.org/debian/ stretch/updates main contrib non-free
    deb-src http://ftp.ca.debian.org/debian/ stretch/updates main contrib non-free

    ####stretch-updates, previously known as 'volatile'

    deb http://ftp.ca.debian.org/debian/ stretch-updates main contrib non-free

    deb-src http://ftp.ca.debian.org/debian/ stretch-updates main contrib non-free









    share|improve this question


























      up vote
      21
      down vote

      favorite
      5









      up vote
      21
      down vote

      favorite
      5






      5





      Whenever trying to install some programs from source, or specifically running apt update, I receive this message:



      E: The repository 'http://ftp.ca.debian.org/debian stretch/updates 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.


      I started getting this after adding the architecture i386. Without it, I would not be able to install the proprietary Nvidia driver, and Steam client would not start at all.
      This is what my /etc/apt/sources.list reads:



      deb http://ftp.ca.debian.org/debian/ stretch main contrib non-free
      deb-src http://ftp.ca.debian.org/debian/ stretch main contrib non-free

      deb http://ftp.ca.debian.org/debian/ stretch/updates main contrib non-free
      deb-src http://ftp.ca.debian.org/debian/ stretch/updates main contrib non-free

      ####stretch-updates, previously known as 'volatile'

      deb http://ftp.ca.debian.org/debian/ stretch-updates main contrib non-free

      deb-src http://ftp.ca.debian.org/debian/ stretch-updates main contrib non-free









      share|improve this question















      Whenever trying to install some programs from source, or specifically running apt update, I receive this message:



      E: The repository 'http://ftp.ca.debian.org/debian stretch/updates 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.


      I started getting this after adding the architecture i386. Without it, I would not be able to install the proprietary Nvidia driver, and Steam client would not start at all.
      This is what my /etc/apt/sources.list reads:



      deb http://ftp.ca.debian.org/debian/ stretch main contrib non-free
      deb-src http://ftp.ca.debian.org/debian/ stretch main contrib non-free

      deb http://ftp.ca.debian.org/debian/ stretch/updates main contrib non-free
      deb-src http://ftp.ca.debian.org/debian/ stretch/updates main contrib non-free

      ####stretch-updates, previously known as 'volatile'

      deb http://ftp.ca.debian.org/debian/ stretch-updates main contrib non-free

      deb-src http://ftp.ca.debian.org/debian/ stretch-updates main contrib non-free






      debian apt package-management






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Apr 17 at 14:54









      GAD3R

      24.3k1749103




      24.3k1749103










      asked Jun 19 '17 at 2:12









      Nick Bailuc

      213129




      213129






















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          12
          down vote



          accepted










          You’ve got both stretch-updates and stretch/updates, but the latter doesn’t exist any more (at least on the mirror you’re using). You should remove the references to stretch/updates, or — if you’re expecting the stretch/updates lines to provide security updates — replace them with



          deb http://security.debian.org/ stretch/updates main contrib non-free





          share|improve this answer























          • i removed it, and it solved the issue, but its odd because in the Software & Sources program, stretch/release (with the slash) refers to the security updates of stretch.
            – Nick Bailuc
            Jun 19 '17 at 5:37






          • 2




            Right, but that’s from https://security.debian.org, not your local mirror. (And it’s stretch/updates , not stretch/release; see here for the Release file and the corresponding instructions.)
            – Stephen Kitt
            Jun 19 '17 at 6:10




















          up vote
          0
          down vote













          Im having the same error but with postgresql this is what i get this when I run apt-get update



          E: The repository 'http://apt.postgresql.org/pub/repos/apt kali-rolling-pgdg 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.


          what could be the problem






          share|improve this answer








          New contributor




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


















          • Welcome to U&L! If you feel your problem is similar to that of the OP (but the answers to their question are not working for you) you should post your own question. Answers should not be used to ask new questions or add points to existing questions. Skim through the Help (how to ask, answer) for more information.
            – fra-san
            2 days ago











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "106"
          };
          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',
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          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%2funix.stackexchange.com%2fquestions%2f371890%2fdebian-the-repository-does-not-have-a-release-file%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          12
          down vote



          accepted










          You’ve got both stretch-updates and stretch/updates, but the latter doesn’t exist any more (at least on the mirror you’re using). You should remove the references to stretch/updates, or — if you’re expecting the stretch/updates lines to provide security updates — replace them with



          deb http://security.debian.org/ stretch/updates main contrib non-free





          share|improve this answer























          • i removed it, and it solved the issue, but its odd because in the Software & Sources program, stretch/release (with the slash) refers to the security updates of stretch.
            – Nick Bailuc
            Jun 19 '17 at 5:37






          • 2




            Right, but that’s from https://security.debian.org, not your local mirror. (And it’s stretch/updates , not stretch/release; see here for the Release file and the corresponding instructions.)
            – Stephen Kitt
            Jun 19 '17 at 6:10

















          up vote
          12
          down vote



          accepted










          You’ve got both stretch-updates and stretch/updates, but the latter doesn’t exist any more (at least on the mirror you’re using). You should remove the references to stretch/updates, or — if you’re expecting the stretch/updates lines to provide security updates — replace them with



          deb http://security.debian.org/ stretch/updates main contrib non-free





          share|improve this answer























          • i removed it, and it solved the issue, but its odd because in the Software & Sources program, stretch/release (with the slash) refers to the security updates of stretch.
            – Nick Bailuc
            Jun 19 '17 at 5:37






          • 2




            Right, but that’s from https://security.debian.org, not your local mirror. (And it’s stretch/updates , not stretch/release; see here for the Release file and the corresponding instructions.)
            – Stephen Kitt
            Jun 19 '17 at 6:10















          up vote
          12
          down vote



          accepted







          up vote
          12
          down vote



          accepted






          You’ve got both stretch-updates and stretch/updates, but the latter doesn’t exist any more (at least on the mirror you’re using). You should remove the references to stretch/updates, or — if you’re expecting the stretch/updates lines to provide security updates — replace them with



          deb http://security.debian.org/ stretch/updates main contrib non-free





          share|improve this answer














          You’ve got both stretch-updates and stretch/updates, but the latter doesn’t exist any more (at least on the mirror you’re using). You should remove the references to stretch/updates, or — if you’re expecting the stretch/updates lines to provide security updates — replace them with



          deb http://security.debian.org/ stretch/updates main contrib non-free






          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Jun 19 '17 at 6:48

























          answered Jun 19 '17 at 4:24









          Stephen Kitt

          157k23343416




          157k23343416












          • i removed it, and it solved the issue, but its odd because in the Software & Sources program, stretch/release (with the slash) refers to the security updates of stretch.
            – Nick Bailuc
            Jun 19 '17 at 5:37






          • 2




            Right, but that’s from https://security.debian.org, not your local mirror. (And it’s stretch/updates , not stretch/release; see here for the Release file and the corresponding instructions.)
            – Stephen Kitt
            Jun 19 '17 at 6:10




















          • i removed it, and it solved the issue, but its odd because in the Software & Sources program, stretch/release (with the slash) refers to the security updates of stretch.
            – Nick Bailuc
            Jun 19 '17 at 5:37






          • 2




            Right, but that’s from https://security.debian.org, not your local mirror. (And it’s stretch/updates , not stretch/release; see here for the Release file and the corresponding instructions.)
            – Stephen Kitt
            Jun 19 '17 at 6:10


















          i removed it, and it solved the issue, but its odd because in the Software & Sources program, stretch/release (with the slash) refers to the security updates of stretch.
          – Nick Bailuc
          Jun 19 '17 at 5:37




          i removed it, and it solved the issue, but its odd because in the Software & Sources program, stretch/release (with the slash) refers to the security updates of stretch.
          – Nick Bailuc
          Jun 19 '17 at 5:37




          2




          2




          Right, but that’s from https://security.debian.org, not your local mirror. (And it’s stretch/updates , not stretch/release; see here for the Release file and the corresponding instructions.)
          – Stephen Kitt
          Jun 19 '17 at 6:10






          Right, but that’s from https://security.debian.org, not your local mirror. (And it’s stretch/updates , not stretch/release; see here for the Release file and the corresponding instructions.)
          – Stephen Kitt
          Jun 19 '17 at 6:10














          up vote
          0
          down vote













          Im having the same error but with postgresql this is what i get this when I run apt-get update



          E: The repository 'http://apt.postgresql.org/pub/repos/apt kali-rolling-pgdg 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.


          what could be the problem






          share|improve this answer








          New contributor




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


















          • Welcome to U&L! If you feel your problem is similar to that of the OP (but the answers to their question are not working for you) you should post your own question. Answers should not be used to ask new questions or add points to existing questions. Skim through the Help (how to ask, answer) for more information.
            – fra-san
            2 days ago















          up vote
          0
          down vote













          Im having the same error but with postgresql this is what i get this when I run apt-get update



          E: The repository 'http://apt.postgresql.org/pub/repos/apt kali-rolling-pgdg 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.


          what could be the problem






          share|improve this answer








          New contributor




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


















          • Welcome to U&L! If you feel your problem is similar to that of the OP (but the answers to their question are not working for you) you should post your own question. Answers should not be used to ask new questions or add points to existing questions. Skim through the Help (how to ask, answer) for more information.
            – fra-san
            2 days ago













          up vote
          0
          down vote










          up vote
          0
          down vote









          Im having the same error but with postgresql this is what i get this when I run apt-get update



          E: The repository 'http://apt.postgresql.org/pub/repos/apt kali-rolling-pgdg 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.


          what could be the problem






          share|improve this answer








          New contributor




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









          Im having the same error but with postgresql this is what i get this when I run apt-get update



          E: The repository 'http://apt.postgresql.org/pub/repos/apt kali-rolling-pgdg 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.


          what could be the problem







          share|improve this answer








          New contributor




          LarryTheGeek 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




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









          answered 2 days ago









          LarryTheGeek

          1




          1




          New contributor




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





          New contributor





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






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












          • Welcome to U&L! If you feel your problem is similar to that of the OP (but the answers to their question are not working for you) you should post your own question. Answers should not be used to ask new questions or add points to existing questions. Skim through the Help (how to ask, answer) for more information.
            – fra-san
            2 days ago


















          • Welcome to U&L! If you feel your problem is similar to that of the OP (but the answers to their question are not working for you) you should post your own question. Answers should not be used to ask new questions or add points to existing questions. Skim through the Help (how to ask, answer) for more information.
            – fra-san
            2 days ago
















          Welcome to U&L! If you feel your problem is similar to that of the OP (but the answers to their question are not working for you) you should post your own question. Answers should not be used to ask new questions or add points to existing questions. Skim through the Help (how to ask, answer) for more information.
          – fra-san
          2 days ago




          Welcome to U&L! If you feel your problem is similar to that of the OP (but the answers to their question are not working for you) you should post your own question. Answers should not be used to ask new questions or add points to existing questions. Skim through the Help (how to ask, answer) for more information.
          – fra-san
          2 days ago


















           

          draft saved


          draft discarded



















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f371890%2fdebian-the-repository-does-not-have-a-release-file%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

          サソリ

          広島県道265号伴広島線

          Accessing regular linux commands in Huawei's Dopra Linux