Updating openjpeg2 conflicts with lib32-openjpeg2

This is the log. Unstable branch.

Preparing...
Synchronizing package databases...
Refreshing core.db...                                                                                                                                                      
Refreshing extra.db...                                                                                                                                                     
Refreshing community.db...                                                                                                                                                 
Refreshing multilib.db...                                                                                                                                                  
Refreshing core.files...                                                                                                                                                   
Refreshing extra.files...                                                                                                                                                  
Refreshing community.files...                                                                                                                                              
Refreshing multilib.files...                                                                                                                                               
Refreshing AUR...                                                                                                                                                          
Warning: installing openjpeg2 (2.5.0-1) breaks dependency 'openjpeg2=2.4.0' required by lib32-openjpeg2
Add lib32-openjpeg2 to remove
Error: Failed to prepare transaction:
could not satisfy dependencies:
- removing lib32-openjpeg2 breaks dependency 'lib32-openjpeg2' required by lib32-poppler
Resolving dependencies...
Checking inter-conflicts...
Error: Failed to prepare transaction:
could not satisfy dependencies:
- removing lib32-openjpeg2 breaks dependency 'lib32-openjpeg2' required by lib32-poppler



Edit build files : [e] 
Apply transaction ? [e/y/N] N

Transaction cancelled.
$ sudo pacman -Suy
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing openjpeg2 (2.5.0-1) breaks dependency 'openjpeg2=2.4.0' required by lib32-openjpeg2

Always check if package (still) exists in repos, or even in AUR.

Is lib32-poppler required by anything? If not I would uninstall it and lib32-openjpeg2, both of them are in AUR but not in manjaro repositories anymore, so there’s a good chance you don’t need them.

This is what happens:

$ pamac remove lib32-poppler
Preparing...
Checking dependencies...
Error: Failed to prepare transaction:
could not satisfy dependencies:
- removing lib32-poppler breaks dependency 'lib32-poppler=22.03.0' required by lib32-poppler-glib

Then

$ pamac remove lib32-poppler-glib
Preparing...
Checking dependencies...
Error: Failed to prepare transaction:
could not satisfy dependencies:
- removing lib32-poppler-glib breaks dependency 'lib32-poppler-glib' required by lib32-sane

And lib32-sane is required by Codeweavers’ Crossover.

After uninstalling them now the error is:

$ pamac build lib32-sane
Preparing...
Cloning lib32-sane build files...
Generating lib32-sane information...
Checking lib32-sane dependencies...
Checking lib32-poppler-glib dependencies...
Cloning lib32-poppler build files...
Generating lib32-poppler information...
Checking lib32-poppler dependencies...
Cloning lib32-openjpeg2 build files...
Generating lib32-openjpeg2 information...
Checking lib32-openjpeg2 dependencies...
Checking openjpeg-git dependencies...
Resolving dependencies...
Warning: cannot resolve "openjpeg2=2.4.0", a dependency of "lib32-openjpeg2"
Warning: cannot resolve "lib32-openjpeg2", a dependency of "lib32-poppler"
Warning: cannot resolve "lib32-poppler=22.03.0", a dependency of "lib32-poppler-glib"
Warning: cannot resolve "lib32-poppler-glib", a dependency of "lib32-sane"
Error: Failed to prepare transaction:
could not satisfy dependencies:
- unable to satisfy dependency 'openjpeg2=2.4.0' required by lib32-openjpeg2
- unable to satisfy dependency 'lib32-openjpeg2' required by lib32-poppler
- unable to satisfy dependency 'lib32-poppler=22.03.0' required by lib32-poppler-glib
- unable to satisfy dependency 'lib32-poppler-glib' required by lib32-sane



Edit build files : [e] 
Apply transaction ? [e/y/N]

Did you install crossover from AUR or the manjaro repository? lib32-sane is not listed as a dependency for the crossover package that manjaro provides (which makes sense since manjaro doesn’t provide the lib32-sane package).

What I would do is uninstall crossover, uninstall that lib32 package causing problems, then reinstall crossover (the manjaro package, not from AUR).

I’ve installed crossover using the official installer install-crossover-21.2.0.bin from its website. lib32-sane library is only optional if you intend to get Windows scanning software working, probably the manjaro package doesn’t even take into account this optional dependency:

$ pamac install crossover
Preparing...
Synchronizing package databases...

Choose optional dependencies for crossover:
1:  lib32-libxslt: This library lets Windows applications perform queries and transformations on XML files.
2:  lib32-libxxf86dga: X11 Direct Graphics Access extension library.
3:  lib32-mpg123: Needed by some Windows applications to play MP3 files.
4:  lib32-v4l-utils: Lets Windows applications access video devices.

Enter a selection (default=none):

Arch has a different script:

$ pamac install crossover
Warning: crossover is only available from AUR
Preparing...
Checking crossover dependencies...
Resolving dependencies...
Checking inter-conflicts...

To install (1):
  python-gobject  3.42.1-1  (Required By: crossover)  extra  259.7 kB
To build (1):
  crossover       21.2.0-2                            AUR

Total download size: 259.7 kB
Total installed size: 1.2 MB

Edit build files : [e] 
Apply transaction ? [e/y/N]

I’t fixed upstream.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.