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]*'



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.

 Thomas


Home | Main Index | Thread Index | Old Index