libretro / RetroArch

Cross-platform, sophisticated frontend for the libretro API. Licensed GPLv3.
http://www.libretro.com
GNU General Public License v3.0
10.19k stars 1.82k forks source link

Dependancy for retroarch-dbg uses an old version of retroarch packages that doesn't exist in repo #12559

Open BaronJake opened 3 years ago

BaronJake commented 3 years ago

First and foremost consider this:

Description

When installing retroarch on ubuntu using sudo apt-get install retroarch*, the retroarch-dbg packages tries to find a version that no longer exists and cannot be installed.

Expected behavior

all retroarch related packages to be installed

Actual behavior

apt-get refuses to install any retroarch packages.

sudo apt-get install -f retroarch-dbg Reading package lists... Done Building dependency tree
Reading state information... Done 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:

The following packages have unmet dependencies: retroarch-dbg : Depends: retroarch (= 1.9.2-r202105080121-f24f827c4c-110~ubuntu20.04.1) but it is not going to be installed E: Unable to correct problems, you have held broken packages.

It would seem that only version 1.9.5 is available.

Steps to reproduce the bug

On a ubuntu system with out retroarch installed run the following command copied from the retroarch website in the terminal:

sudo add-apt-repository ppa:libretro/stable && sudo apt-get update && sudo apt-get install retroarch*

Bisect Results

Seemed to have started when retroarch 1.9.5 was released and there is a missed update to retroarch-dbg dependancies

Version/Commit

You can find this information under Information/System Information

Environment information

taniadaniela commented 3 years ago

having the same issue with Zorin OS 15.3 (this uses Linux matrix 5.4.0-72-generic #80~18.04.1-Ubuntu kernel)

Spartis commented 3 years ago

Same issue: retroarch-dbg : Depends: retroarch (= 1.9.2-r202105021333-bc23d070de-110~ubuntu20.04.1) but it is not going to be installed on Linux Mint 20.1 (5.11.16-051116-generic kernel)

hizzlekizzle commented 3 years ago

It's because the repos have a separate retroarch-dbg that we do not have in the PPA, so when you do retroarch-*, its trying to pull in that -dbg package, which depends on an older RetroArch build than the one in the PPA. The solution is to not use the wildcard in this case, but we may be able to add a 'replaces: retroarch-dbg' to the PPA RetroArch package to avoid it altogether.

MerouaneBali commented 3 years ago

Same issue on Ubuntu 20.04:

The following packages have unmet dependencies: retroarch-dbg : Depends: retroarch (= 1.9.2-r202105021333-bc23d070de-110~ubuntu20.04.1) but 1.9.6-r202106280905+0a5fd837a2-139~ubuntu20.04.1 is to be installed E: Unable to correct problems, you have held broken packages.

Is it okay to run the program without this package now? I'm assuming they don't need it anymore and they just haven't updated the installation instructions, idk.

hizzlekizzle commented 3 years ago

I tried setting the PPA RetroArch package to "replace" the retroarch-dbg package, so I'm hoping it will fix this issue.

@MerouaneBali no, you don't need it.

cmar0ck commented 3 years ago

Same problem on my Ubuntu 20.04:


Note, selecting 'retroarch' for glob 'retroarch' Note, selecting 'retroarch-assets' for glob 'retroarch' Note, selecting 'retroarch-dbg' for glob 'retroarch*' 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:

The following packages have unmet dependencies: retroarch-dbg : Depends: retroarch (= 1.9.2-r202105021333-bc23d070de-110~ubuntu20.04.1) but 1.9.7-r202107251548+8373ac6746-140~ubuntu20.04.1 is to be installed E: Unable to correct problems, you have held broken packages.

BaronJake commented 3 years ago

Retroarch works without this dependency by installing retro arch and retroarch-assets individually. I haven't had any issues so far without the retroarch-dbg package.

cmar0ck commented 3 years ago

Could someone then please update the installation instructions here https://retroarch.com/index.php?page=linux-instructions?

(Might otherwise be a disappointing experience, especially for new RetroArch users).

theincogtion commented 4 months ago

Same on Linux Mint. If I try to install the assets it keeps installing the old version 1.4.1 and therfore retroarch is unable to install at all.

hizzlekizzle commented 4 months ago

@theincogtion I'm not sure we can do anything about that. That's up to the mint package maintainer(s), right?

theincogtion commented 4 months ago

I don't know but they really have some old packages there like keepassxc 2.6.6 Not sure why they even have it if the version are so old.