Bug 731743

Summary: file naming conflict with cpu powerutils and kernel tools
Product: [Fedora] Fedora Reporter: darrell pfeifer <darrellpf>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: aquini, gansalmon, itamar, jonathan, kernel-maint, madhu.chinakonda, psabata
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-19 17:50:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 730418    

Description darrell pfeifer 2011-08-18 14:25:59 UTC
Description of problem:

Setting up and reading Presto delta metadata
(1/6): kernel-3.1.0-0.rc2.git4.2.fc17.x86_64.rpm                                                  |  24 MB     00:14     
(2/6): kernel-devel-3.1.0-0.rc2.git4.2.fc17.x86_64.rpm                                            | 7.2 MB     00:06     
(3/6): kernel-headers-3.1.0-0.rc2.git4.2.fc17.x86_64.rpm                                          | 760 kB     00:01     
(4/6): kernel-tools-3.1.0-0.rc2.git4.2.fc17.x86_64.rpm                                            | 421 kB     00:00     
(5/6): pcre-8.13-1.fc17.x86_64.rpm                                                                | 236 kB     00:00     
(6/6): telepathy-glib-0.15.5-1.fc17.x86_64.rpm                                                    | 525 kB     00:00     
-------------------------------------------------------------------------------------------------------------------------
Total                                                                                    1.3 MB/s |  34 MB     00:25     
Running Transaction Check
Running Transaction Test


Transaction Check Error:
  file /usr/bin/cpupower from install of kernel-tools-3.1.0-0.rc2.git4.2.fc17.x86_64 conflicts with file from package cpupowerutils-009-0.6.p1.fc16.x86_64
  file /usr/bin/powernow-k8-decode from install of kernel-tools-3.1.0-0.rc2.git4.2.fc17.x86_64 conflicts with file from package cpupowerutils-009-0.6.p1.fc16.x86_64

Comment 1 Josh Boyer 2011-08-18 14:32:20 UTC
The cpupowerutils code was merged into the mainline kernel, and kernel-tools will now provide that functionality.  We need to fixup the Obsoletes/Provides in the kernel-tools package and retire the cpupowerutils package I think.

As a workaround for now, remove it or don't install kernel-tools.

Comment 2 Josh Boyer 2011-08-18 14:34:58 UTC
Petr, for rawhide and f16 we've created the kernel-tools package which includes the newly merged cpupowerutils code.  I can adjust the Obsolete/Provides on kernel-tools to allow it to replace cpupowerutils, but I wanted to make sure you have no issues with that.

Once that is done, the cpupowerutils package would need to be retired for f16 and rawhide.

Comment 3 Petr Ĺ abata 2011-08-18 14:46:05 UTC
(In reply to comment #2)
> Petr, for rawhide and f16 we've created the kernel-tools package which includes
> the newly merged cpupowerutils code.  I can adjust the Obsolete/Provides on
> kernel-tools to allow it to replace cpupowerutils, but I wanted to make sure
> you have no issues with that.
> 
> Once that is done, the cpupowerutils package would need to be retired for f16
> and rawhide.

I have no problem with that.

Do you plan to keep the systemd service file or are you going to drop this?

Comment 4 Josh Boyer 2011-08-18 14:51:29 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > Petr, for rawhide and f16 we've created the kernel-tools package which includes
> > the newly merged cpupowerutils code.  I can adjust the Obsolete/Provides on
> > kernel-tools to allow it to replace cpupowerutils, but I wanted to make sure
> > you have no issues with that.
> > 
> > Once that is done, the cpupowerutils package would need to be retired for f16
> > and rawhide.
> 
> I have no problem with that.

Ok.  I'll fix it and start a new build today.

> Do you plan to keep the systemd service file or are you going to drop this?

Keep it.  I copied it out of cpupowerutils already.

Comment 5 Josh Boyer 2011-08-18 17:14:55 UTC
This build should do the right thing to replace cpupowerutils in rawhide.

http://koji.fedoraproject.org/koji/buildinfo?buildID=259335

I'll be doing a build with similar changes for f16 probably tomorrow.

Comment 6 Josh Boyer 2011-08-19 17:50:20 UTC
This should be fixed in today's rawhide.