Alpine Linux - Ignoring APKINDEX : Bad file Descriptor

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











up vote
0
down vote

favorite












when I do apk update or apk add ..., gives me error below:



fetch http://dl-4.alpinelinux.org/alpine/v3.8/main/x86_64/APKINDEX.tar.gz
ERROR: http://dl-4.alpinelinux.org/alpine/v3.8/main: Bad file descriptor
WARNING: Ignoring APKINDEX.5372d58d.tar.gz: Bad file descriptor
fetch http://dl-4.alpinelinux.org/alpine/v3.8/community/x86_64/APKINDEX.tar.gz
ERROR: http://dl-4.alpinelinux.org/alpine/v3.8/community: Bad file descriptor
WARNING: Ignoring APKINDEX.66c84cb4.tar.gz: Bad file descriptor
2 errors; 75 distinct packages available


Already changed mirrors but gives same errors.



Earlier in this installation apk worked with no problems.
Also I can ping the server and I can download the APKINDEX with wget.










share|improve this question







New contributor




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























    up vote
    0
    down vote

    favorite












    when I do apk update or apk add ..., gives me error below:



    fetch http://dl-4.alpinelinux.org/alpine/v3.8/main/x86_64/APKINDEX.tar.gz
    ERROR: http://dl-4.alpinelinux.org/alpine/v3.8/main: Bad file descriptor
    WARNING: Ignoring APKINDEX.5372d58d.tar.gz: Bad file descriptor
    fetch http://dl-4.alpinelinux.org/alpine/v3.8/community/x86_64/APKINDEX.tar.gz
    ERROR: http://dl-4.alpinelinux.org/alpine/v3.8/community: Bad file descriptor
    WARNING: Ignoring APKINDEX.66c84cb4.tar.gz: Bad file descriptor
    2 errors; 75 distinct packages available


    Already changed mirrors but gives same errors.



    Earlier in this installation apk worked with no problems.
    Also I can ping the server and I can download the APKINDEX with wget.










    share|improve this question







    New contributor




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





















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      when I do apk update or apk add ..., gives me error below:



      fetch http://dl-4.alpinelinux.org/alpine/v3.8/main/x86_64/APKINDEX.tar.gz
      ERROR: http://dl-4.alpinelinux.org/alpine/v3.8/main: Bad file descriptor
      WARNING: Ignoring APKINDEX.5372d58d.tar.gz: Bad file descriptor
      fetch http://dl-4.alpinelinux.org/alpine/v3.8/community/x86_64/APKINDEX.tar.gz
      ERROR: http://dl-4.alpinelinux.org/alpine/v3.8/community: Bad file descriptor
      WARNING: Ignoring APKINDEX.66c84cb4.tar.gz: Bad file descriptor
      2 errors; 75 distinct packages available


      Already changed mirrors but gives same errors.



      Earlier in this installation apk worked with no problems.
      Also I can ping the server and I can download the APKINDEX with wget.










      share|improve this question







      New contributor




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











      when I do apk update or apk add ..., gives me error below:



      fetch http://dl-4.alpinelinux.org/alpine/v3.8/main/x86_64/APKINDEX.tar.gz
      ERROR: http://dl-4.alpinelinux.org/alpine/v3.8/main: Bad file descriptor
      WARNING: Ignoring APKINDEX.5372d58d.tar.gz: Bad file descriptor
      fetch http://dl-4.alpinelinux.org/alpine/v3.8/community/x86_64/APKINDEX.tar.gz
      ERROR: http://dl-4.alpinelinux.org/alpine/v3.8/community: Bad file descriptor
      WARNING: Ignoring APKINDEX.66c84cb4.tar.gz: Bad file descriptor
      2 errors; 75 distinct packages available


      Already changed mirrors but gives same errors.



      Earlier in this installation apk worked with no problems.
      Also I can ping the server and I can download the APKINDEX with wget.







      repository alpine-linux apk-tools






      share|improve this question







      New contributor




      ricreis394 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 question







      New contributor




      ricreis394 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 question




      share|improve this question






      New contributor




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









      asked 27 mins ago









      ricreis394

      1




      1




      New contributor




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





      New contributor





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






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




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          Solved the issue by:



          rm -rf /var/cache/apk



          mkdir /var/cache/apk





          share








          New contributor




          ricreis394 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',
            convertImagesToLinks: false,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );






            ricreis394 is a new contributor. Be nice, and check out our Code of Conduct.









             

            draft saved


            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f478182%2falpine-linux-ignoring-apkindex-bad-file-descriptor%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            0
            down vote













            Solved the issue by:



            rm -rf /var/cache/apk



            mkdir /var/cache/apk





            share








            New contributor




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





















              up vote
              0
              down vote













              Solved the issue by:



              rm -rf /var/cache/apk



              mkdir /var/cache/apk





              share








              New contributor




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



















                up vote
                0
                down vote










                up vote
                0
                down vote









                Solved the issue by:



                rm -rf /var/cache/apk



                mkdir /var/cache/apk





                share








                New contributor




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









                Solved the issue by:



                rm -rf /var/cache/apk



                mkdir /var/cache/apk






                share








                New contributor




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








                share


                share






                New contributor




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









                answered 7 mins ago









                ricreis394

                1




                1




                New contributor




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





                New contributor





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






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




















                    ricreis394 is a new contributor. Be nice, and check out our Code of Conduct.









                     

                    draft saved


                    draft discarded


















                    ricreis394 is a new contributor. Be nice, and check out our Code of Conduct.












                    ricreis394 is a new contributor. Be nice, and check out our Code of Conduct.











                    ricreis394 is a new contributor. Be nice, and check out our Code of Conduct.













                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f478182%2falpine-linux-ignoring-apkindex-bad-file-descriptor%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    How to check contact read email or not when send email to Individual?

                    Displaying single band from multi-band raster using QGIS

                    How many registers does an x86_64 CPU actually have?