Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] installing openjpeg2 (2.5.0-1) breaks dependency 'openjpeg2=2.4.0' (Read 573 times) previous topic - next topic
0 Members and 3 Guests are viewing this topic.

[SOLVED] installing openjpeg2 (2.5.0-1) breaks dependency 'openjpeg2=2.4.0'

I tried to do a full update using 'sudo pacman -Syu' and it goes well until I get a prompt to where I want to install libwolfssl.so=32-64 either in world or extra, although it doesn't seem to matter where I want to install it I get the  error

Code: [Select]
installing openjpeg2 (2.5.0-1) breaks dependency 'openjpeg2=2.4.0'

There are quite a few dependencies with openjpeg2 so I'm not sure if removing it and then installing it again would be optimal, this affects other packages as well I think since at least a few of the packages that are dependent on this package are not fully updated.

I'm not really sure how to fix this I have looked at similar posts and have tried 'sudo pacman -Syyuu' and 'sudo pacman -Syu openjpeg2'. Any advice/solution would be appreciated.

Re: installing openjpeg2 (2.5.0-1) breaks dependency 'openjpeg2=2.4.0'

Reply #1
wolfssl installs no problem for me. What's the output of pacman -Qi openjpeg2? In any case, I don't believe anything depends on a specific version of openjpeg2.

Re: installing openjpeg2 (2.5.0-1) breaks dependency 'openjpeg2=2.4.0'

Reply #2
Code: [Select]
Name            : openjpeg2
Version         : 2.4.0-1
Description     : An open source JPEG 2000 codec, version 2.4.0
Architecture    : x86_64
URL             : https://github.com/uclouvain/openjpeg
Licenses        : custom: BSD
Groups          : None
Provides        : None
Depends On      : zlib  libpng  libtiff  lcms2
Optional Deps   : None
Required By     : ffmpeg  ffmpeg4.4  ghostscript  gimp  lib32-openjpeg2
                  poppler  python-pillow  webkit2gtk  webkit2gtk-4.1
Optional For    : imagemagick
Conflicts With  : None
Replaces        : None
Installed Size  : 14.04 MiB
Packager        : Artix Build Bot <[email protected]>
Build Date      : Tue 29 Dec 2020 20:07:00
Install Date    : Sun 23 Jan 2022 09:06:14
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature
this is the output for the pacman -Qi

Re: installing openjpeg2 (2.5.0-1) breaks dependency 'openjpeg2=2.4.0'

Reply #3
this is the output for the pacman -Qi
Here is what I have at home in the "Required by" section:
Code: [Select]
Required by: ffmpeg ffmpeg4.4 freeimage ghostscript gimp
                            gst-plugins-bad mtpaint poppler python-pillow
                            webkit2gtk

I see you have lib32-openjpeg2 installed and wondering if this has anything to do with your problem?

Re: installing openjpeg2 (2.5.0-1) breaks dependency 'openjpeg2=2.4.0'

Reply #4
Removing that package lib32-openjpeg2 seems to have solved the problem
removing it allowed me install the latest openjpeg2
Thank you so much