Project

General

Profile

Actions

Bug #6241

closed

Not all installed packages are shown in PFSense 2.3

Added by Sander Peterse about 8 years ago. Updated over 6 years ago.

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):
  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-*'
Actions #1

Updated by Jim Pingle over 6 years ago

  • Status changed from New to Duplicate

Replaced by #7946

Actions

Also available in: Atom PDF