Hello everybody,
While I noticed a similar post discussing a Python-related installation issue with Spot, I believe my case is distinct as the context and the errors I am facing differ significantly. In my case, I am attempting to install Spot on a clean virtual machine running Ubuntu 24.04. . I am encountering an unmet dependency issue when running the following command:
" sudo apt-get install spot libspot-dev spot-doc python3-spot"
The terminal output shows: " The following packages have unmet dependencies: python3-spot : Depends: python3 (< 3.12) but 3.12.3-0ubuntu2 is to be installed E: Unable to correct problems, you have held broken packages. " I have already tried the following steps:
- Installing Python 3.10 manually and setting it as the default version using update-alternatives. - Adding the Spot Debian repository key and verifying it was added correctly. - Updating the package lists with sudo apt-get update.
Despite these steps, the error persists, so I’m not sure if this is an issue with my system configuration, the Spot repository, or outdated requirements.
Any insights or suggestions would be greatly appreciated.
Thank you!
david.arruga@gmail.com writes:
Hello everybody,
While I noticed a similar post discussing a Python-related installation issue with Spot, I believe my case is distinct as the context and the errors I am facing differ significantly. In my case, I am attempting to install Spot on a clean virtual machine running Ubuntu 24.04. . I am encountering an unmet dependency issue when running the following command:
" sudo apt-get install spot libspot-dev spot-doc python3-spot"
The terminal output shows: " The following packages have unmet dependencies: python3-spot : Depends: python3 (< 3.12) but 3.12.3-0ubuntu2 is to be installed E: Unable to correct problems, you have held broken packages. "
Looks like you are trying to install Spot packages that were not compiled for your distribution. You can find packages compiled for Ubuntu 24.04 in https://download.opensuse.org/repositories/home:/adl/xUbuntu_24.04/ Those require Python 3.12.
See https://gitlab.lre.epita.fr/spot/spot/-/issues/544 for related discussions.
Indeed, after switching to that new repository, I was able to install Spot.
Thank you very much for your help!