Bug 596821 - upower does not seem to be obsoleting DeviceKit-power
upower does not seem to be obsoleting DeviceKit-power
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: upower (Show other bugs)
13
All Linux
low Severity medium
: ---
: ---
Assigned To: Richard Hughes
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2010-05-27 11:06 EDT by John Villalovos
Modified: 2015-05-08 09:58 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-05-27 11:45:58 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description John Villalovos 2010-05-27 11:06:47 EDT
It seems like upower is not correctly obsoleting DeviceKit-power or a bug in yum?

On my system this happens:

# yum list updates
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
 * fedora: download.bos.redhat.com
 * rpmfusion-free: mirror.liberty.edu
 * rpmfusion-free-updates: mirror.liberty.edu
 * rpmfusion-nonfree: mirror.liberty.edu
 * rpmfusion-nonfree-updates: mirror.liberty.edu
 * updates: download.bos.redhat.com
Updated Packages
DeviceKit-power.x86_64                                                 1:0.9.0-1.fc13                                                 fedora

# yum update DeviceKit-power.x86_64
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
 * fedora: download.bos.redhat.com
 * rpmfusion-free: mirror.liberty.edu
 * rpmfusion-free-updates: mirror.liberty.edu
 * rpmfusion-nonfree: mirror.liberty.edu
 * rpmfusion-nonfree-updates: mirror.liberty.edu
 * updates: download.bos.redhat.com
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package DeviceKit-power.x86_64 1:0.9.0-1.fc13 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

============================================================================================================================================
 Package                               Arch                         Version                              Repository                    Size
============================================================================================================================================
Updating:
 DeviceKit-power                       x86_64                       1:0.9.0-1.fc13                       fedora                       105 k

Transaction Summary
============================================================================================================================================
Install       0 Package(s)
Upgrade       1 Package(s)

Total size: 105 k
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test


Transaction Check Error:
  file /usr/bin/upower from install of DeviceKit-power-1:0.9.0-1.fc13.x86_64 conflicts with file from package upower-0.9.4-1.fc13.x86_64
  file /usr/lib64/libdevkit-power-gobject.so.1.0.1 from install of DeviceKit-power-1:0.9.0-1.fc13.x86_64 conflicts with file from package upower-0.9.4-1.fc13.x86_64
  file /usr/lib64/libupower-glib.so.1.0.1 from install of DeviceKit-power-1:0.9.0-1.fc13.x86_64 conflicts with file from package upower-0.9.4-1.fc13.x86_64
  file /usr/libexec/upowerd from install of DeviceKit-power-1:0.9.0-1.fc13.x86_64 conflicts with file from package upower-0.9.4-1.fc13.x86_64

Error Summary
-------------
Comment 1 Richard Hughes 2010-05-27 11:34:05 EDT
How did you install DeviceKit-power on F13?
Comment 2 John Villalovos 2010-05-27 11:43:37 EDT
I used preupgrade to upgrade from F12 to F13.

# rpm -q DeviceKit-power
DeviceKit-power-014-1.fc12.x86_64

I'm guessing I just need to remove the DeviceKit-power RPM and I should be okay.
Comment 3 John Villalovos 2010-05-27 11:45:58 EDT
Okay.  Everything seems good now that I have removed the F12 version of DeviceKit-power.  Sorry, I should have done that in the first place.

# yum remove DeviceKit-power
Loaded plugins: fastestmirror, refresh-packagekit
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package DeviceKit-power.x86_64 0:014-1.fc12 set to be erased
--> Finished Dependency Resolution

Dependencies Resolved

============================================================================================================================================
 Package                              Arch                        Version                            Repository                        Size
============================================================================================================================================
Removing:
 DeviceKit-power                      x86_64                      014-1.fc12                         @updates/12                      241 k

Transaction Summary
============================================================================================================================================
Remove        1 Package(s)
Reinstall     0 Package(s)
Downgrade     0 Package(s)

Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Erasing        : DeviceKit-power-014-1.fc12.x86_64                                                                                    1/1 

Removed:
  DeviceKit-power.x86_64 0:014-1.fc12                                                                                                       

Complete!

# rpm --verify upower

# yum list updates
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
 * fedora: download.bos.redhat.com
 * rpmfusion-free: mirror.liberty.edu
 * rpmfusion-free-updates: mirror.liberty.edu
 * rpmfusion-nonfree: mirror.liberty.edu
 * rpmfusion-nonfree-updates: mirror.liberty.edu
 * updates: download.bos.redhat.com

Note You need to log in before you can comment on or make changes to this bug.