pkg: fail to extract pkg-static












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.



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.



    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.



      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.



      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 Jan 6 at 21:21









      Rui F Ribeiro

      40k1479135




      40k1479135










      asked Aug 27 '14 at 23:31









      Anthony GiarratanoAnthony Giarratano

      2813




      2813






















          3 Answers
          3






          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



















            0














            im a total freebsd newb, logging in as root helped me, thanks bro 😀






            share|improve this answer








            New contributor




            Cameron 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%2f152512%2fpkg-fail-to-extract-pkg-static%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              3 Answers
              3






              active

              oldest

              votes








              3 Answers
              3






              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









                  toxemicsquiretoxemicsquire

                  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,82721940




                      1,82721940










                      answered Sep 19 '14 at 6:26









                      Alexander PozdneevAlexander Pozdneev

                      491313




                      491313








                      • 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











                      0














                      im a total freebsd newb, logging in as root helped me, thanks bro 😀






                      share|improve this answer








                      New contributor




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

























                        0














                        im a total freebsd newb, logging in as root helped me, thanks bro 😀






                        share|improve this answer








                        New contributor




                        Cameron 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







                          im a total freebsd newb, logging in as root helped me, thanks bro 😀






                          share|improve this answer








                          New contributor




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










                          im a total freebsd newb, logging in as root helped me, thanks bro 😀







                          share|improve this answer








                          New contributor




                          Cameron 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




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









                          answered 18 mins ago









                          CameronCameron

                          1




                          1




                          New contributor




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





                          New contributor





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






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

                              Accessing regular linux commands in Huawei's Dopra Linux

                              Can't connect RFCOMM socket: Host is down

                              Kernel panic - not syncing: Fatal Exception in Interrupt