[Bug 904047] New: Gnome has a hard RPM requirement for the whole CUPS
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=904047 Bug ID: 904047 Summary: Gnome has a hard RPM requirement for the whole CUPS Classification: openSUSE Product: openSUSE Factory Version: 201410* Hardware: All OS: SUSE Other Status: NEW Severity: Normal Priority: P5 - None Component: GNOME Assignee: bnc-team-gnome@forge.provo.novell.com Reporter: jsmeix@suse.com QA Contact: qa-bugs@suse.de CC: fcrozat@suse.com, klaus.gmeinwieser@oce.com Depends on: 875606 Found By: Beta-Customer Blocker: No +++ This bug was initially created as a clone of Bug #875606 +++ In short: Gnome cannot installed without the whole CUPS. Reason: gnome-control-center has a hard RPM requirement for cups-pk-helper and cups-pk-helper has a hard RPM requirement for cups. For SLE12 this was fixed in gnome-control-center by lowering 'Requires' to 'Recommends' for cups-pk-helper, see in OBS SUSE:SLE-12:GA/gnome-control-center/gnome-control-center.changes But: --------------------------------------------------------------------------- $ osc cat SUSE:SLE-12:GA gnome-control-center gnome-control-center.spec \ | grep cups-pk-helper Recommends: cups-pk-helper $ osc cat openSUSE:Factory gnome-control-center gnome-control-center.spec \ | grep cups-pk-helper Requires: cups-pk-helper --------------------------------------------------------------------------- => bug still present in gnome-control-center in openSUSE:Factory Only FYI:
From some time ago on one of my SLE12 test systems an analysis what actually had required cups at that time (the rpm output is shown condensed here by me):
rpm -e --test cups-client error: Failed dependencies: cups-client needed by cups-1.7.2-6.1.x86_64 # rpm -e --test cups error: Failed dependencies: cups needed by cups-pk-helper-0.2.5-3.61.x86_64 cups needed by patterns-sles-print_server-12-28.1.x86_64 cups needed by system-config-printer-1.4.4-1.3.x86_64 # rpm -e --test system-config-printer [no output - i.e. nothing requires it] # rpm -e --test patterns-sles-print_server [no output - i.e. nothing requires it] # rpm -e --test cups-pk-helper error: Failed dependencies: cups-pk-helper needed by cups-pk-helper-lang-0.2.5-3.61.noarch cups-pk-helper needed by gnome-control-center-3.10.3-1.3.x86_64 # rpm -e --test cups-pk-helper-lang [no output - i.e. nothing requires it] ----------------------------------------------------------------------- When gnome-control-center has a hard RPM requirement for cups-pk-helper it must mean that gnome-control-center cannot run without it or that gnome-control-center does not make any sense without it. When gnome-control-center can run without cups-pk-helper in a reasonable way, then gnome-control-center should not have a hard RPM requirement for cups-pk-helper but only a weak RPM "Recommends" for it. This way cups-pk-helper (and CUPS) would be usually installed when gnome-control-center is installed (via zypper's "--recommends") but when a user deliberately does not want to have CUPS installed, the RPMs cups and cups-client could be removed without violating hard RPM requirements. In contrast the cups-libs RPM is usually needed by many other software packages that link with the CUPS libraries ----------------------------------------------------------------------- # rpm -e --test cups-libs 2>&1 \ | grep -o 'needed by .*' | cut -d ' ' -f4 | sort -u cups-1.7.2-6.1.x86_64 cups-client-1.7.2-6.1.x86_64 cups-filters-1.0.52-7.1.x86_64 cups-filters-cups-browsed-1.0.52-7.1.x86_64 cups-filters-ghostscript-1.0.52-7.1.x86_64 cups-pk-helper-0.2.5-3.61.x86_64 ghostscript-9.14-1.11.x86_64 gnome-control-center-3.10.3-1.3.x86_64 gnome-settings-daemon-3.10.2-7.2.x86_64 hplip-hpijs-3.14.4-2.3.x86_64 libgtk-2_0-0-2.24.23-1.23.x86_64 libgtk-3-0-3.10.7-1.35.x86_64 patterns-sles-base-12-28.1.x86_64 python-cups-1.9.66-1.3.x86_64 samba-libs-4.1.6-5.1.x86_64 ----------------------------------------------------------------------- Summary: It is o.k. when Gnome links with CUPS libraries but I wonder if Gnome really cannot work without the whole rest of CUPS (in particular a running cupsd). -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=904047
Dominique Leuenberger
+++ This bug was initially created as a clone of Bug #875606 +++
In short: Gnome cannot installed without the whole CUPS.
Reason: gnome-control-center has a hard RPM requirement for cups-pk-helper and cups-pk-helper has a hard RPM requirement for cups.
For SLE12 this was fixed in gnome-control-center by lowering 'Requires' to 'Recommends' for cups-pk-helper, see in OBS SUSE:SLE-12:GA/gnome-control-center/gnome-control-center.changes
Argument is moot: if nobody forwards fixes from SLE to oS, they won't be fixed :) Passing on to Atri to also lower the dep for pk-cups-helper to Recommends -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=904047
--- Comment #2 from Johannes Meixner
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=904047
--- Comment #3 from Dominique Leuenberger
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=904047
Atri Bhattacharya
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=904047
Atri Bhattacharya
Fix for this bug as well as bug 904058 have been built and tested at: obs://home:badshah400:boo904047/gnome-control-center.openSUSE_13.2_Update
Mr. Maintenance, I would love to submit this as a maintenance release for openSUSE 13.2. Please advise if this would be okay. Changelog diff follows:
We pulled in a few further fixes for life-threatening issues from the relevant upstream branch, so the Changelog now reads: ------------------------------------------------------------------- Mon Nov 3 14:55:37 UTC 2014 - badshah400@gmail.com - Downgrade cups-pk-helper Requires to Recommends (boo#904047) - Add gnome-control-center-follow-polkit-permissions-for-tz.patch to allow timezone changes by user if permitted by polkit permissions; fixes boo#904058 - Add gnome-control-center-no-country-code-crash.patch to fix a crash for locales with no country codes; patch came from upstream; fixes boo#904071, bgo#738963 - Add gnome-control-center-user-account-cheese-crash.patch -- user-account: do not crash while taking a picture for user avatar using cheese, patch taken from upstream git; fixes boo#904070, bgo#697039 - Add gnome-control-center-crash-when-date-unavailable.patch -- background: Do not crash when date is unavailable, patch taken from upstream git; fixes boo#904073, bgo#736475. ------------------------------------------------------------------- Fri Oct 17 20:34:01 UTC 2014 - dimstar@opensuse.org - Recommend the installation of dbus(com.intel.dleyna-server): through the online-accounts panel, it is possible to configure DLNA Media Servers (for gnome-photos). This feature relies on dleyna-server. ------------------------------------------------------------------- Hopefully, this should be okay. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com