pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: `libjpeg-turbo-3.1.0nb1' conflicts with `jpeg-[0-9]*'
Thomas Klausner <wiz%NetBSD.org@localhost> writes:
> On Tue, Jun 10, 2025 at 07:08:29PM +0530, Mayuresh wrote:
>> Quite a few packages are not able to co-exist with the error such as:
>>
>> pkg_add: Package `jpeg-9f' conflicts with `libjpeg-turbo-[0-9]*', and `libjpeg-turbo-3.1.0nb1' is installed.
>>
>> For example, mpv vs mupdf, qiv etc.
>>
>> Are there any quick workarounds for this?
>
> The reason is that the default changed from jpeg to libjpeg-turbo.
>
> Make sure you have up-to-date binary packages available.
>
> Preferably, use pkgin which should handle the update automatically.
>
> If you can't or don't want to use pkgin:
>
> 1. Run 'pkg_info jpeg'
>
> Put the list in 'Required by' in a file (these are the packages
> currently using the jpeg library from the 'jpeg' package)
>
> 2. Run 'pkg_delete -f jpeg'
>
> This will force-delete the jpeg package
>
> 3. Run 'pkg_add -fu package' (force update) every package you saved in
> the first step, so that a new version that uses the jpeg library.
>
I didn't know of the above workaround and further runs of
`doas pkgin ug' experience
calculating dependencies.../[8] Segmentation fault doas pkgin ug
The prior run experienced over 800 errors, a snippet of pkg_install-err.log has
2025-07-24T14:48:10Z [326/1130] upgrading mupdf-1.24.10nb7...
pkg_add: libjpeg-turbo-3.1.1: conflicts with `jpeg-[0-9]*', and `jpeg-9f' is installed.
pkg_add: libjpeg-turbo-3.1.1: Installed package `jpeg-9f' conflicts with `libjpeg-turbo-[0-9]*'.
pkg_add: Can't install dependency libjpeg-turbo>=1.1.0
pkg_add: mupdf-1.24.10nb7: expected dependency libjpeg-turbo>=1.1.0 still missing
pkg_add: 1 package addition failed
pkgsrc/wip/chromium won't build at
===> Installing binary package of jpeg-9f
pkg_add: jpeg-9f: conflicts with `libjpeg-turbo-[0-9]*', and `libjpeg-turbo-3.1.1' is installed.
pkg_add: jpeg-9f: Installed package `libjpeg-turbo-3.1.1' conflicts with `jpeg-[0-9]*'.
pkg_add: 1 package addition failed
I'm using binary packages at
https://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/x86_64/10.1/All
What do I need for `doas pkgin ug' to not segfault?
Thanks.
--
vl
Home |
Main Index |
Thread Index |
Old Index