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

    pkg install no longer working?

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 2 Posters 884 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.
    • G
      gstlouis
      last edited by

      So I'm not sure if I am loosing my mind here. But I have installed several things with pkg install, and today I tried to use this command from the command prompt on two pfsense routers and they tell me this

      ld-elf.so.1: /lib/libc.so.7: version FBSD_1.7 required by /usr/local/sbin/pkg not found

      I have looked at old notes and some questions I've asked on this forum. I do not recall updating both routers and this happened.

      What am I doing wrong?

      1 Reply Last reply Reply Quote 1
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        If you're still running 2.6 it's probably because it pulled in a newer version of pkg. You can still use pkg-static install instead. However if you don;t wish to upgrade you should go to System > Upgrade and set the branch to 2.6 (previous version) before installing anything.

        Steve

        G 1 Reply Last reply Reply Quote 1
        • G
          gstlouis @stephenw10
          last edited by

          @stephenw10 said in pkg install no longer working?:

          instead

          thanks again @stephenw10
          yes after the upgrade everything is ok now. Why did it do that? it locked pkg for the upgrade? I don't get it..

          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            It pulls in available updates to some pkgs when pfSense-upgrade is run which it is when it runs the update check on the dashboard. The pkg package itself is one of those in order to allow updates to other newer pkgs. This isn't a problem for existing installs because everything there uses pkg-static and hence the correct version for the install. But, as you found, can be confusing if you are running pkg commands manually.

            Steve

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