Bug 712178 - Installing cups on an minimal textbased system causes dependency errors
Summary: Installing cups on an minimal textbased system causes dependency errors
Status: RESOLVED DUPLICATE of bug 669498
Alias: None
Product: openSUSE 11.4
Classification: openSUSE
Component: Patterns (show other bugs)
Version: Final
Hardware: x86-64 openSUSE 11.4
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Ludwig Nussel
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-13 15:18 UTC by Stefan Schäfer
Modified: 2011-08-31 15:11 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Schäfer 2011-08-13 15:18:40 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
Comment 1 Johannes Meixner 2011-08-16 06:34:05 UTC
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).
Comment 3 Ladislav Slezák 2011-08-30 11:03:11 UTC
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).
Comment 4 Stephan Kulow 2011-08-30 11:11:44 UTC
I think 12.1 doesn't have this problem anymore
Comment 5 Ludwig Nussel 2011-08-31 15:11:46 UTC
yes

*** This bug has been marked as a duplicate of bug 669498 ***