Bugzilla – Bug 712178
Installing cups on an minimal textbased system causes dependency errors
Last modified: 2011-08-31 15:11:46 UTC
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20100101 Firefox/5.0 Tryin to install cups, (or additional packages) causes the following package dependency error: "Problem: cups-1.4.6-7.8.1.x86_64 benötigt cups-libs = 1.4.6-7.8.1, was aber nicht angeboten werden kann Nicht installierbare Anbieter: cups-libs-1.4.6-7.8.1.i586[Aktualisierungen-für-openSUSE-11.4-11.4-0] cups-libs-1.4.6-7.8.1.x86_64[Aktualisierungen-für-openSUSE-11.4-11.4-0] Lösung 1: Deinstallation von patterns-openSUSE-minimal_base-11.4-6.9.1.x86_64 Lösung 2: cups-1.4.6-7.8.1.x86_64 nicht installieren Lösung 3: cups-1.4.6-7.8.1.x86_64 nicht installieren Lösung 4: cups auflösen durch das Ignorieren einiger Abhängigkeiten Wählen Sie aus den obigen Lösungen mittels Nummer oder brechen Sie a(b). [1/2/3/4/b] (b):" There is a conflict with the openSUSE-minimal_base pattern. Regards Stefan Reproducible: Always Steps to Reproduce: 1.zypper in cups 2. 3. Actual Results: dependency errors Expected Results: installed package cups
This is no bug in the cups packages. It is intentionally and it prevents you from installing a non-working mix-up of non-matching cups packages. From the cups RPM spec file: ----------------------------------------------------------------------- # Require the exact matching version-release of the cups-libs # sub-package because non-matching CUPS libraries may let # CUPS software crash (e.g. segfault) because all CUPS software # is built from the one same CUPS source tar ball so that # there are CUPS-internal dependencies via CUPS private API calls # (which do not happen for third-party software which uses only # the CUPS public API). # The exact matching version-release of the cups-libs sub-package # is available on the same package repository where the cups package is # because all are built simulaneously from the same cups source package # and all required packages are provided on the same repository: Requires: cups-libs = %{version}-%{release} ----------------------------------------------------------------------- If in your particular case you have a cups-version-release package without the matching cups-libs-version-release package available something else is wrong (perhaps in your repositories).
I found out that cups-client package conflicts with minimal_base pattern. I guess this is intentional to prevent from installing some huge packages in minimal system (the conflict list contains packages like perl-doc, samba-client,...). If you want to install it simply select solution 1 from the list (deinstallation of patterns-openSUSE-minimal_base). Changing component to Patterns as this is not a YaST problem (and may be not a problem at all).
I think 12.1 doesn't have this problem anymore
yes *** This bug has been marked as a duplicate of bug 669498 ***