Project

General

Profile

Bug #6241

Not all installed packages are shown in PFSense 2.3

Added by Sander Peterse almost 4 years ago. Updated over 2 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
Package System
Target version:
-
Start date:
04/23/2016
Due date:
% Done:

0%

Estimated time:
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):
  1. 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:
  1. pkg info --raw-format json-compact 'pfSense-pkg-*'

History

#1 Updated by Jim Pingle over 2 years ago

  • Status changed from New to Duplicate

Replaced by #7946

Also available in: Atom PDF