You are not logged in.

#1 2016-03-13 04:18:33

rigon
Member
Registered: 2016-03-13
Posts: 3

Package with confliting files

I'm creating a PKGBUILD file for a plugin that I developed for an existing application.
But, to make it work, it requires to patch a library of the application.
I've created the patch, built the library again and package everything (my plugin and the patched library).
But, when I try to install the package, it complains because the patched library exists in the file-system:

error: failed to commit transaction (conflicting files)

...and the installation stops:

Errors occurred, no packages were upgraded.

How to override this conflict? Or am I doing the things wrong?

Offline

#2 2016-03-13 05:08:20

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,534
Website

Re: Package with confliting files


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2016-03-14 23:39:05

rigon
Member
Registered: 2016-03-13
Posts: 3

Re: Package with confliting files

I'm still unable to solve the problem... My best bet was use the backup option, but I got the same error.

What I'm doing is a plugin for QMMP player and I need to patch the HTTP plugin, which its location is

/usr/lib/qmmp/Transports/libhttp.so

Any suggestion?

Offline

#4 2016-03-15 00:46:43

Ziusudra
Member
Registered: 2014-04-19
Posts: 120

Re: Package with confliting files

You need to get the patch accepted upstream and/or create an alternate package that provides/conflicts the entire package that provides that library.

Offline

#5 2016-03-15 03:23:07

rigon
Member
Registered: 2016-03-13
Posts: 3

Re: Package with confliting files

Oh, I see... What I was trying to do is against the policy.
But now I have a clear idea about what to do.

Thanks a lot!

Offline

Board footer

Powered by FluxBB