Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    [SOLVED] pfSense 2.2.4-RELEASE (amd64) - cannot install pkg

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    6 Posts 3 Posters 13.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      DraNick
      last edited by

      Hello,

      I am having a bit of a trouble installing pkg on 2.2.4-RELEASE (amd64).

      This is what I get from SSH:

      
      [2.2.4-RELEASE][admin@gw]/root: 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 http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/ports/amd64/packages-9.2-release, please wait...
      pkg: Error fetching http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/ports/amd64/packages-9.2-release/Latest/pkg.txz: Not Found
      A pre-built version of pkg could not be found for your system.
      Consider changing PACKAGESITE or installing it from ports: 'ports-mgmt/pkg'.
      
      

      Please help with installing pkg as I would like to custom-install the native VMWare tools instead of the Open-VM package.

      Thank you in advance!

      1 Reply Last reply Reply Quote 0
      • D
        doktornotor Banned
        last edited by

        WTH? Why are you trying to install 9.2 packages on 10.1?

        1 Reply Last reply Reply Quote 0
        • D
          DraNick
          last edited by

          There is no 10.1 release:

          http://screencast.com/t/0dgXLV8GQIj

          If I set a 10.1 mirror:

          
          Consider changing PACKAGESITE or installing it from ports: 'ports-mgmt/pkg'.
          [2.2.4-RELEASE][admin@gw]/root: setenv PACKAGESITE http://pkg.freebsd.org/freebsd:10:x86:64/release_1
          [2.2.4-RELEASE][admin@gw]/root: 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 http://pkg.freebsd.org/freebsd:10:x86:64/release_1, please wait...
          Signature for pkg not available.
          pkg: Error fetching http://pkg.freebsd.org/freebsd:10:x86:64/release_1/Latest/pkg.txz.sig: Not Found
          A pre-built version of pkg could not be found for your system.
          Consider changing PACKAGESITE or installing it from ports: 'ports-mgmt/pkg'.
          
          

          even though pkg.tzx is present ( http://pkg.freebsd.org/freebsd:10:x86:64/release_1/Latest/pkg.txz ) I still get the above.

          1 Reply Last reply Reply Quote 0
          • D
            DraNick
            last edited by

            Solved with:

            
             setenv PACKAGESITE http://pkg.freebsd.org/freebsd:10:x86:64/latest
            
            

            then ran

            
            pkg
            
            

            with output:

            
            [2.2.4-RELEASE][admin@gw]/root: 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 http://pkg.freebsd.org/freebsd:10:x86:64/latest, please wait...
            Verifying signature with trusted certificate pkg.freebsd.org.2013102301... done
            Installing pkg-1.5.6...
            Extracting pkg-1.5.6: 100%
            Message for pkg-1.5.6:
            If you are upgrading from the old package format, first run:
            
              # pkg2ng
            pkg: not enough arguments
            Usage: pkg [-v] [-d] [-l] [-N] [-j <jail name="" or="" id="">|-c <chroot path="">|-r <rootdir>] [-C <configuration file="">] [-R <repo config="" dir="">] [-o var=value] [-4|-6] <command></command> [<args>]
            
            For more information on available commands and options see 'pkg help'.</args></repo></configuration></rootdir></chroot></jail> 
            

            Following the tutorial here: https://doc.pfsense.org/index.php/Installing_FreeBSD_Packages#Bootstrapping_pkg fails as the system doesn't provide the proper PACKAGESITE.

            I hope it helps for future reference.

            1 Reply Last reply Reply Quote 0
            • D
              doktornotor Banned
              last edited by

              Works just fine here. (No idea what are you trying to do with pkg2ng, not needed at all.)

              1 Reply Last reply Reply Quote 0
              • M
                mcmellenhead
                last edited by

                I too had an issue with installing pkg. Turns out I was just impatient and terminated the job before the update could complete. I just had to run a "pkg update -f" to get the info from the repo, then I could ACTUALLY see the packages available. HOWEVER, I am running into an issue where I dont have enough free space on a brand new installation (using stock 1gb card). Literally need 1mb to download flashrom package. Any way to allocate the remaining space from /cf to rootfs? All I need to do is flash the bios so I can use the hdd I have laying here, but it wont boot without the bios being updated iirc.

                edit

                Guess I should specify that I am running on a Watchguard XTM 5 series Firewall with upgraded CPU/Ram.

                edit2

                Re-wrote the image to the CF card and installed flashrom first off, went without a hitch.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.