pkg: fail to extract pkg-static, New to UNIX












5














I am running FreeBSD 10 on an ASUS M50VM series laptop. I was following along with the handbook to the point at which it gets into using pkg to find software. Every time I run pkg, with or without options or arguments, I get the following output:



$ pkg
The package management tool is not yet installed on your system.
Do you want to fetch and install it now [y/N]: y
Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/freebsd:10:x86:64/latest, please wait...
Verifying signature with trusted certificate pkg.freebsd.org.2013102301... done
pkg: fail to extract pkg-static
$


My FreeBSD laptop is connected with an Ethernet cable to my router, which I know is providing Internet access, as the Windows desktop I am currently using to post this question is also connected with a similar cable to the same router.



I tried searching for the error message on Google, but most of what I found appeared to be dealing with different problems from mine.



What am I missing? What are possible causes of this issue? What should I check?










share|improve this question





























    5














    I am running FreeBSD 10 on an ASUS M50VM series laptop. I was following along with the handbook to the point at which it gets into using pkg to find software. Every time I run pkg, with or without options or arguments, I get the following output:



    $ pkg
    The package management tool is not yet installed on your system.
    Do you want to fetch and install it now [y/N]: y
    Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/freebsd:10:x86:64/latest, please wait...
    Verifying signature with trusted certificate pkg.freebsd.org.2013102301... done
    pkg: fail to extract pkg-static
    $


    My FreeBSD laptop is connected with an Ethernet cable to my router, which I know is providing Internet access, as the Windows desktop I am currently using to post this question is also connected with a similar cable to the same router.



    I tried searching for the error message on Google, but most of what I found appeared to be dealing with different problems from mine.



    What am I missing? What are possible causes of this issue? What should I check?










    share|improve this question



























      5












      5








      5


      2





      I am running FreeBSD 10 on an ASUS M50VM series laptop. I was following along with the handbook to the point at which it gets into using pkg to find software. Every time I run pkg, with or without options or arguments, I get the following output:



      $ pkg
      The package management tool is not yet installed on your system.
      Do you want to fetch and install it now [y/N]: y
      Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/freebsd:10:x86:64/latest, please wait...
      Verifying signature with trusted certificate pkg.freebsd.org.2013102301... done
      pkg: fail to extract pkg-static
      $


      My FreeBSD laptop is connected with an Ethernet cable to my router, which I know is providing Internet access, as the Windows desktop I am currently using to post this question is also connected with a similar cable to the same router.



      I tried searching for the error message on Google, but most of what I found appeared to be dealing with different problems from mine.



      What am I missing? What are possible causes of this issue? What should I check?










      share|improve this question















      I am running FreeBSD 10 on an ASUS M50VM series laptop. I was following along with the handbook to the point at which it gets into using pkg to find software. Every time I run pkg, with or without options or arguments, I get the following output:



      $ pkg
      The package management tool is not yet installed on your system.
      Do you want to fetch and install it now [y/N]: y
      Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/freebsd:10:x86:64/latest, please wait...
      Verifying signature with trusted certificate pkg.freebsd.org.2013102301... done
      pkg: fail to extract pkg-static
      $


      My FreeBSD laptop is connected with an Ethernet cable to my router, which I know is providing Internet access, as the Windows desktop I am currently using to post this question is also connected with a similar cable to the same router.



      I tried searching for the error message on Google, but most of what I found appeared to be dealing with different problems from mine.



      What am I missing? What are possible causes of this issue? What should I check?







      freebsd






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 39 mins ago









      Rui F Ribeiro

      39.2k1479130




      39.2k1479130










      asked Aug 27 '14 at 23:31









      Anthony Giarratano

      2813




      2813






















          2 Answers
          2






          active

          oldest

          votes


















          0














          I think you might need to download the larger installation image, it comes with more stuff, I think, I know that is true about linux, but not sure about FreeBSD. But I don't think it has anything to do with the internet. I'd say something wrong with the file extractor. Try getting pkg from ports, if it's there.






          share|improve this answer





























            18














            That dollar sign($) in the command line prompt makes me suggest you try to run pkg as on ordinary user.



            Try to login as root (e.g., by pressing Alt+F2) and run pkg from that session.






            share|improve this answer



















            • 2




              Running pkg as root solved the same problem for me.
              – David Poole
              Nov 21 '14 at 19:25






            • 1




              Resolved here too. Thanks as well for the Alt+F2 tip :)
              – nathanchere
              Apr 7 '16 at 15:17










            • logging in as root fixed this for me also
              – Pwdr
              Aug 25 '16 at 8:17











            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%2f152512%2fpkg-fail-to-extract-pkg-static-new-to-unix%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









            0














            I think you might need to download the larger installation image, it comes with more stuff, I think, I know that is true about linux, but not sure about FreeBSD. But I don't think it has anything to do with the internet. I'd say something wrong with the file extractor. Try getting pkg from ports, if it's there.






            share|improve this answer


























              0














              I think you might need to download the larger installation image, it comes with more stuff, I think, I know that is true about linux, but not sure about FreeBSD. But I don't think it has anything to do with the internet. I'd say something wrong with the file extractor. Try getting pkg from ports, if it's there.






              share|improve this answer
























                0












                0








                0






                I think you might need to download the larger installation image, it comes with more stuff, I think, I know that is true about linux, but not sure about FreeBSD. But I don't think it has anything to do with the internet. I'd say something wrong with the file extractor. Try getting pkg from ports, if it's there.






                share|improve this answer












                I think you might need to download the larger installation image, it comes with more stuff, I think, I know that is true about linux, but not sure about FreeBSD. But I don't think it has anything to do with the internet. I'd say something wrong with the file extractor. Try getting pkg from ports, if it's there.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Aug 28 '14 at 0:50









                toxemicsquire

                1269




                1269

























                    18














                    That dollar sign($) in the command line prompt makes me suggest you try to run pkg as on ordinary user.



                    Try to login as root (e.g., by pressing Alt+F2) and run pkg from that session.






                    share|improve this answer



















                    • 2




                      Running pkg as root solved the same problem for me.
                      – David Poole
                      Nov 21 '14 at 19:25






                    • 1




                      Resolved here too. Thanks as well for the Alt+F2 tip :)
                      – nathanchere
                      Apr 7 '16 at 15:17










                    • logging in as root fixed this for me also
                      – Pwdr
                      Aug 25 '16 at 8:17
















                    18














                    That dollar sign($) in the command line prompt makes me suggest you try to run pkg as on ordinary user.



                    Try to login as root (e.g., by pressing Alt+F2) and run pkg from that session.






                    share|improve this answer



















                    • 2




                      Running pkg as root solved the same problem for me.
                      – David Poole
                      Nov 21 '14 at 19:25






                    • 1




                      Resolved here too. Thanks as well for the Alt+F2 tip :)
                      – nathanchere
                      Apr 7 '16 at 15:17










                    • logging in as root fixed this for me also
                      – Pwdr
                      Aug 25 '16 at 8:17














                    18












                    18








                    18






                    That dollar sign($) in the command line prompt makes me suggest you try to run pkg as on ordinary user.



                    Try to login as root (e.g., by pressing Alt+F2) and run pkg from that session.






                    share|improve this answer














                    That dollar sign($) in the command line prompt makes me suggest you try to run pkg as on ordinary user.



                    Try to login as root (e.g., by pressing Alt+F2) and run pkg from that session.







                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited Sep 19 '14 at 7:00









                    Tejas

                    1,79621839




                    1,79621839










                    answered Sep 19 '14 at 6:26









                    Alexander Pozdneev

                    476312




                    476312








                    • 2




                      Running pkg as root solved the same problem for me.
                      – David Poole
                      Nov 21 '14 at 19:25






                    • 1




                      Resolved here too. Thanks as well for the Alt+F2 tip :)
                      – nathanchere
                      Apr 7 '16 at 15:17










                    • logging in as root fixed this for me also
                      – Pwdr
                      Aug 25 '16 at 8:17














                    • 2




                      Running pkg as root solved the same problem for me.
                      – David Poole
                      Nov 21 '14 at 19:25






                    • 1




                      Resolved here too. Thanks as well for the Alt+F2 tip :)
                      – nathanchere
                      Apr 7 '16 at 15:17










                    • logging in as root fixed this for me also
                      – Pwdr
                      Aug 25 '16 at 8:17








                    2




                    2




                    Running pkg as root solved the same problem for me.
                    – David Poole
                    Nov 21 '14 at 19:25




                    Running pkg as root solved the same problem for me.
                    – David Poole
                    Nov 21 '14 at 19:25




                    1




                    1




                    Resolved here too. Thanks as well for the Alt+F2 tip :)
                    – nathanchere
                    Apr 7 '16 at 15:17




                    Resolved here too. Thanks as well for the Alt+F2 tip :)
                    – nathanchere
                    Apr 7 '16 at 15:17












                    logging in as root fixed this for me also
                    – Pwdr
                    Aug 25 '16 at 8:17




                    logging in as root fixed this for me also
                    – Pwdr
                    Aug 25 '16 at 8:17


















                    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.





                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                    Please pay close attention to the following guidance:


                    • 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%2f152512%2fpkg-fail-to-extract-pkg-static-new-to-unix%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 rewrite equation of hyperbola in standard form

                    No ethernet ip address in my vocore2