FS#8451 - hal now requires pm-utils - BUT unable to install pm-utils due to bug in pm-utils package.
Attached to Project:
Arch Linux
Opened by Rob (RobK) - Monday, 29 October 2007, 13:22 GMT
Last edited by Jan de Groot (JGC) - Friday, 26 December 2008, 21:16 GMT
Opened by Rob (RobK) - Monday, 29 October 2007, 13:22 GMT
Last edited by Jan de Groot (JGC) - Friday, 26 December 2008, 21:16 GMT
|
Details
Description:
The installation of pm-utils fails if apmd exists on your system. #pacman -S pm-utils error: Could not prepare transaction error: failed to commit transaction (conflicting files) pm-utils: /usr/bin/on_ac_power exists in filesystem errors occured, no packages were upgraded # pacman -Qo /usr/bin/on_ac_power /usr/bin/on_ac_power is owned by apmd 3.0.2-5 NOTE: This error appeared on my system for the first time due to the NEW HAL package. Hal now lists pm-utils as a dependency. So when I did a "pacman -Syu", pacman downloaded pm-utils as a NEW dependency to HAL. But pacman was unable to install pm-utils die to the conflict with apmd. Steps to reproduce: Install apmd Then try to install pm-utils. Solution: Fix the apmd and pm-utils packages and indicate that they conflict with each other. |
This task depends upon
Closed by Jan de Groot (JGC)
Friday, 26 December 2008, 21:16 GMT
Reason for closing: Fixed
Additional comments about closing: "fixed": apmd is obsolete
Friday, 26 December 2008, 21:16 GMT
Reason for closing: Fixed
Additional comments about closing: "fixed": apmd is obsolete
I don't think there have been many changes to apmd over the years. It is mature software. Given the software conflict between apmd and dm-utils, I would suggest making sure that the apmd package is updated so it conflicts with dm-utils (and vice versa).
It also wouldn't bother me if apmd disappears from the repos altogether since I have now switched to ACPI for power management (but I never got around to uninstalling apmd until now). But others might complain. I do not know whether ACPI supports all the older hardware out there for power management.
You might also want to look at the threads in the forums on this issue. See http://bbs.archlinux.org/viewtopic.php?id=39214 where this whole issue came up.. I doesn't look like I was the only one using apmd at one time.
See http://tldp.org/HOWTO/ACPI-HOWTO/daemons.html
I wonder why we're even installing apmd by default now... I don't think our kernel even supports it.
James