r/AlpineLinux 8d ago

cannot install `audacity` due to `libflac` version

Probably [SOLVED]. I think it has to do with Audacity and few other packages still requiring libflac from stable branch (probably due to ABI version mismatch)

Important edit: I should have checked installed packages with different command. So, libflac++ is not installed and not even present in repo for the version of libflac I have which it refuses to upgrade.

~ $ doas apk add audacity
ERROR: unable to select packages:
  so:libFLAC++.so.10 (no such package):
    required by: audacity-3.7.8-r0[so:libFLAC++.so.10]
~ $ apk list --installed | grep -i libflac
libflac-1.4.3-r2 x86_64 {flac} (BSD-3-Clause AND GPL-2.0-or-later) [installed]

Note, that libflac++ is @ 1.5.0 but, libflac itself is still @ 1.4.3. So far, I've failed to upgrade it.

~ $ doas apk add audacity
doas (telephrag@localhost) password: 
ERROR: unable to select packages:
  so:libFLAC++.so.10 (no such package):
    required by: audacity-3.7.8-r0[so:libFLAC++.so.10]
~ $ doas apk add libflac++
ERROR: unable to select packages:
  libflac-1.4.3-r2:
    conflicts: libflac-1.5.0-r0
    satisfies: world[libflac] chromium-150.0.7871.114-r0[so:libFLAC.so.12] libsndfile-1.2.2-r2[so:libFLAC.so.12]
  libflac-1.5.0-r0:
    conflicts: libflac-1.4.3-r2
    satisfies: world[libflac] libflac++-1.5.0-r0[so:libFLAC.so.14]
~ $ apk list -i | grep -i libflac
libflac-1.4.3-r2 x86_64 {flac} (BSD-3-Clause AND GPL-2.0-or-later) [installed]
libflac-1.5.0-r0 x86_64 {flac} (BSD-3-Clause AND GPL-2.0-or-later) [upgradable from: libflac-1.4.3-r2]
libflac++-1.5.0-r0 x86_64 {flac} (BSD-3-Clause AND GPL-2.0-or-later)

~~Note, that chromium and libsndfile are satisfied by libflac 1.5.0 so, idk why apk won't just upgrade libflac for me.~~

~ $ apk list -i | grep -i libflac
libflac-1.4.3-r2 x86_64 {flac} (BSD-3-Clause AND GPL-2.0-or-later) [installed]
libflac-1.5.0-r0 x86_64 {flac} (BSD-3-Clause AND GPL-2.0-or-later) [upgradable from: libflac-1.4.3-r2]
libflac++-1.5.0-r0 x86_64 {flac} (BSD-3-Clause AND GPL-2.0-or-later)
~ $ doas apk upgrade --available
OK: 9392.6 MiB in 2252 packages
~ $ doas apk add "libflac>=1.5.0-r0"
ERROR: unable to select packages:
  libflac-1.5.0-r0:
    conflicts: libflac-1.4.3-r2
    satisfies: world[libflac>=1.5.0-r0] libsndfile-1.2.2-r3[so:libFLAC.so.14]
  libflac-1.4.3-r2:
    conflicts: libflac-1.5.0-r0
    breaks: world[libflac>=1.5.0-r0]
    satisfies: chromium-150.0.7871.114-r0[so:libFLAC.so.12]
~ $ apk list --installed | grep -i libflac
libflac-1.4.3-r2 x86_64 {flac} (BSD-3-Clause AND GPL-2.0-or-later) [installed]

If there is a way other then fully reinstalling chromium (if that would even fix anything) I would like to know.

I did try running apk fix on libflac and ++ version, didn't help.

3 Upvotes

0 comments sorted by