Bug 48665 - PackageManager in UCS@school Installer fails to update package cache
PackageManager in UCS@school Installer fails to update package cache
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: UMC - Installer
UCS@school 4.3
Other Linux
: P5 normal (vote)
: UCS@school 4.4 v1
Assigned To: Jürn Brodersen
Daniel Tröder
:
Depends on: 46469
Blocks:
  Show dependency treegraph
 
Reported: 2019-02-13 13:09 CET by Jürn Brodersen
Modified: 2019-03-12 10:58 CET (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 6: Setup Problem: Issue for the setup process
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 3: A User would likely not purchase the product
User Pain: 0.103
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 Jürn Brodersen univentionstaff 2019-02-13 13:09:48 CET
+++ This bug was initially created as a clone of Bug #46469 +++

After the apt-get update call in the school installer, the package manger needs to reopen the cache:
_self.package_manager.reopen_cache()

Otherwise it still uses the old apt data.


Noticed in 4.3 -> 4.4 update test. The ucsschool-single-master package was not found due to this.
Comment 1 Jürn Brodersen univentionstaff 2019-02-13 13:14:06 CET
Workaround for the tests:
[4.4-0 eef4086950] Bug #48665: Update package database before starting the installer
Comment 2 Jürn Brodersen univentionstaff 2019-02-13 13:16:45 CET
Set down user pain because nobody noticed this yet and most customer probably set up ucs@school directly after the installation.
Comment 3 Jürn Brodersen univentionstaff 2019-02-14 11:34:11 CET
[4.4 2353adc54] Bug #48665: update PackageManager cache after apt update
[4.4 ff356171a] Bug #48665: yaml version

The workaround is still needed as long as this is not backported.
Comment 4 Daniel Tröder univentionstaff 2019-02-19 09:12:58 CET
OK: code change
OK: "ucs-school-singlemaster" gets installed in jenkins
OK: advisory
Comment 5 Sönke Schwardt-Krummrich univentionstaff 2019-03-12 10:58:33 CET
UCS@school 4.4 v1 has been released.

https://docs.software-univention.de/release-notes-ucsschool-4.4v1-de.html

If this error occurs again, please clone this bug.