jcorporation / myMPD

myMPD is a standalone and mobile friendly web mpd client with a tiny footprint and advanced features.
https://jcorporation.github.io/myMPD/
GNU General Public License v3.0
413 stars 64 forks source link

Dependency issue on Debian 12 #1335

Closed edhelas closed 2 months ago

edhelas commented 2 months ago

myMPD version: 17.0.0.1

Describe the bug

The myMPD package on Debian 12 seems to have broken dependencies (see logs bellow).

To Reproduce

Install myMPD from the recommended repo (https://download.opensuse.org/repositories/home:/jcorporation/Debian_12/)

It seems to be related to the t64 changes in Debian https://wiki.debian.org/ReleaseGoals/64bit-time

root@edhelas-pi:/etc/nginx/sites-enabled# apt install mympd
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

Unsatisfied dependencies:
 mympd : Depends: libflac12 (>= 1.3.0) but it is not installable
         Depends: libssl3 (>= 3.0.0) but it is not going to be installed
Error: Unable to correct problems, you have held broken packages.
root@edhelas-pi:/etc/nginx/sites-enabled# apt install libflac12
Package libflac12 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  libflac12t64

Error: Package 'libflac12' has no installation candidate
root@edhelas-pi:/etc/nginx/sites-enabled# apt install libssl3
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

Unsatisfied dependencies:
 apt : Depends: raspbian-archive-keyring but it is not going to be installed
       Recommends: ca-certificates but it is not going to be installed
 coreutils : PreDepends: libssl3t64 (>= 3.0.0) but it is not going to be installed
Error: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
jcorporation commented 2 months ago

Which architecture?

edhelas commented 2 months ago

armv7l

It's a RPi 2B

jcorporation commented 2 months ago

Sure you using only debian stable? The package libflac12t64 exists only in unstable and testing.

https://packages.debian.org/search?suite=all&searchon=names&keywords=libflac12t64

edhelas commented 2 months ago

Hi, I've checked, I'm on Rasberry PI OS testing, but it's based on Debian.

Yes I have libflac12t64 already installed, the issue is that the mympd package still rely on libflac12.

# apt install mympd
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

Unsatisfied dependencies:
 mympd : Depends: libflac12 (>= 1.3.0) but it is not installable
         Depends: libssl3 (>= 3.0.0) but it is not going to be installed
Error: Unable to correct problems, you have held broken packages.
root@edhelas-pi:/home/pi# apt install libflac12
Package libflac12 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  libflac12t64

Error: Package 'libflac12' has no installation candidate
root@edhelas-pi:/home/pi# apt install libflac12t64
libflac12t64 is already the newest version (1.4.3+ds-2.1).
libflac12t64 set to manually installed.
Summary:
  Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0

Same with libssl3t64. It seems that you simply have to change the packages dependencies name to the t64 ones, I'm not 100% but that might be it :)

jcorporation commented 2 months ago

You use the incorrect package. If you are on testing, you should use the package for debian testing and not for debian stable.

This should be the correct one: https://download.opensuse.org/repositories/home:/jcorporation/Debian_Testing/

edhelas commented 2 months ago

My bad, that was it. Sorry for your time and thanks for the support.