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:
libsdl2-dev : Depends: libsdl2-2.0-0 (= 2.0.8+1) but 2.0.8+dfsg1-1ubuntu1.18.04.1 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
I tried…
$ sudo apt-get install libsdl2-2.0.8+dfsg1-1ubuntu1.18.04.1
but I get…
E: Unable to locate package libsdl2-2.0.08+dfsg1-1ubuntu1.18.04.1
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following packages were automatically installed and are no longer required:
linux-headers-4.15.0-20 linux-headers-4.15.0-20-generic
linux-image-4.15.0-20-generic linux-modules-4.15.0-20-generic
linux-modules-extra-4.15.0-20-generic
Use ‘sudo apt autoremove’ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 43 not upgraded.
user@elitebook:~$ sudo apt install --install-recommends winehq-staging
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:
libsdl2-dev : Depends: libsdl2-2.0-0 (= 2.0.8+1) but 2.0.8+dfsg1-1ubuntu1.18.04.1 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
user@elitebook:~$ sudo apt-get install libsdl2-2.0.08+dfsg1-1ubuntu1.18.04.1
You have outdated package on your system (43)
First try to upgrade them with sudo apt update and sudo apt upgrade
After that, you can try sudo apt install libsdl2-2.0-0 instead of sudo apt-get install libsdl2-2.0.08+dfsg1-1ubuntu1.18.04.1
and see if sudo apt install --install-recommends winehq-staging work now