On 2/12/26 4:12 PM, Zen wrote:
Hi! I am trying to package librempeg <https://github.com/librempeg/ librempeg> which is a fork of ffmpeg and is supposed to be a drop-in replacement to it.

In PKGBUILD, provides, depends are all the same and I added "conflicts=('ffmpeg')".
How do I make other packages use the new package (librempeg-git) as ffmpeg?
Build works but installation fails with:
```
looking for conflicting packages...
:: librempeg-git-r124983.f986adf-1 and ffmpeg-2:8.0.1-5 are in conflict. Remove ffmpeg? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: removing ffmpeg breaks dependency 'ffmpeg' required by ffmpegthumbs
:: removing ffmpeg breaks dependency 'ffmpeg' required by firefox
:: removing ffmpeg breaks dependency 'ffmpeg' required by freerdp
```

Thanks!

Zentropivity

Hello,

You should use both conflicts and provides together.

https://wiki.archlinux.org/title/PKGBUILD#provides

Best Regards,
Amin Vakil

Attachment: OpenPGP_0x1EFC1864E9D9E56B.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to