Project

General

Profile

Actions

Bug #11401

closed

Upgrade broken due to need to reinstall pkg

Added by Renato Botelho almost 4 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
Urgent
Category:
Upgrade
Target version:
Start date:
02/11/2021
Due date:
% Done:

0%

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

Description

Sometimes, without any good reason, pkg doesn't download itself when running `pkg upgrade -F` but then, when final `pkg upgrade` runs it decides it needs to reinstall itself. When it happens during boot in the middle of upgrade process, i breaks upgrade because there is no network configured to download it.

We need to change pfSense-upgrade to always download pkg just to be sure it will be available when it's needed.

Issue reported by Marcelo Gondim at Brazillian Telegram group

Actions

Also available in: Atom PDF