You are not logged in.

#1 2007-10-29 11:46:51

RobK
Member
Registered: 2005-12-07
Posts: 121

Pacman -Syu Fails -- Problem wth pm-utils Package

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

#2 2007-10-29 11:55:52

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Pacman -Syu Fails -- Problem wth pm-utils Package

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

#3 2007-10-29 12:40:11

RobK
Member
Registered: 2005-12-07
Posts: 121

Re: Pacman -Syu Fails -- Problem wth pm-utils Package

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

#4 2007-10-29 12:44:05

AriciU
Member
Registered: 2007-08-31
Posts: 79

Re: Pacman -Syu Fails -- Problem wth pm-utils Package

I fixed it by rm -rf /usr/bin/on_ac_power then re-did pacman -Syu. Worked flawlessly.

Offline

#5 2007-10-29 12:45:26

RobK
Member
Registered: 2005-12-07
Posts: 121

Re: Pacman -Syu Fails -- Problem wth pm-utils Package

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

#6 2007-10-29 13:00:29

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Pacman -Syu Fails -- Problem wth pm-utils Package

You don't need apmd, remove it.

File a bug, these two should also then conflict.

Offline

#7 2007-10-29 13:12:29

RobK
Member
Registered: 2005-12-07
Posts: 121

Re: Pacman -Syu Fails -- Problem wth pm-utils Package

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

#8 2007-10-29 13:23:25

RobK
Member
Registered: 2005-12-07
Posts: 121

Re: Pacman -Syu Fails -- Problem wth pm-utils Package

Offline

#9 2007-10-31 03:22:57

Cogar
Member
Registered: 2007-07-22
Posts: 43

Re: Pacman -Syu Fails -- Problem wth pm-utils Package

RobK wrote:

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. wink 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

#10 2007-11-07 07:18:31

webbrewer
Member
From: Eugene, OR USA
Registered: 2007-07-10
Posts: 25

Re: Pacman -Syu Fails -- Problem wth pm-utils Package

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

#11 2007-11-07 08:20:49

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Pacman -Syu Fails -- Problem wth pm-utils Package

RobK wrote:

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

#12 2007-11-07 22:46:51

webbrewer
Member
From: Eugene, OR USA
Registered: 2007-07-10
Posts: 25

Re: Pacman -Syu Fails -- Problem wth pm-utils Package

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

#13 2007-11-12 22:18:37

webbrewer
Member
From: Eugene, OR USA
Registered: 2007-07-10
Posts: 25

Re: Pacman -Syu Fails -- Problem wth pm-utils Package

webbrewer wrote:

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

Board footer

Powered by FluxBB