[cups] If you can read this, you are using the wrong driver for your printer.

Johannes Meixner jsmeix at suse.de
Tue Apr 17 03:33:44 PDT 2018


Hello,

On Apr 16 20:54 Paul Neuwirth wrote (excerpt):
> unfortunately I cannot install a recent cups-filters
> # zypper up cups-filters
> Problem: cups-filters-1.20.2-81.1.x86_64 obsoletes cups-filters-ghostscript ...

I have no idea why a RPM obsoletes is a "Problem" for zypper here.

I test installing my RPMs in the openSUSE Build Serevice "Printing"
project only by plain 'rpm -Uhv ...' installation, cf.
https://en.opensuse.org/openSUSE:How_to_contribute_to_the_Printing_project

I do not remember a problem when updating cups-filters with a
recent one from the openSUSE Build Serevice "Printing" project.

I assume you can ignore that "Problem" and let the new cups-filters
actually obsolete the old stuff as intended i.e. do this zypper solution:
> Solution 1: Following actions will be done:
>  remove lock to allow removal of cups-filters-ghostscript-1.8.2-62.11.x86_64
>  remove lock to allow removal of cups-filters-foomatic-rip-1.8.2-62.11.x86_64
>  remove lock to allow removal of cups-filters-cups-browsed-1.8.2-62.11.x86_64

I don't know what 'lock' there is here.
I guess that 'lock' is something unusual.
Usually RPM obsoletes "just work".

FYI:

Regarding that RPM obsoletes see
https://build.opensuse.org/package/view_file/Printing/cups-filters/cups-filters.changes?expand=1
that reads (excerpts):
--------------------------------------------------------------------
- Since version 1.14.0 there are no longer sub-packages
   (except cups-filters-devel) because nowadays cups-filters
   can no longer be built with CUPS < 1.6 with reasonable effort,
   see the entry below dated "Wed Oct  7 11:16:13 CEST 2015".
   On systems with CUPS >= 1.6 (i.e. since SLE12 GA / Leap 42.1)
   there is no good reason to keep cups-filters split into
   sub-packages and furthermore that split causes continuous
   (nowadays useless) efforts and bugs (like boo#1034877).
--------------------------------------------------------------------
where 'boo#1034877' means
https://bugzilla.opensuse.org/show_bug.cgi?id=1034877
therein you can see that
"my cups-filters version upgrade to 1.14.0 on my Leap 42.1 system"
had "just worked" for me with plain 'rpm' at that time.

For the technical details see
https://build.opensuse.org/package/view_file/Printing/cups-filters/cups-filters.spec?expand=1
that reads (excerpts):
------------------------------------------------------------------------------------
# Since version 1.14.0 there are no longer sub-packages (except 
cups-filters-devel).
# The separation of cups-filters into sub-packages was done to make it possible
# to use cups-filters on systems with the traditional CUPS < 1.6
# (i.e. on systems before the SLE12 code base)
# because parts of the cups-filters software conflict with traditional CUPS < 
1.6,
# see the comments and package descriptions in older cups-filters.spec.
# But nowadays cups-filters can no longer be built with CUPS < 1.6 with 
reasonable effort,
# see the entry dated "Wed Oct  7 11:16:13 CEST 2015" in cups-filters.changes.
# On systems with CUPS >= 1.6 (i.e. since SLE12 GA / Leap 42.1) there is no good 
reason
# to keep cups-filters split into sub-packages and furthermore that split causes
# continuous (nowadays useless) efforts and bugs like
# https://bugzilla.opensuse.org/show_bug.cgi?id=1034877
# Therefore the cups-filters main package must provide
# all what was provided by its former sub-packages
# i.e. all sub-packages names and all explicit "Provides"
# and furthermore it obsoletes all the old sub-packages:
Provides:       cups-filters-ghostscript
Obsoletes:      cups-filters-ghostscript < %{version}
Obsoletes:      cups-filters-ghostscript-debuginfo
Provides:       cups-filters-cups-browsed
Provides:       gstoraster
Obsoletes:      cups-filters-cups-browsed < %{version}
Obsoletes:      cups-filters-cups-browsed-debuginfo
Provides:       cups-browsed
Provides:       cups-filters-foomatic-rip
Obsoletes:      cups-filters-foomatic-rip < %{version}
Obsoletes:      cups-filters-foomatic-rip-debuginfo
------------------------------------------------------------------------------------


Kind Regards
Johannes Meixner
-- 
SUSE LINUX GmbH - GF: Felix Imendoerffer, Jane Smithard,
Graham Norton - HRB 21284 (AG Nuernberg)



More information about the cups mailing list