Univention Bugzilla – Bug 36769
univention-printquota and univention-printserver-pdf are deinstalled during update to UCS 4.0
Last modified: 2014-11-26 06:54:09 CET
We already check for univention-printserver in update/ucs40/installedapps. But univention-printquota and univention-printserver-pdf are removed to during update. (1) add univention-printquota and univention-printserver-pdf to installed apps test (2) This is all because the new univention-printserver has a dependency to printer-driver-postscript-hp, which eventually wants to install libgd2-xpm. But this package conflicts with libgd2-noxpm, which is installed. apt-get refuses to replace libgd2-noxpm with libgd2-xpm during the update and deinstalls univention-printserver (and therefore univention-prinquota ...). Maybe we should only recommend printer-driver-postscript-hp (hopefully this fixes the update) or remove it completely as there are no ppds in this package: -> dpkg -L printer-driver-postscript-hp /. /usr /usr/share /usr/share/doc /usr/share/doc/printer-driver-postscript-hp /usr/share/doc/printer-driver-postscript-hp/changelog.Debian.gz /usr/share/doc/printer-driver-postscript-hp/copyright /usr/share/cups /usr/share/cups/ppd-updaters /usr/share/cups/ppd-updaters/printer-driver-postscript-hp.ppd-updater /usr/lib /usr/lib/cups /usr/lib/cups/driver /usr/lib/cups/driver/postscript-hp
I've added univention-printquota and univention-printserver-pdf to the preup.sh: r55902 Changelog: r55903
OK
I've also added ucs-school-ucc-integration and ucs-school-umc-printermoderation: r55929
this test case "$(dpkg-query -W -f '${Status}' $app in "deinstall ok config-files" prevents the (re)installation of ucs-school-umc-printermoderation and ucs-school-ucc-integration, because they have not config files -> dpkg-query -W -f '${Status}' ucs-school-umc-printermoderation unknown ok not-installed
(In reply to Felix Botner from comment #4) > this test > > case "$(dpkg-query -W -f '${Status}' $app in "deinstall ok config-files" > > prevents the (re)installation of ucs-school-umc-printermoderation and > ucs-school-ucc-integration, because they have not config files > > -> dpkg-query -W -f '${Status}' ucs-school-umc-printermoderation > unknown ok not-installed Fixed with r55955
dpkg-query -W -f '${Status}' univention-printserver deinstall ok config-files -> dpkg-query -W -f '${Status}' ucs-school-ucc-integration unknown ok not-installed
Sorry. But now as suggested, the packages are installed always.
UCS 4.0-0 has been released: http://docs.univention.de/release-notes-4.0-0-en.html http://docs.univention.de/release-notes-4.0-0-de.html If this error occurs again, please use "Clone This Bug".