Bug 33935 - pkgdb isn't updated after Errata updates
pkgdb isn't updated after Errata updates
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: pkgdb
UCS 4.1
Other Linux
: P5 normal (vote)
: UCS 4.1-0-errata
Assigned To: Daniel Tröder
Janek Walkenhorst
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-01-15 21:24 CET by Ingo Steuwer
Modified: 2016-02-04 13:50 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 Ingo Steuwer univentionstaff 2014-01-15 21:24:41 CET
I did updates from Errata 0 to 17 and later 17 to 20 on DC Master, DC Backup and DC Slave with pkdb installed on DC Master using the UMC module. Only the DC Master was "up to date" in the pkgdb, all others stayed with "Errata 0". Calling "univention-pkgdb-scan" on the commandline manually worked fine.

All systems where installed with UCS 3.1 where pkgdb AFAIR worked fine.
Comment 1 Janis Meybohm univentionstaff 2015-08-12 15:43:04 CEST
2015080721000111

This is still reproducible with UCS 4.0-2 and it is not limited to UMC.
Installing errata updates on the commandline ("univention-upgrade") does also not trigger a "univention-pkgdb-scan".
Comment 2 Stefan Gohmann univentionstaff 2015-11-13 11:27:15 CET
I had expected that the apt trigger executes univention-pkgdb-scan. But conffiles/etc/apt/apt.conf.d/60invoke is part of univention-pkgdb instead of univention-pkgdb-tools.

I think the conffile should be moved.
Comment 3 Daniel Tröder univentionstaff 2016-01-19 13:17:41 CET
60invoke was moved to univention-pkgdb-tools, small fixes, a univention-pkgdb-scan is run when the package updates on all systems that are not the server.

Code: 66887
Advisory: 66887 + 66888
Comment 4 Daniel Tröder univentionstaff 2016-01-28 13:03:22 CET
In commit 67040 code in postinst was simplified (advisory 67041).
Comment 5 Janek Walkenhorst univentionstaff 2016-01-28 16:14:40 CET
Code review: OK

On systems with univention-pkgdb
  Scan run during upgrade of u-pkgdb: Yes
  Scan run after package installation: Yes
  Upgrade: OK

On systems with univeniton-pkgdb-tools
  Scan run during upgrade of u-pkgdb: Yes
  Scan run after package installation: Yes
  Upgrade: ERROR:

Ersatz für univention-pkgdb-tools wird entpackt ...
dpkg: Fehler beim Bearbeiten von /var/cache/apt/archives/univention-pkgdb-tools_9.0.1-5.201.201601281301_all.deb (--unpack):
 Versuch, »/etc/univention/templates/files/etc/apt/apt.conf.d/60invoke« zu überschreiben, welches auch in Paket univention-pkgdb 9.0.1-3.199.201511061743 ist
Comment 6 Daniel Tröder univentionstaff 2016-01-29 13:13:28 CET
A UCRV was moved in univention-pkgdb*.univention-config-registry-variables, the new config file has a new name so it doesn't clash with the old one and the old config file is then removed.
Comment 7 Janek Walkenhorst univentionstaff 2016-02-01 17:05:19 CET
(In reply to Janek Walkenhorst from comment #5)
On systems with univention-pkgdb
  Scan run during upgrade of u-pkgdb: Yes
  Scan run after package installation: Yes
  Upgrade: OK

On systems with univeniton-pkgdb-tools
  Scan run during upgrade of u-pkgdb: Yes
  Scan run after package installation: Yes
  Upgrade: OK

Advisory: OK
Comment 8 Janek Walkenhorst univentionstaff 2016-02-04 13:50:27 CET
<http://errata.software-univention.de/ucs/4.1/92.html>