You are not logged in.
As of yesterday, whenever I run a pacman -Su, pacman -Syu, or pacman -Syyu I get the same darn error:
error: failed to commit transaction (conflicting files)
apache-ant: /usr/share/apache-ant/etc exists in filesystem
Errors occurred, no packages were upgraded.
Kalu is also telling me the same thing,
Error: System update failed: Failed to commit transaction: conflicting files :
- /usr/share/apache-ant/etc exists in both apache-ant and current filesystem
I'm not sure what to do. Is there any way I can upgrade apache-ant? I have other packages that need to be upgraded too that can't upgrade since apache-ant keeps getting this error. Any advice?
Last edited by shmoogin (2014-01-20 17:13:13)
Offline
Read https://bbs.archlinux.org/viewtopic.php?id=130138
Edit: https://bugs.archlinux.org/task/38580
Last edited by karol (2014-01-20 17:29:07)
Offline
Hi,
as mentioned in the bug report comment, remove manualy the apache-ant file, then update your system.
It works (problem solved ?).
Offline
Try:
sudo pacman -S --force apache-ant
and
sudo pacman -Syyu
Offline
tnx waroi solved for me
Offline
Using "--force" is not the correct solution. Assuming the file is not owned by any package the solution is to remove it.
All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.
Offline
Be careful with that shit. I just nuked my /etc folder with that and pretty angry about it. Yes, force is not a good solution, but I was stupid too. I did not know that rm would follow a link to /etc, because this is a link!! Remove the link simply don't you dare to rm -r, this thing will take my day
Offline