Univention Bugzilla – Bug 33935
pkgdb isn't updated after Errata updates
Last modified: 2016-02-04 13:50:27 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.
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".
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.
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
In commit 67040 code in postinst was simplified (advisory 67041).
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
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.
(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
<http://errata.software-univention.de/ucs/4.1/92.html>