You are not logged in.

#1 2007-09-25 22:48:34

Thrillhouse
Member
From: Arlington, VA, USA
Registered: 2007-05-29
Posts: 175

Weird pacman -Syu problem

I got this error message early this morning and figured someone else would get it too and they'd post the problem and I could solve it through that thread but I've looked around and searched the forums and haven't seen it posted.

So, I ran a pacman -Syu this morning and got this:

(3/3) checking for file conflicts                   [#####################] 100%
error: could not prepare transaction
error: failed to commit transaction (conflicting files)
rkhunter: /etc/rkhunter.conf exists in filesystem

I tried a couple of times and got that problem every time.  So I removed rkhunter, ran it again with no problems, deleted rkhunter.conf and installed rkhunter again and everything seems back to normal but I just thought it was odd.  I guess pacman wouldn't update rkhunter, only install it if it was not present (because I tried installing it again after the pacman -Syu and it complained about a rkhunter.conf already existing so I had to delete it).  Am I the only one who got this?


For the strength of the pack is the wolf, and the strength of the wolf is the pack.

Offline

#2 2007-09-25 23:08:01

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: Weird pacman -Syu problem

The message just complains that one of the files that is to be installed already exists in the file system, that's all.  Pacman, by default will not overwrite files, though overwriting can be forced with an option.

Offline

#3 2007-09-25 23:10:48

IsSuE
Member
Registered: 2006-04-29
Posts: 309

Re: Weird pacman -Syu problem

pacman -Syuf should do the trick smile

Offline

#4 2007-09-26 02:58:14

Blind
Member
From: Desert mountain
Registered: 2005-02-06
Posts: 386

Re: Weird pacman -Syu problem

But backup the mentioned config file for later reference...

Offline

#5 2007-09-26 09:43:05

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: Weird pacman -Syu problem

I got this issue too, but I have no clue wtf happened there.
This file wasn't owned by any packages, while it should have been owned by the rkhunter package.
I just removed it before upgrading, but without understanding why.


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#6 2007-09-27 01:25:16

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: Weird pacman -Syu problem

See the comments for an explanation.


1000

Offline

Board footer

Powered by FluxBB