Bug 35632 - meta packages: Problematic ucr set command in postinst
meta packages: Problematic ucr set command in postinst
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: General
UCS@school 3.2 R2
Other Linux
: P5 normal (vote)
: UCS@school 3.2 R2 Errata
Assigned To: Dirk Wiesenthal
Florian Best
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-08-18 12:28 CEST by Dirk Wiesenthal
Modified: 2014-08-27 17:01 CEST (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): Cleanup
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-08-18 12:28:31 CEST
ucr set repository/online/component/ucsschool/version=current

As UCS@school repositories are handled by the App Center, this is not necessary.

In fact, it is useless, as this repository does not exist. But it triggers ucr commit on the apt sources lists which is awfully slow.

Remove this command in all postinst scripts of ucs-school-metapackage
Comment 1 Dirk Wiesenthal univentionstaff 2014-08-19 23:37:09 CEST
ucs-school-metapackage 6.0.8-8
Comment 2 Florian Best univentionstaff 2014-08-21 14:45:49 CEST
Fix: OK
Changelog: OK

REOPEN: What about an unset for updated systems?
Comment 3 Dirk Wiesenthal univentionstaff 2014-08-21 15:46:13 CEST
Yeah, could be done. But actually it is really unnecessary. This UCR variable does nothing, as the component itself is not enabled. It triggers the ucr commit nonetheless, though.

So:
 ucr unset => clean, but triggers
 no ucr unset => garbage, but not dangerous

My decision: no ucr unset. If this was not a question but an order, feel free to reopen
Comment 4 Florian Best univentionstaff 2014-08-21 15:59:03 CEST
no order ;)
Comment 5 Sönke Schwardt-Krummrich univentionstaff 2014-08-27 17:01:40 CEST
UCS@school 3.2 R2 v2 has been released:
http://docs.univention.de/release-notes-ucsschool-3.2R2v2-de.html

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