Bug 596821 - upower does not seem to be obsoleting DeviceKit-power
Summary: upower does not seem to be obsoleting DeviceKit-power
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: upower
Version: 13
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Richard Hughes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-05-27 15:06 UTC by John Villalovos
Modified: 2015-05-08 13:58 UTC (History)
2 users (show)

(edit)
Clone Of:
(edit)
Last Closed: 2010-05-27 15:45:58 UTC


Attachments (Terms of Use)

Description John Villalovos 2010-05-27 15:06:47 UTC
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 15:34:05 UTC
How did you install DeviceKit-power on F13?

Comment 2 John Villalovos 2010-05-27 15:43:37 UTC
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 15:45:58 UTC
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.