Actions
Bug #6241
closedNot all installed packages are shown in PFSense 2.3
Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
Package System
Target version:
-
Start date:
04/23/2016
Due date:
% Done:
0%
Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.3
Affected Architecture:
Description
Not all packages are shown under 'Installed Packages' (System > Package Manager) when a package is removed from the packages repository. This may happen when you change the repository url (command line) or when a package is removed from the main repository in the future.
PFSense uses 'pkg search' to determine which package is currently installed. But I guess it should use 'pkg info'.
It currently runs this shell command in 'get_pkg_info' (pkg-utils.inc):- pkg search --raw-format json-compact 'pfSense-pkg-*'
This is fine to determine which packages are available, but not what's installed.
It should be something like this to determine what's installed:- pkg info --raw-format json-compact 'pfSense-pkg-*'
Actions