Bug 34904 - Package manager of the installer may operate on outdated cache
Package manager of the installer may operate on outdated cache
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: UMC - Installer
UCS@school 3.2 R2
Other Linux
: P5 normal (vote)
: UCS@school 3.2 R2
Assigned To: Dirk Wiesenthal
Sönke Schwardt-Krummrich
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-21 14:41 CEST by Dirk Wiesenthal
Modified: 2014-06-12 09:20 CEST (History)
1 user (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 Dirk Wiesenthal univentionstaff 2014-05-21 14:41:24 CEST
The cache of the package manager may be outdated when setting up UCS@school and downloading the packages.

The user gets error messages like:
Failed to download ucs-school-umc-computerroom 5.0.4-1.141.201405061458

and the process is aborted.

A simple package_manager.update() could prevent this error.

This error is not really critical as we provide UCS@school via App Center and this repository does not change. And apt-get update runs once per hour. Still, I came across it.
Comment 1 Sönke Schwardt-Krummrich univentionstaff 2014-05-21 21:21:33 CEST
May this be a problem if the UCS@school packages depend on UCS Errata (and the cache of the errata repo is outdated)?
Comment 2 Dirk Wiesenthal univentionstaff 2014-05-22 00:45:21 CEST
(In reply to Sönke Schwardt-Krummrich from comment #1)
> May this be a problem if the UCS@school packages depend on UCS Errata (and
> the cache of the errata repo is outdated)?

Yes, this should be possible (=> a problem)
Comment 3 Dirk Wiesenthal univentionstaff 2014-05-23 11:57:44 CEST
Should be fixed in
  ucs-school-umc-installer 2.0.17-1.59.201405231120
Comment 4 Sönke Schwardt-Krummrich univentionstaff 2014-05-23 12:13:59 CEST
Was not able to reproduce it with the new package.
Changelog entry is present.

VERIFIED
Comment 5 Sönke Schwardt-Krummrich univentionstaff 2014-06-12 09:19:28 CEST
UCS@school 3.2 R2 has been released:
http://docs.univention.de/release-notes-ucsschool-3.2R2-de.html

If this error occurs again, please use "Clone This Bug".