You are not logged in.

#1 2021-12-21 17:52:49

sudgy
Member
Registered: 2021-12-21
Posts: 8

[SOLVED] Updating fails with "libopenmpt breaks dependency"

I've had this problem for a while and I'm getting sick of it so I'm finally posting about it here.  For a while now (I can't remember how long), this is the output of "pacman -Syu":

:: 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 libopenmpt (0.5.14-1) breaks dependency 'libopenmpt=0.4.3' required by libopenmpt-modplug

I would be fine with removing libopenmpt, but removing libopenmpt and libopenmpt-modplug tries to remove ffmpeg as well, which is way too essential for my system.  How can I get around this problem and update my system?

Last edited by sudgy (2021-12-21 18:27:44)

Offline

#2 2021-12-21 17:57:19

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,680
Website

Re: [SOLVED] Updating fails with "libopenmpt breaks dependency"

Update the libopenmpt-modplug AUR package. The current version has

depends=('libopenmpt>=0.5.0')

Which clearly isn't the case for your version.

Offline

#3 2021-12-21 18:05:35

sudgy
Member
Registered: 2021-12-21
Posts: 8

Re: [SOLVED] Updating fails with "libopenmpt breaks dependency"

Head_on_a_Stick wrote:

Update the libopenmpt-modplug AUR package. The current version has

depends=('libopenmpt>=0.5.0')

Which clearly isn't the case for your version.

I get the same error as when trying to update, because it tries to install the new dependency which breaks the dependency for the old version I'm about to update.

Offline

#4 2021-12-21 18:09:18

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,680
Website

Re: [SOLVED] Updating fails with "libopenmpt breaks dependency"

So remove the old version first then install the new one.

And please don't full-quote unnecessarily.

Offline

#5 2021-12-21 18:12:25

sudgy
Member
Registered: 2021-12-21
Posts: 8

Re: [SOLVED] Updating fails with "libopenmpt breaks dependency"

But trying to remove the old version (which is what I wanted to do in the first place, I don't need that package anymore) says

checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing libopenmpt-modplug breaks dependency 'libmodplug' required by ffmpeg

Offline

#6 2021-12-21 18:23:07

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,787
Website

Re: [SOLVED] Updating fails with "libopenmpt breaks dependency"

In that case replace libopenmpt-modplug with the official modplug package:

# pacman -S libmodplug

Mod note: Moving to AUR Issues.

Edit: Fixed package name typo

Last edited by WorMzy (2021-12-21 18:34:38)


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#7 2021-12-21 18:24:57

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,680
Website

Re: [SOLVED] Updating fails with "libopenmpt breaks dependency"

Well you'll have to just remove ffmpeg as well and re-install that later. EDIT: follow WorMzy's advice instead. EDIT2: but I think the package is called libmodplug.

It's all a bit strange because the changelog seems to indicate that the current version is the only one that has ever been available from the AUR. Is this an Arch system or are you using a derivative?

Last edited by Head_on_a_Stick (2021-12-21 18:26:54)

Offline

#8 2021-12-21 18:27:14

sudgy
Member
Registered: 2021-12-21
Posts: 8

Re: [SOLVED] Updating fails with "libopenmpt breaks dependency"

The package is actually libmodplug, not modplug, but that finally fixed it.  My system is updating now.  Thank you!

Offline

Board footer

Powered by FluxBB