You are not logged in.

#1 2014-01-20 17:12:24

shmoogin
Member
Registered: 2014-01-20
Posts: 3

apache-ant file conflict not letting me upgrade

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

#2 2014-01-20 17:27:15

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: apache-ant file conflict not letting me upgrade

Offline

#3 2014-01-23 11:15:36

papa6
Member
Registered: 2013-02-26
Posts: 26

Re: apache-ant file conflict not letting me upgrade

Hi,
as mentioned in the bug report comment, remove manualy the apache-ant file, then update your system.
It works (problem solved ?).

Offline

#4 2014-01-23 13:40:59

waroi
Member
Registered: 2014-01-23
Posts: 1

Re: apache-ant file conflict not letting me upgrade

Try:

sudo pacman -S --force apache-ant

and

sudo pacman -Syyu

Offline

#5 2014-01-25 01:29:07

dernik
Member
Registered: 2009-11-23
Posts: 13

Re: apache-ant file conflict not letting me upgrade

tnx waroi solved for me

Offline

#6 2014-01-25 12:28:17

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: apache-ant file conflict not letting me upgrade

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

#7 2014-02-01 10:17:14

szebenyib
Member
From: LHBP
Registered: 2011-10-18
Posts: 68

Re: apache-ant file conflict not letting me upgrade

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 sad

Offline

Board footer

Powered by FluxBB