List installed packages in CLI on CE 2.6.x and 2.7.x version of pfsense
-
Hello,
I'm looking to list the installed packages on my pfsense in the CLI.
I use version 2.6.x CE and version 2.7.x CE of pfsense.When I launch the command below on a version 2.7.0 I have the list of the packages.
pkg version
If I run the same command on version 2.6.0 it doesn't work, here is the error message I get:
ld-elf.so.1: /lib/libc.so.7: version FBSD_1.7 required by /usr/local/sbin/pkg not found
Thanks
-
@mc-gyver-reboot Is your 2.6 router set to use the Previous Stable update branch?
-
Use pkg-static so something like:
[2.7.1-RELEASE][admin@t70.stevew.lan]/root: pkg-static info -x pfsense-pkg pfSense-pkg-Cron-0.3.8_3 pfSense-pkg-System_Patches-2.2.7_2 pfSense-pkg-nmap-1.4.4_7 pfSense-pkg-openvpn-client-export-1.9.2 pfSense-pkg-pfBlockerNG-devel-3.2.0_6 pfSense-pkg-suricata-7.0.2 pfSense-pkg-syslog-ng-1.16 pfSense-pkg-tftpd-0.1.3_4
Steve
-
If you want the GUI package names instead, you can also use the
listpkg
playback script:: pfSsh.php playback listpkg Installed packages: acme-0.7.5 Automated Certificate Management Environment, ... IPsec Profile Wizard-1.2 IPsec profile wizard for iOS and Windows Clien... OpenVPN Client Export Utility-1.9_1 Allows a pre-configured OpenVPN Windows C... System Patches-2.2.6 A package to apply and maintain custom system ...
-
@stephenw10
Thanks!
This is exactly what I was looking for.