-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ePSXe and libcurl4 #7
Comments
Are you using the latest version of the script? If so, can you paste the contents of /etc/os-release ? |
Same problem here. Debian 10 (buster):
|
The code, as contributed by @bryceml , checks the VERSION_ID number. (reference: 68a031d) From contents of /etc/os-release above, version is missing. Maybe another command can give version number? Example follows for Linux Mint:
Thank you. |
https://linuxconfig.org/check-what-debian-version-you-are-running-on-your-linux-system Looking on debian buster (10) everything just says buster, not 10, so we may have to check a list of names with debian. |
@arzardk can you please post your /etc/os-release as initially requested? |
@bryceml from your provided link, debian etc/os-release does have a VERSION_ID at least for vesion 9. |
I believe it's that debian 10 is still in testing and won't be released as stable until likely this summer, maybe later. My guess is that it will have a VERSION_ID when it's released as stable. |
I see. So for those who wish to use the script while still under testing, we do have to check a list of names... |
Debian testing will always contain "sid" somewhere in the name, we could check that and numbers pretty successfully I think. Something like if cat /etc/os-release|grep -qi sid
then
stuff
fi It might be worth exploring our options more. |
Updates to this comment are in bold. Debian SID I just updated the script with 68a031d#commitcomment-32485422, appreciated! This in preparation for the new arrangement to accommodate Sid branch. Personally, I would go with only a list of names but if you deem fit to also keep version_id, then I will not object especially since your proposal is more professional... Thus, should an instance be created for SID and also for Debian 10? KDE neon Also, since we have been notified, a typical /etc/os-release for KDE Neon would be:
Thus, in
Reference: http://theunixshell.blogspot.com/2013/05/list-of-bash-conditional-statements.html |
@arzardk & @linuxrecon |
I was thinking, an easy way to make this easily apply to all distros without managing them one by one is to check if libcurl4 is available, and if it is, manually install libcurl3 alongside it like we do for these newer distros. If you look at which distros have libcurl4 it's exactly the ones that have problems with libcurl3 conflicting. https://pkgs.org/download/libcurl4 Instead of checking distros, we can do if apt-cache show libcurl4 >/dev/null 2>/dev/null
then
stuff here
fi |
if apt-cache show libcurl4 2>/dev/null|grep -q '^Package: libcurl4$'
then
stuff here
fi will work better because it will verify if the actual package is available instead of a virtual package if a virtual package were available. |
#10 is an option if we want to test it. |
I agree wholeheartedly. This will reduce bloat in the script. Will revert to the previous block if we receive reports that it is not working as intended. |
I am trying to get some feedback, so far I posted here: |
will re-open if reports of conflicts between libcurl 3 and 4 are received |
Hello! Thank you for your work. I have a problem with ePSXe and Lutris. Lutris requires libcurl4 and ePSXe requires libcurl3, so if i installing ePSXe, Lutris will be uninstalled because it requires libcurl4. So, is there any way to have both of these programs installed without uninstalling neither of them?
Here is log from the terminal:
./ePSXe
/usr/lib/x86_64-linux-gnu/libcurl.so.4: version `CURL_OPENSSL_3' not found (required by ./ePSXe)
My distro is KDE neon (Ubuntu 18.04)
The text was updated successfully, but these errors were encountered: