You are not logged in.
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
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
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
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
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