Failed to upgrade certbot on Ubuntu Bionic












4















I have installed previously Certbot on Ubuntu, but I believe the package wasn't yet available for this distribution yet, so I believe I installed it from a pre-built package (maybe, I'm really not sure).
Anyway, right now I have certbot 0.26.1 installed:



certbot --version
certbot 0.26.1


I tried to install it using the guide from here:
https://certbot.eff.org/lets-encrypt/ubuntubionic-nginx



Here are some outputs from the current system:



apt-get install python-certbot-nginx 
python-certbot-nginx is already the newest version (0.28.0-1+ubuntu18.04.1+certbot+3).


certbot --version
certbot 0.26.1

which certbot
/usr/bin/certbot

dpkg-query -L python-certbot-nginx
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/python-certbot-nginx
/usr/share/doc/python-certbot-nginx/changelog.Debian.gz
/usr/share/doc/python-certbot-nginx/copyright


so it looks like to me, that "python-certbot-nginx" package doesn't install any binaries. That am I doing wrong here?
I have some totally different packages that can be upgraded (e.g. MySQL, PHP), but I can upgrade these only this sunday. But I believe this is absolutely unrelated to my problem.
Thanks!










share|improve this question





























    4















    I have installed previously Certbot on Ubuntu, but I believe the package wasn't yet available for this distribution yet, so I believe I installed it from a pre-built package (maybe, I'm really not sure).
    Anyway, right now I have certbot 0.26.1 installed:



    certbot --version
    certbot 0.26.1


    I tried to install it using the guide from here:
    https://certbot.eff.org/lets-encrypt/ubuntubionic-nginx



    Here are some outputs from the current system:



    apt-get install python-certbot-nginx 
    python-certbot-nginx is already the newest version (0.28.0-1+ubuntu18.04.1+certbot+3).


    certbot --version
    certbot 0.26.1

    which certbot
    /usr/bin/certbot

    dpkg-query -L python-certbot-nginx
    /.
    /usr
    /usr/share
    /usr/share/doc
    /usr/share/doc/python-certbot-nginx
    /usr/share/doc/python-certbot-nginx/changelog.Debian.gz
    /usr/share/doc/python-certbot-nginx/copyright


    so it looks like to me, that "python-certbot-nginx" package doesn't install any binaries. That am I doing wrong here?
    I have some totally different packages that can be upgraded (e.g. MySQL, PHP), but I can upgrade these only this sunday. But I believe this is absolutely unrelated to my problem.
    Thanks!










    share|improve this question



























      4












      4








      4


      1






      I have installed previously Certbot on Ubuntu, but I believe the package wasn't yet available for this distribution yet, so I believe I installed it from a pre-built package (maybe, I'm really not sure).
      Anyway, right now I have certbot 0.26.1 installed:



      certbot --version
      certbot 0.26.1


      I tried to install it using the guide from here:
      https://certbot.eff.org/lets-encrypt/ubuntubionic-nginx



      Here are some outputs from the current system:



      apt-get install python-certbot-nginx 
      python-certbot-nginx is already the newest version (0.28.0-1+ubuntu18.04.1+certbot+3).


      certbot --version
      certbot 0.26.1

      which certbot
      /usr/bin/certbot

      dpkg-query -L python-certbot-nginx
      /.
      /usr
      /usr/share
      /usr/share/doc
      /usr/share/doc/python-certbot-nginx
      /usr/share/doc/python-certbot-nginx/changelog.Debian.gz
      /usr/share/doc/python-certbot-nginx/copyright


      so it looks like to me, that "python-certbot-nginx" package doesn't install any binaries. That am I doing wrong here?
      I have some totally different packages that can be upgraded (e.g. MySQL, PHP), but I can upgrade these only this sunday. But I believe this is absolutely unrelated to my problem.
      Thanks!










      share|improve this question
















      I have installed previously Certbot on Ubuntu, but I believe the package wasn't yet available for this distribution yet, so I believe I installed it from a pre-built package (maybe, I'm really not sure).
      Anyway, right now I have certbot 0.26.1 installed:



      certbot --version
      certbot 0.26.1


      I tried to install it using the guide from here:
      https://certbot.eff.org/lets-encrypt/ubuntubionic-nginx



      Here are some outputs from the current system:



      apt-get install python-certbot-nginx 
      python-certbot-nginx is already the newest version (0.28.0-1+ubuntu18.04.1+certbot+3).


      certbot --version
      certbot 0.26.1

      which certbot
      /usr/bin/certbot

      dpkg-query -L python-certbot-nginx
      /.
      /usr
      /usr/share
      /usr/share/doc
      /usr/share/doc/python-certbot-nginx
      /usr/share/doc/python-certbot-nginx/changelog.Debian.gz
      /usr/share/doc/python-certbot-nginx/copyright


      so it looks like to me, that "python-certbot-nginx" package doesn't install any binaries. That am I doing wrong here?
      I have some totally different packages that can be upgraded (e.g. MySQL, PHP), but I can upgrade these only this sunday. But I believe this is absolutely unrelated to my problem.
      Thanks!







      apt server 18.04 nginx letsencrypt






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jan 28 at 11:13









      pa4080

      14.5k52772




      14.5k52772










      asked Jan 28 at 10:43









      Lippai ZoltanLippai Zoltan

      232




      232






















          1 Answer
          1






          active

          oldest

          votes


















          3














          Try with the following commands (replace -nginx with -apache if you need) to get the latest version of CertBot:



          sudo apt update
          sudo apt install software-properties-common
          sudo add-apt-repository universe
          sudo add-apt-repository ppa:certbot/certbot
          sudo apt update


          If this is a new installation or it's not a problem to upgrade all packages on your system:



          sudo apt install python-certbot python-certbot-nginx
          sudo apt install python3-certbot python3-certbot-nginx
          sudo apt upgrade


          If you do not want to upgrade all packages in your system, then you can use:



          sudo apt install --only-upgrade python-certbot python-certbot-nginx
          sudo apt install --only-upgrade python3-certbot python3-certbot-nginx


          References:




          • https://certbot.eff.org/lets-encrypt/ubuntubionic-nginx

          • https://certbot.eff.org/lets-encrypt/ubuntubionic-apache

          • certbot version updgrade not implemented


          Reasons to update - from Let's Encrypt newsletter:




          TLS-SNI-01 validation is reaching end-of-life. It will stop working
          temporarily on February 13th, 2019, and permanently on March 13th,
          2019. Any certificates issued before then will continue to work for 90 days after their issuance date.



          You need to update your ACME client to use an alternative validation
          method (HTTP-01, DNS-01 or TLS-ALPN-01) before this date or your
          certificate renewals will break and existing certificates will start
          to expire.



          Our staging environment already has TLS-SNI-01 disabled, so if you'd
          like to test whether your system will work after February 13, you can
          run against staging: https://letsencrypt.org/docs/staging-environment/



          If you're a Certbot user, you can find more information here:
          https://community.letsencrypt.org/t/how-to-stop-using-tls-sni-01-with-certbot/83210



          Our forum has many threads on this topic. Please search to see if your
          question has been answered, then open a new thread if it has not:
          https://community.letsencrypt.org/



          For more information about the TLS-SNI-01 end-of-life please see our
          API announcement:
          https://community.letsencrypt.org/t/february-13-2019-end-of-life-for-all-tls-sni-01-validation-support/74209







          share|improve this answer


























          • Well, basically this is exactly what I did, to get here. (Except for the last upgrade command, which I'll be able to run this Sunday. But it looks to me, that it has now listed cerbot in the list of packages that will be upgraded, so hopefully that will sort it out. Maybe this is because of some dependencies.

            – Lippai Zoltan
            Jan 28 at 11:18











          • @LippaiZoltan, yes, please review the third reference in the answer. If you need you could use sudo apt install --only-upgrade python-certbot.... I just used the above commands to get CertBot 0.28.0 on my freshly installed Ubuntu Bionic.

            – pa4080
            Jan 28 at 11:25













          • That did the trick, I have now v0.28 installed without upgrading all the other packages. Thanks!

            – Lippai Zoltan
            Jan 28 at 15:14











          • I'm glad to help, @LippaiZoltan.

            – pa4080
            Jan 28 at 15:16











          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%2f1113499%2ffailed-to-upgrade-certbot-on-ubuntu-bionic%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









          3














          Try with the following commands (replace -nginx with -apache if you need) to get the latest version of CertBot:



          sudo apt update
          sudo apt install software-properties-common
          sudo add-apt-repository universe
          sudo add-apt-repository ppa:certbot/certbot
          sudo apt update


          If this is a new installation or it's not a problem to upgrade all packages on your system:



          sudo apt install python-certbot python-certbot-nginx
          sudo apt install python3-certbot python3-certbot-nginx
          sudo apt upgrade


          If you do not want to upgrade all packages in your system, then you can use:



          sudo apt install --only-upgrade python-certbot python-certbot-nginx
          sudo apt install --only-upgrade python3-certbot python3-certbot-nginx


          References:




          • https://certbot.eff.org/lets-encrypt/ubuntubionic-nginx

          • https://certbot.eff.org/lets-encrypt/ubuntubionic-apache

          • certbot version updgrade not implemented


          Reasons to update - from Let's Encrypt newsletter:




          TLS-SNI-01 validation is reaching end-of-life. It will stop working
          temporarily on February 13th, 2019, and permanently on March 13th,
          2019. Any certificates issued before then will continue to work for 90 days after their issuance date.



          You need to update your ACME client to use an alternative validation
          method (HTTP-01, DNS-01 or TLS-ALPN-01) before this date or your
          certificate renewals will break and existing certificates will start
          to expire.



          Our staging environment already has TLS-SNI-01 disabled, so if you'd
          like to test whether your system will work after February 13, you can
          run against staging: https://letsencrypt.org/docs/staging-environment/



          If you're a Certbot user, you can find more information here:
          https://community.letsencrypt.org/t/how-to-stop-using-tls-sni-01-with-certbot/83210



          Our forum has many threads on this topic. Please search to see if your
          question has been answered, then open a new thread if it has not:
          https://community.letsencrypt.org/



          For more information about the TLS-SNI-01 end-of-life please see our
          API announcement:
          https://community.letsencrypt.org/t/february-13-2019-end-of-life-for-all-tls-sni-01-validation-support/74209







          share|improve this answer


























          • Well, basically this is exactly what I did, to get here. (Except for the last upgrade command, which I'll be able to run this Sunday. But it looks to me, that it has now listed cerbot in the list of packages that will be upgraded, so hopefully that will sort it out. Maybe this is because of some dependencies.

            – Lippai Zoltan
            Jan 28 at 11:18











          • @LippaiZoltan, yes, please review the third reference in the answer. If you need you could use sudo apt install --only-upgrade python-certbot.... I just used the above commands to get CertBot 0.28.0 on my freshly installed Ubuntu Bionic.

            – pa4080
            Jan 28 at 11:25













          • That did the trick, I have now v0.28 installed without upgrading all the other packages. Thanks!

            – Lippai Zoltan
            Jan 28 at 15:14











          • I'm glad to help, @LippaiZoltan.

            – pa4080
            Jan 28 at 15:16
















          3














          Try with the following commands (replace -nginx with -apache if you need) to get the latest version of CertBot:



          sudo apt update
          sudo apt install software-properties-common
          sudo add-apt-repository universe
          sudo add-apt-repository ppa:certbot/certbot
          sudo apt update


          If this is a new installation or it's not a problem to upgrade all packages on your system:



          sudo apt install python-certbot python-certbot-nginx
          sudo apt install python3-certbot python3-certbot-nginx
          sudo apt upgrade


          If you do not want to upgrade all packages in your system, then you can use:



          sudo apt install --only-upgrade python-certbot python-certbot-nginx
          sudo apt install --only-upgrade python3-certbot python3-certbot-nginx


          References:




          • https://certbot.eff.org/lets-encrypt/ubuntubionic-nginx

          • https://certbot.eff.org/lets-encrypt/ubuntubionic-apache

          • certbot version updgrade not implemented


          Reasons to update - from Let's Encrypt newsletter:




          TLS-SNI-01 validation is reaching end-of-life. It will stop working
          temporarily on February 13th, 2019, and permanently on March 13th,
          2019. Any certificates issued before then will continue to work for 90 days after their issuance date.



          You need to update your ACME client to use an alternative validation
          method (HTTP-01, DNS-01 or TLS-ALPN-01) before this date or your
          certificate renewals will break and existing certificates will start
          to expire.



          Our staging environment already has TLS-SNI-01 disabled, so if you'd
          like to test whether your system will work after February 13, you can
          run against staging: https://letsencrypt.org/docs/staging-environment/



          If you're a Certbot user, you can find more information here:
          https://community.letsencrypt.org/t/how-to-stop-using-tls-sni-01-with-certbot/83210



          Our forum has many threads on this topic. Please search to see if your
          question has been answered, then open a new thread if it has not:
          https://community.letsencrypt.org/



          For more information about the TLS-SNI-01 end-of-life please see our
          API announcement:
          https://community.letsencrypt.org/t/february-13-2019-end-of-life-for-all-tls-sni-01-validation-support/74209







          share|improve this answer


























          • Well, basically this is exactly what I did, to get here. (Except for the last upgrade command, which I'll be able to run this Sunday. But it looks to me, that it has now listed cerbot in the list of packages that will be upgraded, so hopefully that will sort it out. Maybe this is because of some dependencies.

            – Lippai Zoltan
            Jan 28 at 11:18











          • @LippaiZoltan, yes, please review the third reference in the answer. If you need you could use sudo apt install --only-upgrade python-certbot.... I just used the above commands to get CertBot 0.28.0 on my freshly installed Ubuntu Bionic.

            – pa4080
            Jan 28 at 11:25













          • That did the trick, I have now v0.28 installed without upgrading all the other packages. Thanks!

            – Lippai Zoltan
            Jan 28 at 15:14











          • I'm glad to help, @LippaiZoltan.

            – pa4080
            Jan 28 at 15:16














          3












          3








          3







          Try with the following commands (replace -nginx with -apache if you need) to get the latest version of CertBot:



          sudo apt update
          sudo apt install software-properties-common
          sudo add-apt-repository universe
          sudo add-apt-repository ppa:certbot/certbot
          sudo apt update


          If this is a new installation or it's not a problem to upgrade all packages on your system:



          sudo apt install python-certbot python-certbot-nginx
          sudo apt install python3-certbot python3-certbot-nginx
          sudo apt upgrade


          If you do not want to upgrade all packages in your system, then you can use:



          sudo apt install --only-upgrade python-certbot python-certbot-nginx
          sudo apt install --only-upgrade python3-certbot python3-certbot-nginx


          References:




          • https://certbot.eff.org/lets-encrypt/ubuntubionic-nginx

          • https://certbot.eff.org/lets-encrypt/ubuntubionic-apache

          • certbot version updgrade not implemented


          Reasons to update - from Let's Encrypt newsletter:




          TLS-SNI-01 validation is reaching end-of-life. It will stop working
          temporarily on February 13th, 2019, and permanently on March 13th,
          2019. Any certificates issued before then will continue to work for 90 days after their issuance date.



          You need to update your ACME client to use an alternative validation
          method (HTTP-01, DNS-01 or TLS-ALPN-01) before this date or your
          certificate renewals will break and existing certificates will start
          to expire.



          Our staging environment already has TLS-SNI-01 disabled, so if you'd
          like to test whether your system will work after February 13, you can
          run against staging: https://letsencrypt.org/docs/staging-environment/



          If you're a Certbot user, you can find more information here:
          https://community.letsencrypt.org/t/how-to-stop-using-tls-sni-01-with-certbot/83210



          Our forum has many threads on this topic. Please search to see if your
          question has been answered, then open a new thread if it has not:
          https://community.letsencrypt.org/



          For more information about the TLS-SNI-01 end-of-life please see our
          API announcement:
          https://community.letsencrypt.org/t/february-13-2019-end-of-life-for-all-tls-sni-01-validation-support/74209







          share|improve this answer















          Try with the following commands (replace -nginx with -apache if you need) to get the latest version of CertBot:



          sudo apt update
          sudo apt install software-properties-common
          sudo add-apt-repository universe
          sudo add-apt-repository ppa:certbot/certbot
          sudo apt update


          If this is a new installation or it's not a problem to upgrade all packages on your system:



          sudo apt install python-certbot python-certbot-nginx
          sudo apt install python3-certbot python3-certbot-nginx
          sudo apt upgrade


          If you do not want to upgrade all packages in your system, then you can use:



          sudo apt install --only-upgrade python-certbot python-certbot-nginx
          sudo apt install --only-upgrade python3-certbot python3-certbot-nginx


          References:




          • https://certbot.eff.org/lets-encrypt/ubuntubionic-nginx

          • https://certbot.eff.org/lets-encrypt/ubuntubionic-apache

          • certbot version updgrade not implemented


          Reasons to update - from Let's Encrypt newsletter:




          TLS-SNI-01 validation is reaching end-of-life. It will stop working
          temporarily on February 13th, 2019, and permanently on March 13th,
          2019. Any certificates issued before then will continue to work for 90 days after their issuance date.



          You need to update your ACME client to use an alternative validation
          method (HTTP-01, DNS-01 or TLS-ALPN-01) before this date or your
          certificate renewals will break and existing certificates will start
          to expire.



          Our staging environment already has TLS-SNI-01 disabled, so if you'd
          like to test whether your system will work after February 13, you can
          run against staging: https://letsencrypt.org/docs/staging-environment/



          If you're a Certbot user, you can find more information here:
          https://community.letsencrypt.org/t/how-to-stop-using-tls-sni-01-with-certbot/83210



          Our forum has many threads on this topic. Please search to see if your
          question has been answered, then open a new thread if it has not:
          https://community.letsencrypt.org/



          For more information about the TLS-SNI-01 end-of-life please see our
          API announcement:
          https://community.letsencrypt.org/t/february-13-2019-end-of-life-for-all-tls-sni-01-validation-support/74209








          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Jan 29 at 18:37

























          answered Jan 28 at 11:05









          pa4080pa4080

          14.5k52772




          14.5k52772













          • Well, basically this is exactly what I did, to get here. (Except for the last upgrade command, which I'll be able to run this Sunday. But it looks to me, that it has now listed cerbot in the list of packages that will be upgraded, so hopefully that will sort it out. Maybe this is because of some dependencies.

            – Lippai Zoltan
            Jan 28 at 11:18











          • @LippaiZoltan, yes, please review the third reference in the answer. If you need you could use sudo apt install --only-upgrade python-certbot.... I just used the above commands to get CertBot 0.28.0 on my freshly installed Ubuntu Bionic.

            – pa4080
            Jan 28 at 11:25













          • That did the trick, I have now v0.28 installed without upgrading all the other packages. Thanks!

            – Lippai Zoltan
            Jan 28 at 15:14











          • I'm glad to help, @LippaiZoltan.

            – pa4080
            Jan 28 at 15:16



















          • Well, basically this is exactly what I did, to get here. (Except for the last upgrade command, which I'll be able to run this Sunday. But it looks to me, that it has now listed cerbot in the list of packages that will be upgraded, so hopefully that will sort it out. Maybe this is because of some dependencies.

            – Lippai Zoltan
            Jan 28 at 11:18











          • @LippaiZoltan, yes, please review the third reference in the answer. If you need you could use sudo apt install --only-upgrade python-certbot.... I just used the above commands to get CertBot 0.28.0 on my freshly installed Ubuntu Bionic.

            – pa4080
            Jan 28 at 11:25













          • That did the trick, I have now v0.28 installed without upgrading all the other packages. Thanks!

            – Lippai Zoltan
            Jan 28 at 15:14











          • I'm glad to help, @LippaiZoltan.

            – pa4080
            Jan 28 at 15:16

















          Well, basically this is exactly what I did, to get here. (Except for the last upgrade command, which I'll be able to run this Sunday. But it looks to me, that it has now listed cerbot in the list of packages that will be upgraded, so hopefully that will sort it out. Maybe this is because of some dependencies.

          – Lippai Zoltan
          Jan 28 at 11:18





          Well, basically this is exactly what I did, to get here. (Except for the last upgrade command, which I'll be able to run this Sunday. But it looks to me, that it has now listed cerbot in the list of packages that will be upgraded, so hopefully that will sort it out. Maybe this is because of some dependencies.

          – Lippai Zoltan
          Jan 28 at 11:18













          @LippaiZoltan, yes, please review the third reference in the answer. If you need you could use sudo apt install --only-upgrade python-certbot.... I just used the above commands to get CertBot 0.28.0 on my freshly installed Ubuntu Bionic.

          – pa4080
          Jan 28 at 11:25







          @LippaiZoltan, yes, please review the third reference in the answer. If you need you could use sudo apt install --only-upgrade python-certbot.... I just used the above commands to get CertBot 0.28.0 on my freshly installed Ubuntu Bionic.

          – pa4080
          Jan 28 at 11:25















          That did the trick, I have now v0.28 installed without upgrading all the other packages. Thanks!

          – Lippai Zoltan
          Jan 28 at 15:14





          That did the trick, I have now v0.28 installed without upgrading all the other packages. Thanks!

          – Lippai Zoltan
          Jan 28 at 15:14













          I'm glad to help, @LippaiZoltan.

          – pa4080
          Jan 28 at 15:16





          I'm glad to help, @LippaiZoltan.

          – pa4080
          Jan 28 at 15:16


















          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%2f1113499%2ffailed-to-upgrade-certbot-on-ubuntu-bionic%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?