tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: x264-devel -> x264

On Thu, Sep 29, 2022 at 07:13:02PM +0000, John Klos wrote:
> It seems that the replacement of x264-devel with x264 doesn't work as
> expected:
> => Creating binary package /usr/pkgsrc/packages/All/x264-20220601.tgz
> ===> su-real-package-install [x264-20220601 ffmpeg5-5.1.2] ===> Installing
> binary package of x264-20220601
> pkg_add: Conflicting PLIST with x264-devel-20191217nb3: bin/x264
> pkg_add: 1 package addition failed
> *** Error code 1
> A simple pkg_delete -f x264-devel, then restart of pkg_rolling-replace fixes
> it.
> Thanks,
> John

Hmm, this is actually a shortcoming in pkgsrc - such replacements cannot
be handled automatically by the infrastructure. It would have happened
automatically if the PKGNAME of x264-devel was simply "x264", but people
don't seem to often realize that there's better handling of identical
package names than separate package names for differing versions.

Home | Main Index | Thread Index | Old Index