You are not logged in.
I just tried to do a "pacman -Syu".
I get the following errors:
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
Is there a problem with the new pm-utils package? What is the fix?
Rob
Offline
pacman tells you about file conflicts like this so you can resolve them and try again. Find out which package owns /usr/bin/on_ac_power, and then decide what to do with it.
Also worth mentioning is the fact that there is no "new" pm-utils package - the 0.99.3-2 package in the extra repo is the current release, and it was updated two months ago.
Offline
Thanks. Well I do a "pacman -Syu" daily. This is the first time pacman has offered to install pm-utils. I suspect that it might be a NEW dependency to another package that is being updated.
In any event, /usr/bin/on_ac_power is owned by apmd 3.0.2-5.
apmd is a common power management package. I would not be surprised if others are having this upgrade problem too.
Rob
Offline
I fixed it by rm -rf /usr/bin/on_ac_power then re-did pacman -Syu. Worked flawlessly.
Offline
It looks like apmd and pm-utils conflict with each other even though the packages for ampd and pm-utils do not state this.
Is this a bug in either the apmd package or the pm-utils package or both for failing to state the conflict between the packages?
Offline
You don't need apmd, remove it.
File a bug, these two should also then conflict.
Offline
Thanks. I see that there is a NEW dependency for Hal. It is pm-utils. That is why I am seeing this problem for the first time.
I will file a bug (if one is not already filed).
Offline
Here is the bug report -- http://bugs.archlinux.org/task/8451?project=1
Offline
apmd is a common power management package. I would not be surprised if others are having this upgrade problem too.
Rob
You've got that right. I noticed this same problem and I upgrade most days. Removing apmd (pacman -R apmd) solved the problem, although I don't consciously recall installing it previously.
Offline
I have an old thinkpad (t20) and wasn't able to get ACPI to work properly. I rely on apmd to provide power management for my system. It would be nice to find a fix so that both an updated hal and apmd can coexist.
Offline
apmd is a common power management package. I would not be surprised if others are having this upgrade problem too.
That hasn't been true for years. If APM was recommended to you, it was by someone reading old documentation.
Offline
Although thinkwiki recommends using APM with the t20, I attempted for a few weeks to get ACPI to work properly on this machine. I was unable to solve all the issues, as detailed here: http://bbs.archlinux.org/viewtopic.php?id=35061. With APM, everything works well.
The HAL website (http://www.freedesktop.org/wiki/Software/hal) doesn't list pm-utils as a dependency. However, I am willing to give APCI another try.
Offline
Although thinkwiki recommends using APM with the t20, I attempted for a few weeks to get ACPI to work properly on this machine. I was unable to solve all the issues, as detailed here: http://bbs.archlinux.org/viewtopic.php?id=35061. With APM, everything works well.
The HAL website (http://www.freedesktop.org/wiki/Software/hal) doesn't list pm-utils as a dependency. However, I am willing to give APCI another try.
I removed apmd and found that all my apm functionality remained despite the absence of a software daemon. Upgrading hal and installing pm-utils has not caused any issues in my system, contrary to my cautions.
Offline