You are not logged in.
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
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
pacman -Syuf should do the trick
Offline
But backup the mentioned config file for later reference...
Offline
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
Offline