Skip to content
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

Code cannot launch on Fedora due to missing libXss dep #13439

Closed
Tyriar opened this issue Oct 10, 2016 · 10 comments
Closed

Code cannot launch on Fedora due to missing libXss dep #13439

Tyriar opened this issue Oct 10, 2016 · 10 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug candidate Issue identified as probable candidate for fixing in the next release important Issue identified as high-priority install-update VS Code installation and upgrade system issues linux Issues with VS Code on Linux verified Verification succeeded

Comments

@Tyriar
Copy link
Member

Tyriar commented Oct 10, 2016

/cc @chrmarti

@Tyriar Tyriar added bug Issue identified by VS Code Team member as probable bug important Issue identified as high-priority install-update VS Code installation and upgrade system issues linux Issues with VS Code on Linux candidate Issue identified as probable candidate for fixing in the next release labels Oct 10, 2016
@Tyriar Tyriar added this to the September 2016 milestone Oct 10, 2016
@Tyriar Tyriar self-assigned this Oct 10, 2016
@Tyriar Tyriar closed this as completed in 738fa36 Oct 10, 2016
Tyriar added a commit that referenced this issue Oct 10, 2016
@Tyriar
Copy link
Member Author

Tyriar commented Oct 10, 2016

Pushed and cherry picked to release/1.6 branch

@chrmarti chrmarti added the verified Verification succeeded label Oct 10, 2016
@MrSparc
Copy link

MrSparc commented Oct 11, 2016

openSUSE fails to resolving the package dependency "libXScrnSaver" because the bin package is called "libXss1" (for more info see https://bugzilla.suse.com/show_bug.cgi?id=967340)

 $ sudo zypper install ./code-1.6.0-1476123947.el7.x86_64.rpm                                              
Loading repository data...
Reading installed packages...
Resolving package dependencies...

Problem: nothing provides libXScrnSaver needed by code-1.6.0-1476123947.el7.x86_64
 Solution 1: do not install code-1.6.0-1476123947.el7.x86_64
 Solution 2: break code-1.6.0-1476123947.el7.x86_64 by ignoring some of its dependencies

@Tyriar
Copy link
Member Author

Tyriar commented Oct 11, 2016

@MrSparc thanks for the report, do you think something like this will work in the rpm?

Requires: glibc >= 2.15, libXScrnSaver or libXss1

@MrSparc
Copy link

MrSparc commented Oct 11, 2016

@Tyriar I don't know much about rpm specs but googling (or binging) looks like the use of Boolean dependency feature is supported as of RPM 4.13 http://www.rpm.org/wiki/PackagerDocs/BooleanDependencies

Boolean expressions are not supported in previous RPM versions: http://serverfault.com/questions/299179/can-one-require-this-or-that-package-in-an-rpm-spec-file

@romu70
Copy link

romu70 commented Nov 30, 2016

Same issue with Fedora 25. Problem is the libXss.so.1 library is not installed by the libXScrnSaver package.

@Tyriar
Copy link
Member Author

Tyriar commented Nov 30, 2016

@romu70 this should have been fixed by the #15128 PR, coming to the stable build soon. In the meantime you can just ignore the warning.

@romu70
Copy link

romu70 commented Dec 1, 2016

It doesn't work this way. Indeed F25 refuses to install the rpm because of this missing library. Indeed, the library is present on the system, but on 64 bit computer, it is in /usr/lib64, not in /usr/lib. I just created a symbolic link in /usr/lib and it works. Don't know who is to blame though, libXScrSaver, Fedora ou VSC?

@Tyriar
Copy link
Member Author

Tyriar commented Dec 2, 2016

After the PR it now points based on the bitness of the package, which I believe fixes the issue. See https://github.com/Microsoft/vscode/pull/15128/files#diff-188db2ba2b1e47c34c14a1ab98ea76e4R13

@romu70
Copy link

romu70 commented Dec 3, 2016

do you know when it'll be released? I'll do some testing.

@Tyriar
Copy link
Member Author

Tyriar commented Dec 5, 2016

You can see the plan here #15099

@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
lemanschik pushed a commit to code-oss-dev/code that referenced this issue Nov 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug candidate Issue identified as probable candidate for fixing in the next release important Issue identified as high-priority install-update VS Code installation and upgrade system issues linux Issues with VS Code on Linux verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

5 participants