Bug 53608 - upgrade from UCS4.4 to 5.0 is blocked by component 'bareos_20210310180924'
upgrade from UCS4.4 to 5.0 is blocked by component 'bareos_20210310180924'
Status: RESOLVED WORKSFORME
Product: UCS
Classification: Unclassified
Component: Update - Release updates
UCS 5.0
amd64 Linux
: P5 major with 2 votes (vote)
: ---
Assigned To: UCS maintainers
UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-07-23 14:38 CEST by office
Modified: 2022-11-14 16:19 CET (History)
2 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description office 2021-07-23 14:38:10 CEST
For UCS 4.4-8 errata1012

since some time a can't upgrade to UCS5.0 as of the following message is printed on the console:

-----------
Starting univention-upgrade. Current UCS version is 4.4-8 errata1012

Checking for local repository:                          none
Checking for package updates:                           none
Checking for app updates:                               none
Checking for release updates:                           The update to UCS 5.0 is blocked because the component 'bareos_20210310180924' is marked as required.
none
-----------

AS 5.0 is out for some time, it seems that my problem might not solve by "waiting for other updates".


checking the package status shows it seems current

-----------
# aptitude show bareos
Paket: bareos
Version: 20.0.1-4
Zustand: Installiert
Automatisch installiert: ja
Priorität: optional
Bereich: admin
Verwalter: Joerg Steffens <joerg.steffens@bareos.com>
Architektur: amd64
Unkomprimierte Größe: 85,0 k
Hängt ab von: bareos-director (= 20.0.1-4), bareos-storage (= 20.0.1-4), bareos-client (= 20.0.1-4)
Beschreibung: Backup Archiving Recovery Open Sourced - metapackage
 Bareos is a set of programs to manage backup, recovery and verification of data across a network of computers of different kinds.

 It is efficient and relatively easy to use, while offering many advanced storage management features that make it easy to find and recover lost or damaged
 files. Due to its modular design, Bareos is scalable from small single computer systems to networks of hundreds of machines.

 This metapackage installs the entire suite of Bareos applications: job scheduling, storage control, node connector, and administrative console.
Homepage: http://www.bareos.org/

# apt show bareos
Package: bareos
Version: 20.0.1-4
Priority: optional
Section: admin
Maintainer: Joerg Steffens <joerg.steffens@bareos.com>
Installed-Size: 85,0 kB
Depends: bareos-director (= 20.0.1-4), bareos-storage (= 20.0.1-4), bareos-client (= 20.0.1-4)
Homepage: http://www.bareos.org/
Download-Size: 23,4 kB
APT-Manual-Installed: no
APT-Sources: https://appcenter.software-univention.de/univention-repository/4.4/maintained/component bareos_20210310180924/amd64/ Packages
Description: Backup Archiving Recovery Open Sourced - metapackage
 Bareos is a set of programs to manage backup, recovery and verification of
 data across a network of computers of different kinds.
 .
 It is efficient and relatively easy to use, while offering many advanced
 storage management features that make it easy to find and recover lost or
 damaged files. Due to its modular design, Bareos is scalable from small
 single computer systems to networks of hundreds of machines.
 .
 This metapackage installs the entire suite of Bareos applications: job
 scheduling, storage control, node connector, and administrative console.

N: Es gibt 4 zusätzliche Einträge. Bitte verwenden Sie die Option »-a«, um sie anzuzeigen.

-----------

What makes me wonder is that apt shows the URL containing "component bareos_20210310180924", which matches the version in the initial blocking message.
Comment 1 linux@osit.cc 2022-05-11 20:11:04 CEST
Almost the same here: Only that bareos has not been installed on my system for a long time.

4.4-9 errata1233

The update to UCS 5.0 is blocked because the component 'bareos_20180628113044' is marked as required.

A long time ago i had bareos installed, but on another memberserver. All clientpackages are removed. So is there a flag/config… what i have to remove/edit?

Maybe the error is related.
Comment 2 office 2022-11-14 16:19:51 CET
I also had removed all client packages via software-manager and apt/aptitude but finally changed a setting in the Univention-REgistry

> ucr set repository/online/component/bareos_20200122130204=false

This unblocked the upgrade and I don't have seen any issues.

Note: I kept a copy of the `/etc/bareos` folder before removing the packages and used them after upgrade.