Univention Bugzilla – Bug 15735
Fehler bei Update von univention-printserver
Last modified: 2023-11-15 15:03:02 CET
Created attachment 1859 [details] Fehlermeldung beim Update von univention-printserver Beim Update von univention-printserver wirft dpkg-divert eine Fehlermeldung, daß dpkg-divert nicht auf Verzeichnisse angewendet werden kann.
hp-ppd ist so gepatched, dass es das Verzeichnis /usr/share/cups/model nicht mehr anlegt. univention-printserver erstellt nun einen Link von /usr/share/cups/model auf /usr/share/ppd. (cupsd schaut in /usr/share/cups/model nach ppds, die liegen aber noch in /usr/share/ppd)
Created attachment 1945 [details] Keine Fehlermeldung beim Update Link existiert: # file /usr/share/cups/model /usr/share/cups/model: symbolic link to `../ppd'
(In reply to comment #2) > Created an attachment (id=1945) [details] > Keine Fehlermeldung beim Update > > Link existiert: > # file /usr/share/cups/model > /usr/share/cups/model: symbolic link to `../ppd' Damit: Verified
cupsys heißt ab UCS 2.3 cups, auch das PAM Config File bekommt den neuen Namen, das macht cups Paket selbst updater.log: Removing obsolete unchanged /etc/init.d/cupsys... Moving customized /etc/pam.d/cupsys to new location /etc/pam.d/cups... Removing obsolete unchanged /etc/logrotate.d/cupsys... dpkg: Fehler beim Bearbeiten von Jedoch heißt das Template aus univention-printserver noch .../pam.d/cupsys, dieses müsste umbenannt werden.
Im Postinst von univention-printserver wird noch /etc/init.d/cupsys benutzt, auch dies muss in cups umbenannt werden.
Das Template /etc/pam.d/cupsys wurde in /etc/pam.d/cups umbenannt. Im postinst wird nun /etc/init.d/cups benutzt.
Die /etc/pam.d/cups wird nach /etc/pam.d/cups.debian umgeleitet und von UCR verwaltet. Reopen: Nach dem Update univention-printserver 3.0.23-1.475.200911031613 -> 3.0.23-2.476.200911121101 bleibt die ursprüngliche /etc/pam.d/cupsys Datei bestehen.
(In reply to comment #7) > Reopen: > Nach dem Update univention-printserver 3.0.23-1.475.200911031613 -> > 3.0.23-2.476.200911121101 bleibt die ursprüngliche /etc/pam.d/cupsys Datei > bestehen. Nach dem Update 2.2-2 → 2.3-0: root@autoupdate220i386:~# dpkg -S /etc/univention/templates/files/etc/pam.d/cups* univention-printserver: /etc/univention/templates/files/etc/pam.d/cups univention-printserver: /etc/univention/templates/files/etc/pam.d/cupsys root@autoupdate220i386:~# ls -l /etc/univention/templates/files/etc/pam.d/cups* -rw-r--r-- 1 root root 66 12. Nov 11:00 /etc/univention/templates/files/etc/pam.d/cups -rw-r--r-- 1 root root 66 12. Mär 2009 /etc/univention/templates/files/etc/pam.d/cupsys root@autoupdate220i386:~# diff /etc/univention/templates/files/etc/pam.d/cups* root@autoupdate220i386:~# root@autoupdate220i386:~# ls -l /etc/pam.d/cups* -rw-r--r-- 1 root root 466 16. Nov 02:22 /etc/pam.d/cups -rw-r--r-- 1 root root 468 12. Okt 11:35 /etc/pam.d/cups.debian -rw-r--r-- 1 root root 69 7. Mai 2009 /etc/pam.d/cupsys.debian.dpkg-new
(In reply to comment #8) > (In reply to comment #7) > > Reopen: > > Nach dem Update univention-printserver 3.0.23-1.475.200911031613 -> > > 3.0.23-2.476.200911121101 bleibt die ursprüngliche /etc/pam.d/cupsys Datei > > bestehen. > > Nach dem Update 2.2-2 → 2.3-0: > > root@autoupdate220i386:~# dpkg -S > /etc/univention/templates/files/etc/pam.d/cups* > univention-printserver: /etc/univention/templates/files/etc/pam.d/cups > univention-printserver: /etc/univention/templates/files/etc/pam.d/cupsys > root@autoupdate220i386:~# ls -l /etc/univention/templates/files/etc/pam.d/cups* > -rw-r--r-- 1 root root 66 12. Nov 11:00 > /etc/univention/templates/files/etc/pam.d/cups > -rw-r--r-- 1 root root 66 12. Mär 2009 > /etc/univention/templates/files/etc/pam.d/cupsys > root@autoupdate220i386:~# diff /etc/univention/templates/files/etc/pam.d/cups* > root@autoupdate220i386:~# > > root@autoupdate220i386:~# ls -l /etc/pam.d/cups* > -rw-r--r-- 1 root root 466 16. Nov 02:22 /etc/pam.d/cups > -rw-r--r-- 1 root root 468 12. Okt 11:35 /etc/pam.d/cups.debian > -rw-r--r-- 1 root root 69 7. Mai 2009 /etc/pam.d/cupsys.debian.dpkg-new Das ist unkritisch, solange auch die neue Datei mitgebracht wird. Das Template ist ein conffile und wird nur entfernt, wenn das Paket per purge entfernt wird.
(In reply to comment #9) > Das ist unkritisch, solange auch die neue Datei mitgebracht wird. Das Template > ist ein conffile und wird nur entfernt, wenn das Paket per purge entfernt wird. Damit Verified
UCS 2.3 wurde veröffentlicht. Sollte der hier beschriebene Bug mit einer neueren Version von UCS erneut auftreten, so sollte der Bug dupliziert werden: "Clone This Bug".