Summary: | sys-power/powermgmt-base-1.22 and sys-power/pm-utils-1.1.1 need not block each other | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Holger Ackermann <bugs.gentoo.org-6> |
Component: | [OLD] Unspecified | Assignee: | Freedesktop bugs <freedesktop-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | awickedshimmy, carpediempower, didier-bugzillagentoo, dliana, gabriel, gentoo_bugs_peep, jer, joost.ruis, maciek.joziewicz, mobile+disabled, nightdragon, pacho, perry, toto, turtle, victor.pelt, wasundwarum, xaero |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | my `emerge --info` |
Description
Holger Ackermann
2009-01-17 10:57:54 UTC
I have the same problem. In my case powermgmt-base is pulled in by ampd which is pulled in by gnome-applets-2.22.3 with "apm" USE set. I checked that at this point all 2.24 gnome-applets ebuilds also need apmd if use flag apm is set. I will now check what do I loose if I get rid of the "apm" USE. Created attachment 178807 [details]
my `emerge --info`
I got rid of pm-utils (hal with -laptop) in favour of uswsusp (hibernate-script and sys-power/suspend) so I don't have the problem any more. (In reply to comment #0) > package.use, but there should not be the block in the first place. Why not? It had to be put there for a reason, probably a file collision. Is possible solve this problem without use -laptop in hal package? These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] sys-power/powermgmt-base-1.22 [blocks B ] sys-power/powermgmt-base ("sys-power/powermgmt-base" is blocking sys-power/pm-utils-1.2.3-r1) * Error: The above package list contains packages which cannot be * installed at the same time on the same system. For more information about Blocked Packages, please refer to the following section of the Gentoo Linux x86 Handbook (architecture is irrelevant): http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked Note, this was caused by bug #187568. From bug #187568: both powermgmt-base and pm-utils supply on_ac_power + it's man page. It seems like they both offer a different way of detecting if your system is running on AC. pm-util's checks with HAL, powermgmt-base checks more directly via apci executables. It seems like there should be an on_ac_power virtual added. pm-utils-0.99.4 and powermgmt-base-1.22 coexisted for a long time peacefully on my laptop. Now with pm-utils-1.1.1 suddenly a block occurs. That's something I find annoying in the stable tree. My questions: - What is the preferred way to resolve this block manually? - Can this block be prevented with some ebuild hacking? (- If HAL provides power management functionality through pm-utils, can I safely drop laptop-mode-tools which pull in powermgmt-base) I guess this could be resolved differently by either having only the one package installing that man page or by making the USE flags more intuitive. Well both packages install an on_ac_power executable (script) in addition to a manpage, but they ask different sources. Right now I gather they answer the same question but determine it different ways. *** Bug 256008 has been marked as a duplicate of this bug. *** Try to put "-apm" in USE and remove all packages which needed for dependency apmd Try first this: emerge -C sys-power/powermgmt-base apmd wmbattery and maybe reemerge(or remove): laptop-mode-tools gnome-applets This works for me. I am with the same problem. Which way is the best to remove this block? (In reply to comment #14) > I am with the same problem. > Which way is the best to remove this block? > hey all, i dont know if this is the best way to resolve the bug but here is what I did: I unasked the latest version of pm-utils (not sure if this is actually required) I then unmerged powermgmt-base using :emerge -avC sys-power/powermgmt-base I then emerged pm-utils and there were no blocks. I think powermgmt-base might have got pulled in from an earlier package i installed. (hibernate-script possibly?) *** Bug 245202 has been marked as a duplicate of this bug. *** *** Bug 223745 has been marked as a duplicate of this bug. *** Same trouble. I tried to control the backlight of laptop and wrote apm USE flag. emerge -uDN world showed this block. Are any ways to resolve this bug without unmerge or removing apm flag? *** Bug 279593 has been marked as a duplicate of this bug. *** *** Bug 302595 has been marked as a duplicate of this bug. *** pm-utils-1.4.0 now blocks laptop-mode-tools: commit a4e4b0ce456c66d01d9c5f09a73242d2db6c65e9 Author: Victor Lowther <victor.lowther@gmail.com> Date: Sat Jun 12 13:07:51 2010 -0500 Update git tree packaging to conflict with laptop-mode-tools The new powermanagement scripts conflict with laptop-mode-tools. Make sure both are not installed at the same time. Sorry, wasn't the purpose to close this. This bug is now solved with pm-utils-1.4.1 and powermgmt-base-1.31 with the following commits, 08 Jul 2010; Samuli Suominen <ssuominen@gentoo.org> pm-utils-1.4.1.ebuild: Don't block sys-power/powermgmt-base anymore if USE="pm-utils" is enabled wrt #255249. *powermgmt-base-1.31 (08 Jul 2010) 08 Jul 2010; Samuli Suominen <ssuominen@gentoo.org> +powermgmt-base-1.31.ebuild, metadata.xml: Version bump. Use on_ac_power from sys-power/pm-utils with USE="pm-utils" wrt #255249. (The problem is Comment #21 is different issue, not about on_ac_power... Not sure if it's a problem at all yet. Either way, new bug for that if any.) |