Bug 233982

Summary: Latest ConsoleKit requires 18 new unnecessary packages
Product: [Fedora] Fedora Reporter: Jarkko <jval>
Component: ConsoleKitAssignee: David Zeuthen <davidz>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: mclasen
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: 0.2.1-0.git20070402 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-04-02 21:16:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jarkko 2007-03-26 14:15:41 UTC
Description of problem: Latest ConsoleKit in the development repository adds
requirements for all kinds of X related packages. Non-graphical server
environments don't need these packages.

Version-Release number of selected component (if applicable): 0.2.0-2.fc7

How reproducible: Always

Steps to Reproduce:
1. Use Rawhide with ConsoleKit < 0.2.0-2.fc7
2. Run "yum upgrade"
3. See the suggested package list
  
Actual results:

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Updating:
 ConsoleKit              x86_64     0.2.0-2.fc7      development        67 k
 ConsoleKit-libs         x86_64     0.2.0-2.fc7      development        13 k
Installing for dependencies:
 atk                     x86_64     1.18.0-1.fc7     development       233 k
 cairo                   x86_64     1.4.2-1.fc7      development       431 k
 cups-libs               x86_64     1:1.2.10-1.fc7   development       179 k
 fontconfig              x86_64     2.4.2-2.fc7      development       178 k
 freetype                x86_64     2.3.2-1.fc7      development       320 k
 gnutls                  x86_64     1.4.5-1          development       363 k
 gtk2                    x86_64     2.10.11-1.fc7    development       6.7 M
 hicolor-icon-theme      noarch     0.10-2           development        32 k
 libXcursor              x86_64     1.1.8-1          development        32 k
 libXfixes               x86_64     4.0.3-1          development        15 k
 libXft                  x86_64     2.1.12-1.fc7     development        44 k
 libXi                   x86_64     1.0.2-1          development        29 k
 libXinerama             x86_64     1.0.1-2.1        development        10 k
 libjpeg                 x86_64     6b-37            development       140 k
 libpng                  x86_64     2:1.2.16-1.fc7   development       237 k
 libthai                 x86_64     0.1.7-5.fc7      development       153 k
 libtiff                 x86_64     3.8.2-7.fc7      development       318 k
 pango                   x86_64     1.16.1-1.fc7     development       356 k

Transaction Summary
=============================================================================
Install     18 Package(s)
Update       2 Package(s)
Remove       0 Package(s)

Total download size: 9.8 M
Is this ok [y/N]: n

Expected results:

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Updating:
 ConsoleKit              x86_64     0.2.0-2.fc7      development        67 k
 ConsoleKit-libs         x86_64     0.2.0-2.fc7      development        13 k

Transaction Summary
=============================================================================
Install      0 Package(s)
Update       2 Package(s)
Remove       0 Package(s)

Total download size: 80 k
Is this ok [y/N]: y

Additional info: I *really* hope those new dependencies were added accidentally.
I don't want to install X related packages to this system. :)

Comment 1 jmccann 2007-03-26 18:45:28 UTC
In git I've changed the tool to use xlib directly to open the display.  That
should go a long way.  I suppose we could try to dlopen libX11...

Comment 2 David Zeuthen 2007-03-26 19:20:18 UTC
Matthias suggests to move the tool into a sub package, say, ConsoleKit-x11 and
just make gdm and, in the future, xorg-x11-xinit, pull that in. Thoughts?

Comment 3 Jarkko 2007-03-27 05:59:49 UTC
This is what hal does (pulls ConsoleKit in). I have ConsoleKit installed in this
server system because I use smartmontools which requires hal which in turn
requires ConsoleKit.

We don't want to have a system where everything requires everything. :)

So, ConsoleKit-x11 sounds like a good idea.

Comment 4 David Zeuthen 2007-04-02 21:16:10 UTC
Fixed in ConsoleKit-0.2.1-0.git20070402.