Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 268043 - sys-apps/hal-0.5.12_rc1-r1 file collison on power management policy
Summary: sys-apps/hal-0.5.12_rc1-r1 file collison on power management policy
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 268234 268287 268833 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-04-30 21:43 UTC by Fred Krogh
Modified: 2009-05-06 23:06 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fred Krogh 2009-04-30 21:43:07 UTC
When trying to emerge this latest version, I get an error.

Reproducible: Always




The error message suggested running portageq owners / /usr/share/hal (if I understood correctly).  This give the following collisions

sys-apps/hal-0.5.12_rc1
	/usr/share/hal
app-misc/hal-info-20090414
	/usr/share/hal
media-libs/libgphoto2-2.4.4
	/usr/share/hal
Comment 1 Rafał Mużyło 2009-04-30 22:06:05 UTC
At very least, paste the full error.
Comment 2 Fred Krogh 2009-04-30 22:11:03 UTC
The full error message ==========

>>> Installing sys-apps/hal-0.5.12_rc1-r1
 * checking 180 files for package collisions
 * This package will overwrite one or more files that may belong to other
 * packages (see list below). You can use a command such as `portageq
 * owners / <filename>` to identify the installed package that owns a
 * file. If portageq reports that only one package owns a file then do
 * NOT file a bug report. A bug report is only useful if it identifies at
 * least two or more packages that are known to install the same file(s).
 * If a collision occurs and you can not explain where the file came from
 * then you should simply ignore the collision since there is not enough
 * information to determine if a real problem exists. Please do NOT file
 * a bug report at http://bugs.gentoo.org unless you report exactly which
 * two packages install the same file(s). Once again, please do NOT file
 * a bug report unless you have completely understood the above message.
 * 
 * Detected file collision(s):
 * 
 * 	/usr/share/PolicyKit/policy/org.freedesktop.hal.power-management.policy
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * gnome-extra/gnome-power-manager-2.24.4-r1
 * 	/usr/share/PolicyKit/policy/org.freedesktop.hal.power-management.policy
 * 
 * Package 'sys-apps/hal-0.5.12_rc1-r1' NOT merged due to file
 * collisions. If necessary, refer to your elog messages for the whole
 * content of the above message.

>>> Failed to install sys-apps/hal-0.5.12_rc1-r1, Log file:

>>>  '/var/tmp/portage/sys-apps/hal-0.5.12_rc1-r1/temp/build.log'

This log file had no useful information about the error.


Comment 3 Denis Dupeyron (RETIRED) gentoo-dev 2009-04-30 23:21:01 UTC
I diffed both versions of the file and to me it looks like the hal version should be kept and gnome-power-manager should not install its own version.

Reassigned to the gnome team.

Denis.
Comment 4 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-04-30 23:39:19 UTC
this file was added to g-p-m back in the days when we needed a policy file for pk support in g-p-m but we didn't have pk support in hal
Comment 5 Daniel Gryniewicz (RETIRED) gentoo-dev 2009-05-01 19:42:50 UTC
This is fixed.
Comment 6 Daniel Gryniewicz (RETIRED) gentoo-dev 2009-05-02 02:45:22 UTC
*** Bug 268234 has been marked as a duplicate of this bug. ***
Comment 7 Rémi Cardona (RETIRED) gentoo-dev 2009-05-02 09:25:19 UTC
*** Bug 268243 has been marked as a duplicate of this bug. ***
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2009-05-02 13:42:11 UTC
*** Bug 268287 has been marked as a duplicate of this bug. ***
Comment 9 Davide 2009-05-02 15:16:58 UTC
Problem is not fixed in sys-apps/hal-0.5.12_rc1-r2
Comment 10 Daniel Gryniewicz (RETIRED) gentoo-dev 2009-05-02 18:18:02 UTC
This is not a hal problem; it's a gnome-power-manager problem.  Re-emerge g-p-m.
Comment 11 Daniel Gryniewicz (RETIRED) gentoo-dev 2009-05-02 18:30:10 UTC
(I hadn't realized 2.24.x had the problem too.  It's fixed now, and a blocker added to hal)
Comment 12 Davide 2009-05-02 19:51:37 UTC
(In reply to comment #10)
> This is not a hal problem; it's a gnome-power-manager problem.  Re-emerge
> g-p-m.
> 

I can't since g-p-m requires hal to be compiled :)
Comment 13 Daniel Gryniewicz (RETIRED) gentoo-dev 2009-05-02 20:02:26 UTC
if g-p-m is not emerged, you cannot have a collision with hal.  re-emerge g-p-m, and hal will update fine.  The blocker resolves itself if you emerge -auvDN world.
Comment 14 Davide 2009-05-02 20:43:09 UTC
(In reply to comment #13)
> if g-p-m is not emerged, you cannot have a collision with hal.  re-emerge
> g-p-m, and hal will update fine.  The blocker resolves itself if you emerge
> -auvDN world.
> 

Portage emerge hal first, then g-p-m :(
Comment 15 Daniel Gryniewicz (RETIRED) gentoo-dev 2009-05-02 21:14:02 UTC
emerge -1 --nodeps gnome-power-manager
Comment 16 Rémi Cardona (RETIRED) gentoo-dev 2009-05-06 23:06:50 UTC
*** Bug 268833 has been marked as a duplicate of this bug. ***