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

Version 1.1.3 .deb won't open on Ubuntu 18.04 (libgconf-2-4 dependency mishandling) #727

Closed
jkterry1 opened this issue Mar 11, 2018 · 13 comments

Comments

@jkterry1
Copy link

jkterry1 commented Mar 11, 2018

The title is relatively descriptive- I installed Ubuntu 18.04 (currently in beta and set to be the main Ubuntu distro in a month), updated it, downloaded the 1.1.3 .deb, installed it via sudo dpkg - i m, it installed without error, and when clicking to open it it waits for a moment and does not turn into a new window. Rebooting didn't solve anything.

@jkterry1
Copy link
Author

Update: the fix here (which I found after an error trying to use the tarball version) is you have to apt-get install libgconf-2-4 first. You need to include this, have the installer install this (which is better), or at least fail with error if you try to open without it. This is a documented issue with electron apps on Ubuntu: electron/electron#1518

@jkterry1 jkterry1 changed the title Version 1.1.3 .deb won't open on Ubuntu 18.04 Version 1.1.3 .deb won't open on Ubuntu 18.04 (libgconf-2-4 dependency mishandling) Mar 11, 2018
@natanielcz
Copy link
Contributor

I'll check the deb which may be produced when new version will be released. If this dependency is not included I'll add the missing one.

@roundhill
Copy link
Contributor

I updated the deb build, can you test it again and see if it installs @justinkterry? It is at the same link here:

https://github.com/Automattic/simplenote-electron/releases/download/v1.1.3/Simplenote-linux-1.1.3.deb

@natanielcz
Copy link
Contributor

This deb should install gconf2 dependency. Waiting for confirmation.

@roundhill
Copy link
Contributor

Assuming this is working now, closing.

@pow4all
Copy link

pow4all commented Apr 18, 2018

I am also on Ubuntu 18.04 Beta2 and the .deb above (@roundhill) didn‘t work. I had to install libgconf-2-4 manually.

@roundhill
Copy link
Contributor

Hmm, I just tested it on vanilla Ubuntu 17 and it worked fine. Seems as though it works for some and not for others.

@jkterry1
Copy link
Author

jkterry1 commented Apr 18, 2018 via email

@roundhill
Copy link
Contributor

Ah ok, thanks Justin. @natanielcz is there some way we can include/install it in the package?

@natanielcz
Copy link
Contributor

We could add dependent packages in electron-builder.json file in section deb -> depends like that:
"depends": ["gconf2"]
I'm not sure but maybe we'll have to add also "gconf-service" to this array.
Unfortunately, I don't have enough time in upcoming weeks to check it out.

@jkterry1
Copy link
Author

FYI I just retested it with what will basically be the final build before thursday and this issue persists

@roundhill
Copy link
Contributor

"depends": ["gconf2"]

This worked 👍 I submitted a PR for that change and updated the current .deb download for v1.1.3

#751

@dww100
Copy link

dww100 commented Aug 13, 2018

I have the same error installing the current (1.1.6) deb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants