Bug 46445 - univention-printserver should depend on printer-driver-all only
univention-printserver should depend on printer-driver-all only
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Printserver
UCS 5.0
Other Linux
: P5 normal (vote)
: UCS 5.0
Assigned To: Florian Best
Felix Botner
:
: 52917 (view as bug list)
Depends on:
Blocks: 46328
  Show dependency treegraph
 
Reported: 2018-02-28 16:39 CET by Philipp Hahn
Modified: 2021-05-25 16:01 CEST (History)
4 users (show)

See Also:
What kind of report is it?: Development Internal
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 Philipp Hahn univentionstaff 2018-02-28 16:39:25 CET
Currently univention-printserver list may printer-driver-* packages as Depends.
It should be switched to "printer-driver-all" as that pulls in all other sub-driver-packages through a "Recommends", so a admin can still unselect the drivers she does not like.
For a hard dependency "printer-driver-all-enforce" should be used.

This breaks the update: Bug #46328
Comment 1 Stefan Gohmann univentionstaff 2018-03-05 14:41:13 CET
I think it is more an internal issue.
Comment 2 Philipp Hahn univentionstaff 2020-06-11 18:26:14 CEST
This is part of

commit 5b4e2f93127bc0f3e1a42604b0bb1c666a5d3f3b
Author: Philipp Hahn <hahn@univention.de>
Date:   Tue Jun 2 01:18:14 2020 +0200

    printserver: Drop gutenprint-ppds [WIP]
    
    dropped from Debian Buster. Switch to directly use
    foomatic-db-compressed-ppds and get rid of univention-foomatic-ppds
    package.
    
    Move gutenprint driver list to task file so packages are still
    maintained, but unused drivers can be removed.
    
    TODO: Fix mark_models_as_deprecated.py and 79univention-printserver.inst
    to work with compressed PPDs:
     /usr/lib/cups/driver/foomatic-db-compressed-ppds list
     /usr/lib/cups/driver/foomatic-db-compressed-ppds cat "foomatic-db-compressed-ppds:0/ppd/foomatic-ppd/Xerox-WorkCentre_XK35c-lex5700.ppd"


or whatever it will be named in the final UCS 5 branch.
Comment 3 Florian Best univentionstaff 2021-03-10 13:26:15 CET
univention-printserver (13.0.0-1)
693a0908a28f | Bug #46445 printserver: Drop gutenprint-ppds [WIP]

univention-foomatic-ppds (12.0.0-1)
693a0908a28f | Bug #46445 printserver: Drop gutenprint-ppds [WIP]

univention-dvd (5.0.0-1)
693a0908a28f | Bug #46445 printserver: Drop gutenprint-ppds [WIP]
Comment 4 Florian Best univentionstaff 2021-03-12 16:30:21 CET
git:5b4e2f93127bc0f3e1a42604b0bb1c666a5d3f3b dropped the dependency on printer-drivers-all.
I re-added it:

univention-printserver (13.0.2-4)
7a4454028561 | fixup! Bug #46445 printserver: Drop gutenprint-ppds [WIP]

To include really all printer PPD's available in debian we should add dependencies on?!:
printer-driver-indexbraille
printer-driver-oki

OK: univention-foomatic-ppds is a transitional package depending on foomatic-db-compressed-ppds
Comment 5 Florian Best univentionstaff 2021-03-12 21:13:02 CET
Support for using PPDs from foomatic-db-compressed-ppds has been added in the joinscript and in mark_models_as_deprecated.py:

univention-printserver (13.0.2-5)
802b0a8a7232 | Bug #46445: show verbose output in joinscript
f798397dfa27 | Bug #46445: support compressed printer drivers

ucs-test (10.0.4-30)
88d06d1789de | Bug #46445: read foomatic-db compressed printer drivers
Comment 6 Florian Best univentionstaff 2021-03-16 16:40:08 CET
Added error handling and verbosity to the Joinscript.

univention-printserver (13.0.2-5)
9f4f2ceb7424 | Bug #46445: add error handling to Joinscript
1d5497c7c81d | Bug #46445: replace LDAP logic with UDM
a15137e790ab | fixup! Bug #46445: support compressed printer drivers
Comment 7 Florian Best univentionstaff 2021-03-18 18:32:12 CET
libsensors5 needs to be added to the DVD task list as well as univention-nagios-cups.
Otherwise univention-printserver is not installable from DVD:

8c41bc0e441b | Bug #46445: update task list for univention-printserver

# LANG=C apt install univention-printserver hpijs-ppds printer-driver-hpijs libhpmud0 libsnmp30 libsensors5
 univention-printserver : Depends: hpijs-ppds but it is not going to be installed
                          Recommends: univention-nagios-cups but it is not installable
Comment 8 Florian Best univentionstaff 2021-03-18 18:33:42 CET
*** Bug 52917 has been marked as a duplicate of this bug. ***
Comment 9 Felix Botner univentionstaff 2021-03-29 09:59:11 CEST
see Bug #51530
Comment 10 Florian Best univentionstaff 2021-05-25 16:01:16 CEST
UCS 5.0 has been released:
 https://docs.software-univention.de/release-notes-5.0-0-en.html
 https://docs.software-univention.de/release-notes-5.0-0-de.html

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