Project

General

Profile

Feature #10645

Choosing active repo after restoring config but before starting pkgs auto-installing

Added by Constantine Kormashev 5 months ago. Updated about 1 month ago.

Status:
New
Priority:
Very Low
Assignee:
-
Category:
Package System
Target version:
-
Start date:
06/09/2020
Due date:
% Done:

0%

Estimated time:

Description

The current behavior is if a certain repo is set, config contains an entry for this, like <pkg_repo_conf_path>/usr/local/share/pfSense/pkg/repos/pfSense-repo-xxx.conf</pkg_repo_conf_path> and device has different firmware version from config original, but also has the same repo set. Then, if the config is restored on that device pkgs anyway will be installed from default repo for current firmware version installed on the device. E.g. config from 2.4.5 has a 2.4.4-deprecated repo set, the device has 2.4.4-p3, and uses the same 2.4.4-deprecated repo. Then after restoring config pkgs will be installed from default 2.4.x-stable repo, it looks like the preferred repo was not set anywhere. This might lead to a problem with the wrong pkgs versions.

It would be good if after restoring config, but before auto-installing pkgs, the user can choose that repo has to be used on the device.

History

#1 Updated by Jim Pingle about 1 month ago

  • Category set to Package System

Also available in: Atom PDF