You are not logged in.

#1 2017-03-29 15:29:03

rockytriton
Member
Registered: 2014-08-12
Posts: 9

[SOLVED] maven package fails to install

FYI, I have previously installed other things into /opt (android studio)

Now when I try to run:
sudo pacman -S maven

I get the following output at the end:

(1/1) checking for file conflicts                                                                    [############################################################] 100%
error: failed to commit transaction (conflicting files)
maven: /opt exists in filesystem
Errors occurred, no packages were upgraded.



So does this mean I have to delete /opt to install maven??

Last edited by rockytriton (2017-03-29 18:00:55)

Offline

#2 2017-03-29 15:33:51

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,539

Re: [SOLVED] maven package fails to install

Have you done something dumb like make /opt a symlink?

Offline

#3 2017-03-29 15:48:21

rockytriton
Member
Registered: 2014-08-12
Posts: 9

Re: [SOLVED] maven package fails to install

yes i've done something dumb like that... it's on a mount

Offline

#4 2017-03-29 15:49:36

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,539

Re: [SOLVED] maven package fails to install

Mounting is fine, symlinking is not. A managed dir like /opt needs to stay a dir.

Offline

#5 2017-03-29 15:52:13

rockytriton
Member
Registered: 2014-08-12
Posts: 9

Re: [SOLVED] maven package fails to install

thanks for the info, i'll redo how i have opt referenced

Offline

Board footer

Powered by FluxBB