pkg install no longer working?
-
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?
-
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
-
@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.. -
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