On 2/18/26 21:01, Ed Martin wrote:
Hi,

    I'm trying to get CPDB installed on trixie, and I think I found a dependency problem, which I *think* is a bug (or maybe I don't understand the architecture)


 From the source for libcupsfilters, I see this statement

> ... the original cups-filters package got split into 5 separate packages: libcupsfilters, libppd, cups-filters, braille-printer-app, and cups-browsed, with libcupsfilters and braille-printer-app not containing  PD file support code any more and cups-browsed being planned to drop explicit use of PPD files.

> This package provides the libcupsfilters library, which in its 2.x version contains all the code of the filters of the former cups-filters package as library functions, the so-called filter functions.


So per that, libcupsfilters2 replaces cups-filters, per https://github.com/ OpenPrinting/cpdb-backend-cups CUPS, v2.2 is a dependency of cpdb-backend-cups


libcupsfilters2 does not replace cups-filters. It does not work with cups-filters 1.x. To use cups-filters with libcupsfilters2, cups-filters 2.x is required.


So therefore, I should be able to do install cpdb-backend-cups... which I guess installs libcupsfilter2 as a dependency and libcupsfilter2-common replaces cups- filters (and has both Breaks and Replaces cups-filters for it's dependencies)? According to apt, that means cpdb-backend-cups is completely incompatible with cups.


the cups-filters which needs to get installed is 2.x, cups-filters 1.x needs to be removed or updated to 2.x. Then you can (must) have libcupsfilters2 and then you can install cpdb-backend-cups.


I do not think libcupsfilters2-common is working as intended here. Either the dependency information for libcupsfilters2-common is wrong (and it should satisfy the dependency of cups-filters for anything that needs it), or cups should be made to work with libcupsfilter2-common. Or am I misunderstanding something, and somehow cpdb-backend-cups is intended to replace cups (in that case, someone needs to rebuild gnome because gnome-core is dependent on cups)


If the installation of libcupsfilters2 as a dependency of cpdb-backend-cups does not make cups-filters 1.x updated to cups-filters 2.x, there is a bug in the dependency definitions in the *.deb packages.

   Till

Reply via email to