Void linux XBPS broke: certificate verification failed












0















I installed my first distro: Void Linux, the version without any desktop environment. I got my wifi to work and the package manager (xbps) worked fine; I installed things like htop, i3, etc without problem. I booted my PC today and wanted to install git.



sudo xbps-install -S git


The same holds for any install command, such as:



sudo xbps-install -Su


I have the same problem in root or as a normal user.



It says:



Updating (some url) ...
Certificate verification failed for (some other url)
SSL_connect returned 1
ERROR: failed to fetch file (url of first line): Operation not permitted.


I did not change anything since yesterday, when it worked fine.
I only found this on google:



https://github.com/voidlinux/void-packages/issues/14465
https://github.com/voidlinux/xbps/issues/224



For the first link, I do not have xtools and I do not have this file:



/var/cache/xbps/ca-certificates-20170717_2.noarch.xbps


so I cannot copy it.
For the second link:



sudo update-ca-certificates


did not fix anything. It says:



0 added, 0 removed; Done.


I tried using another repo mirror but it doesn't seem to recognise those.
I use https://alpha.de.repo.voidlinux.org/current



I don't know what to do from this point.










share|improve this question

























  • We can not help you with your desire to install git. Not being root, will have no effect on this desire. If this desire is elevated by install commands, then I would recommend avoiding them.

    – ctrl-alt-delor
    Jan 1 at 16:18











  • @ctrl-alt-delor Me wanting to install git was just an example, the whole package manager was broken, i could not install anything. But it has been solved by beginner6789's answer, apparently the DE server is just broken. Also I do not understand what you meant with your last sentence about install commands?

    – ocdy1001
    Jan 1 at 16:26











  • Yes I was 100% sure that what you said was not what you meant. But that is what you said.

    – ctrl-alt-delor
    Jan 1 at 16:30
















0















I installed my first distro: Void Linux, the version without any desktop environment. I got my wifi to work and the package manager (xbps) worked fine; I installed things like htop, i3, etc without problem. I booted my PC today and wanted to install git.



sudo xbps-install -S git


The same holds for any install command, such as:



sudo xbps-install -Su


I have the same problem in root or as a normal user.



It says:



Updating (some url) ...
Certificate verification failed for (some other url)
SSL_connect returned 1
ERROR: failed to fetch file (url of first line): Operation not permitted.


I did not change anything since yesterday, when it worked fine.
I only found this on google:



https://github.com/voidlinux/void-packages/issues/14465
https://github.com/voidlinux/xbps/issues/224



For the first link, I do not have xtools and I do not have this file:



/var/cache/xbps/ca-certificates-20170717_2.noarch.xbps


so I cannot copy it.
For the second link:



sudo update-ca-certificates


did not fix anything. It says:



0 added, 0 removed; Done.


I tried using another repo mirror but it doesn't seem to recognise those.
I use https://alpha.de.repo.voidlinux.org/current



I don't know what to do from this point.










share|improve this question

























  • We can not help you with your desire to install git. Not being root, will have no effect on this desire. If this desire is elevated by install commands, then I would recommend avoiding them.

    – ctrl-alt-delor
    Jan 1 at 16:18











  • @ctrl-alt-delor Me wanting to install git was just an example, the whole package manager was broken, i could not install anything. But it has been solved by beginner6789's answer, apparently the DE server is just broken. Also I do not understand what you meant with your last sentence about install commands?

    – ocdy1001
    Jan 1 at 16:26











  • Yes I was 100% sure that what you said was not what you meant. But that is what you said.

    – ctrl-alt-delor
    Jan 1 at 16:30














0












0








0








I installed my first distro: Void Linux, the version without any desktop environment. I got my wifi to work and the package manager (xbps) worked fine; I installed things like htop, i3, etc without problem. I booted my PC today and wanted to install git.



sudo xbps-install -S git


The same holds for any install command, such as:



sudo xbps-install -Su


I have the same problem in root or as a normal user.



It says:



Updating (some url) ...
Certificate verification failed for (some other url)
SSL_connect returned 1
ERROR: failed to fetch file (url of first line): Operation not permitted.


I did not change anything since yesterday, when it worked fine.
I only found this on google:



https://github.com/voidlinux/void-packages/issues/14465
https://github.com/voidlinux/xbps/issues/224



For the first link, I do not have xtools and I do not have this file:



/var/cache/xbps/ca-certificates-20170717_2.noarch.xbps


so I cannot copy it.
For the second link:



sudo update-ca-certificates


did not fix anything. It says:



0 added, 0 removed; Done.


I tried using another repo mirror but it doesn't seem to recognise those.
I use https://alpha.de.repo.voidlinux.org/current



I don't know what to do from this point.










share|improve this question
















I installed my first distro: Void Linux, the version without any desktop environment. I got my wifi to work and the package manager (xbps) worked fine; I installed things like htop, i3, etc without problem. I booted my PC today and wanted to install git.



sudo xbps-install -S git


The same holds for any install command, such as:



sudo xbps-install -Su


I have the same problem in root or as a normal user.



It says:



Updating (some url) ...
Certificate verification failed for (some other url)
SSL_connect returned 1
ERROR: failed to fetch file (url of first line): Operation not permitted.


I did not change anything since yesterday, when it worked fine.
I only found this on google:



https://github.com/voidlinux/void-packages/issues/14465
https://github.com/voidlinux/xbps/issues/224



For the first link, I do not have xtools and I do not have this file:



/var/cache/xbps/ca-certificates-20170717_2.noarch.xbps


so I cannot copy it.
For the second link:



sudo update-ca-certificates


did not fix anything. It says:



0 added, 0 removed; Done.


I tried using another repo mirror but it doesn't seem to recognise those.
I use https://alpha.de.repo.voidlinux.org/current



I don't know what to do from this point.







package-management certificates void-linux






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 12 at 15:19









Jeff Schaller

39.5k1054126




39.5k1054126










asked Jan 1 at 14:49









ocdy1001ocdy1001

31




31













  • We can not help you with your desire to install git. Not being root, will have no effect on this desire. If this desire is elevated by install commands, then I would recommend avoiding them.

    – ctrl-alt-delor
    Jan 1 at 16:18











  • @ctrl-alt-delor Me wanting to install git was just an example, the whole package manager was broken, i could not install anything. But it has been solved by beginner6789's answer, apparently the DE server is just broken. Also I do not understand what you meant with your last sentence about install commands?

    – ocdy1001
    Jan 1 at 16:26











  • Yes I was 100% sure that what you said was not what you meant. But that is what you said.

    – ctrl-alt-delor
    Jan 1 at 16:30



















  • We can not help you with your desire to install git. Not being root, will have no effect on this desire. If this desire is elevated by install commands, then I would recommend avoiding them.

    – ctrl-alt-delor
    Jan 1 at 16:18











  • @ctrl-alt-delor Me wanting to install git was just an example, the whole package manager was broken, i could not install anything. But it has been solved by beginner6789's answer, apparently the DE server is just broken. Also I do not understand what you meant with your last sentence about install commands?

    – ocdy1001
    Jan 1 at 16:26











  • Yes I was 100% sure that what you said was not what you meant. But that is what you said.

    – ctrl-alt-delor
    Jan 1 at 16:30

















We can not help you with your desire to install git. Not being root, will have no effect on this desire. If this desire is elevated by install commands, then I would recommend avoiding them.

– ctrl-alt-delor
Jan 1 at 16:18





We can not help you with your desire to install git. Not being root, will have no effect on this desire. If this desire is elevated by install commands, then I would recommend avoiding them.

– ctrl-alt-delor
Jan 1 at 16:18













@ctrl-alt-delor Me wanting to install git was just an example, the whole package manager was broken, i could not install anything. But it has been solved by beginner6789's answer, apparently the DE server is just broken. Also I do not understand what you meant with your last sentence about install commands?

– ocdy1001
Jan 1 at 16:26





@ctrl-alt-delor Me wanting to install git was just an example, the whole package manager was broken, i could not install anything. But it has been solved by beginner6789's answer, apparently the DE server is just broken. Also I do not understand what you meant with your last sentence about install commands?

– ocdy1001
Jan 1 at 16:26













Yes I was 100% sure that what you said was not what you meant. But that is what you said.

– ctrl-alt-delor
Jan 1 at 16:30





Yes I was 100% sure that what you said was not what you meant. But that is what you said.

– ctrl-alt-delor
Jan 1 at 16:30










2 Answers
2






active

oldest

votes


















2














This happened to me too. There is a problem with the de.repo.voidlinux.org certificates.



The repositories can be changed from the default by copying the /usr/share/xbps.d/00-repository-main.conf file to /etc/xbps.d/ directory and editing the repository for example:



repository=http://alpha.us.repo.voidlinux.org/current


I changed from https to http and from the de to us repo and xbps is working now.
Your file might be different for other platforms so just edit the repo part as appropriate.



I am sure this is just a temporary problem.



EDIT: Repo solved. DE repo is back and now working with https.






share|improve this answer

































    0














    You should also check your local date/time because if it differs too much the server certificate is also treated as invalid.



    This happens for example if you setup void-linux on a raspberry-pi where no hardware clock is available so your local date will be something like 01-01-1970 00:00:01. In this case a xbps-install -Suv will show a certificate error. Setting the correct date via the date command will fix the problem






    share|improve this answer








    New contributor




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




















      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',
      autoActivateHeartbeat: false,
      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%2f491888%2fvoid-linux-xbps-broke-certificate-verification-failed%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









      2














      This happened to me too. There is a problem with the de.repo.voidlinux.org certificates.



      The repositories can be changed from the default by copying the /usr/share/xbps.d/00-repository-main.conf file to /etc/xbps.d/ directory and editing the repository for example:



      repository=http://alpha.us.repo.voidlinux.org/current


      I changed from https to http and from the de to us repo and xbps is working now.
      Your file might be different for other platforms so just edit the repo part as appropriate.



      I am sure this is just a temporary problem.



      EDIT: Repo solved. DE repo is back and now working with https.






      share|improve this answer






























        2














        This happened to me too. There is a problem with the de.repo.voidlinux.org certificates.



        The repositories can be changed from the default by copying the /usr/share/xbps.d/00-repository-main.conf file to /etc/xbps.d/ directory and editing the repository for example:



        repository=http://alpha.us.repo.voidlinux.org/current


        I changed from https to http and from the de to us repo and xbps is working now.
        Your file might be different for other platforms so just edit the repo part as appropriate.



        I am sure this is just a temporary problem.



        EDIT: Repo solved. DE repo is back and now working with https.






        share|improve this answer




























          2












          2








          2







          This happened to me too. There is a problem with the de.repo.voidlinux.org certificates.



          The repositories can be changed from the default by copying the /usr/share/xbps.d/00-repository-main.conf file to /etc/xbps.d/ directory and editing the repository for example:



          repository=http://alpha.us.repo.voidlinux.org/current


          I changed from https to http and from the de to us repo and xbps is working now.
          Your file might be different for other platforms so just edit the repo part as appropriate.



          I am sure this is just a temporary problem.



          EDIT: Repo solved. DE repo is back and now working with https.






          share|improve this answer















          This happened to me too. There is a problem with the de.repo.voidlinux.org certificates.



          The repositories can be changed from the default by copying the /usr/share/xbps.d/00-repository-main.conf file to /etc/xbps.d/ directory and editing the repository for example:



          repository=http://alpha.us.repo.voidlinux.org/current


          I changed from https to http and from the de to us repo and xbps is working now.
          Your file might be different for other platforms so just edit the repo part as appropriate.



          I am sure this is just a temporary problem.



          EDIT: Repo solved. DE repo is back and now working with https.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Jan 6 at 1:40

























          answered Jan 1 at 15:33









          beginner6789beginner6789

          895




          895

























              0














              You should also check your local date/time because if it differs too much the server certificate is also treated as invalid.



              This happens for example if you setup void-linux on a raspberry-pi where no hardware clock is available so your local date will be something like 01-01-1970 00:00:01. In this case a xbps-install -Suv will show a certificate error. Setting the correct date via the date command will fix the problem






              share|improve this answer








              New contributor




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

























                0














                You should also check your local date/time because if it differs too much the server certificate is also treated as invalid.



                This happens for example if you setup void-linux on a raspberry-pi where no hardware clock is available so your local date will be something like 01-01-1970 00:00:01. In this case a xbps-install -Suv will show a certificate error. Setting the correct date via the date command will fix the problem






                share|improve this answer








                New contributor




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























                  0












                  0








                  0







                  You should also check your local date/time because if it differs too much the server certificate is also treated as invalid.



                  This happens for example if you setup void-linux on a raspberry-pi where no hardware clock is available so your local date will be something like 01-01-1970 00:00:01. In this case a xbps-install -Suv will show a certificate error. Setting the correct date via the date command will fix the problem






                  share|improve this answer








                  New contributor




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










                  You should also check your local date/time because if it differs too much the server certificate is also treated as invalid.



                  This happens for example if you setup void-linux on a raspberry-pi where no hardware clock is available so your local date will be something like 01-01-1970 00:00:01. In this case a xbps-install -Suv will show a certificate error. Setting the correct date via the date command will fix the problem







                  share|improve this answer








                  New contributor




                  Uli 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




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









                  answered 13 hours ago









                  UliUli

                  1




                  1




                  New contributor




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





                  New contributor





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






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






























                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Unix & Linux Stack Exchange!


                      • 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%2funix.stackexchange.com%2fquestions%2f491888%2fvoid-linux-xbps-broke-certificate-verification-failed%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

                      Histoire des bourses de valeurs

                      Why is there Russian traffic in my log files?

                      Rename multiple files to decrement number in file name?