Project

General

Profile

Actions

Feature #10645

open

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

Added by Constantine Kormashev over 4 years ago. Updated over 4 years ago.

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

0%

Estimated time:
Plus Target Version:
Release Notes:

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.

Actions

Also available in: Atom PDF