Project

General

Profile

Actions

Bug #12669

closed

Improvements to pkg update handling

Added by Kris Phillips over 3 years ago. Updated over 3 years ago.

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

0%

Estimated time:
Release Notes:
Default
Affected Plus Version:
Affected Architecture:
All

Description

Currently when a new pfSense release comes out pkg updates the repo files immediately so that the current stable release is the repo that is used. We offer the ability to "switch" to legacy repos so that users can install packages, but this causes a lot of confusion when a new major release comes out and users from the previous branch can no longer install packages. Additionally, sometimes we update pkg or push system packages that break pkg in the background resulting in support cases being opened.

Proposed changes to align with how other operating systems handle updates:
1. Change the update system to not rely on update notifications from pkg checks, but instead from a different source file
2. Have the repos remain on whatever major branch release it's on
3. When a user initiates an upgrade THEN switch the repo files to make the upgrade happen

This would allow users to still get notified that an update is available without silently bricking their pkg and pkg database when something goes wrong with upgrading pkg or changing the repos.

Actions #1

Updated by Jim Pingle over 3 years ago

  • Status changed from New to Duplicate

Duplicate of #10464 which already had a similar planned solution in mind.

Actions

Also available in: Atom PDF