Can't install PostgreSQL on Ubuntu 16.10

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












I'm trying to install PostgreSQL on ubuntu 16.10, I'm running following commands:



$ sudo apt-get update


After executing this command, I get some errors like: E: Failed to fetch http://ams2.mirrors.digitalocean.com/ubuntu/dists/yakkety-backports/universe/binary-all/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.



Then I run:



$ sudo apt-get install postgresql postgresql-contrib


and get:



Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package postgresql
E: Unable to locate package postgresql-contrib


Any ideas?










share|improve this question

























    up vote
    0
    down vote

    favorite












    I'm trying to install PostgreSQL on ubuntu 16.10, I'm running following commands:



    $ sudo apt-get update


    After executing this command, I get some errors like: E: Failed to fetch http://ams2.mirrors.digitalocean.com/ubuntu/dists/yakkety-backports/universe/binary-all/Packages 404 Not Found
    E: Some index files failed to download. They have been ignored, or old ones used instead.



    Then I run:



    $ sudo apt-get install postgresql postgresql-contrib


    and get:



    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Unable to locate package postgresql
    E: Unable to locate package postgresql-contrib


    Any ideas?










    share|improve this question























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I'm trying to install PostgreSQL on ubuntu 16.10, I'm running following commands:



      $ sudo apt-get update


      After executing this command, I get some errors like: E: Failed to fetch http://ams2.mirrors.digitalocean.com/ubuntu/dists/yakkety-backports/universe/binary-all/Packages 404 Not Found
      E: Some index files failed to download. They have been ignored, or old ones used instead.



      Then I run:



      $ sudo apt-get install postgresql postgresql-contrib


      and get:



      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      E: Unable to locate package postgresql
      E: Unable to locate package postgresql-contrib


      Any ideas?










      share|improve this question













      I'm trying to install PostgreSQL on ubuntu 16.10, I'm running following commands:



      $ sudo apt-get update


      After executing this command, I get some errors like: E: Failed to fetch http://ams2.mirrors.digitalocean.com/ubuntu/dists/yakkety-backports/universe/binary-all/Packages 404 Not Found
      E: Some index files failed to download. They have been ignored, or old ones used instead.



      Then I run:



      $ sudo apt-get install postgresql postgresql-contrib


      and get:



      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      E: Unable to locate package postgresql
      E: Unable to locate package postgresql-contrib


      Any ideas?







      apt software-installation updates 16.10 postgresql






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Feb 3 at 19:23









      Arkadi

      1296




      1296

























          active

          oldest

          votes











          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',
          convertImagesToLinks: true,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          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%2f1002736%2fcant-install-postgresql-on-ubuntu-16-10%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1002736%2fcant-install-postgresql-on-ubuntu-16-10%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          Which professions warranted travel in Medieval times?

          How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

          Trouble downloading packages list due to a “Hash sum mismatch” error