Comments (16)
This has been published with 1.4.0 RC2
. @qwertysam @joaomlneto please try it out and confirm it's fixed for recent Ubuntu distros!
from desktop.
@joaomlneto @immackay let's talk about this more in desktop/dugite-native#109 because that's where the proper fix needs to occur
from desktop.
Can confirm I have the same problem as @immackay
While it now installs and launches just fine, I'm unable to clone/fetch repositories.
from desktop.
@qwertysam the previous installer worked because it didn't define any dependencies π I wanted to ensure that the new app depended on libcurl.so.4
and I thought libcurl3
would do the trick, but maybe that's meant to be libcurl4
?
Are you able to install libcurl4
via apt
?
from desktop.
Same issue here.
Setup
- GitHub Desktop:
shiftkey/desktop
master branch - Operating system: Linux Mint 19 Tara (package base from Ubuntu 18.04)
After yarn run package
installing using sudo dpkg -i dist/GitHubDesktop-linux-amd64-1.4.0.deb
I have libcurl4
installed; can't install libcurl3
as it results in a conflict(?).
$ sudo dpkg -i dist/GitHubDesktop-linux-amd64-1.4.0.deb
Selecting previously unselected package desktop.
(Reading database ... 398335 files and directories currently installed.)
Preparing to unpack .../GitHubDesktop-linux-amd64-1.4.0.deb ...
Unpacking desktop (1.4.0) ...
dpkg: dependency problems prevent configuration of desktop:
desktop depends on libcurl3; however:
Package libcurl3 is not installed.
dpkg: error processing package desktop (--install):
dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for desktop-file-utils (0.23+linuxmint3) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Errors were encountered while processing:
desktop
$ sudo apt-get install libcurl4
Reading package lists... Done
Building dependency tree
Reading state information... Done
libcurl4 is already the newest version (7.58.0-2ubuntu3.2).
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
desktop : Depends: libcurl3 but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
from desktop.
Updating script/electron-builder-linux.yml
to libcurl4
fixes it for me (installs and launches)
from desktop.
@joaomlneto thanks for confirming that change works - I'll put together a new build this evening.
Am I likely to get people who still rely on libcurl3
or is that only for compatibility and everyone should be depending on libcurl4
?
from desktop.
Seems libcurl4
is a common dependency starting in Ubuntu 18.04. curl
depends on libcurl4
starting on Ubuntu 18.04. Older Ubuntu versions require libcurl3
. cmake
also depends on libcurl4
starting from 18.04.
The insomnia REST client guys had the same issue and seem to have worked a PR to fix it using snap
. Same goes for Spotify
from desktop.
I just poked at this in Ubuntu14.04
and only libcurl3
is available (looks the same for Ubuntu 16.04
) so moving to the libcurl4
dependency will break older Debian-based distros.
I'm going to hold off on that update while I figure out other options (maybe ship two deb packages?) and wait for other bright ideas from others.
from desktop.
I tried setting the dependency to libcurl3 | libcurl4
and it worked -- same deb package installed fine on my Linux Mint (~18.04) and on a 14.04 docker instance.
But this is way out of my league :-) I have no idea of what I'm doing.
from desktop.
@joaomlneto I just tested that change out too and dpkg -I *.deb
seems happy with it, and installing it on my 14.04 VM both seem fine. I'm going to proceed and cut another RC - thanks for your help!
from desktop.
Works fine on my fake 18.04 :-)
$ lsb_release -a
No LSB modules are available.
Distributor ID: LinuxMint
Description: Linux Mint 19 Tara
Release: 19
Codename: tara
$ sudo dpkg -i GitHubDesktop-linux-amd64-1.4.0-linux2.deb
(Reading database ... 399798 files and directories currently installed.)
Preparing to unpack GitHubDesktop-linux-amd64-1.4.0-linux2.deb ...
Unpacking desktop (1.4.0-linux2) over (1.4.0) ...
Setting up desktop (1.4.0-linux2) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for desktop-file-utils (0.23+linuxmint3) ...
Processing triggers for mime-support (3.60ubuntu1) ...
from desktop.
On Arch Linux as of the changes in desktop#5478 I now get the error
/usr/lib/libcurl.so.4: version `CURL_OPENSSL_3' not found (required by /opt/github-desktop/resources/app/git/libexec/git-core/git-remote-https)
A fix (that was previously in use, but hadn't been necessary for a while due to linking to libcurl-gnutls) is to install libcurl-openssl-1.0 and then LD_PRELOAD the libraries provided by that package. Not sure if this is necessary though, thoughts?
from desktop.
Works fine on my real 18.04 :)
Thanks for the fast response and quick fix, @shiftkey and @joaomlneto
from desktop.
Looks like I'm now encountering curl/curl#2433 (but that issue discusses Debian distros in particular, which is relevant given Git is compiled on Ubuntu Trusty).
Not sure if this is necessary though, thoughts?
@immackay I think you might have to use that workaround again while I dig into this.
from desktop.
I've just published 1.5.0-linux1
that should address the libcurl
issue on newer Ubuntu distros https://github.com/shiftkey/desktop/releases/tag/release-1.5.0-linux1
from desktop.
Related Issues (20)
- unable to login got error in browser HOT 3
- Failed to clone: error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: CANCEL (err 8) HOT 5
- apt update Ign, Err within last hour HOT 1
- Suddenly Cannot Push Origin HOT 11
- Add certificate issue, upon installing ZScalar HOT 2
- Pycharm professional integration missing
- Error Object does not exist at path β/org/freedesktop/secrets/collection/loginβ
- GitHub Desktop does not respect KDE Plasma "Keyboard accelerators visibility" setting
- Ubuntu 24.04 Unsupported SSL backend 'gnutls' HOT 2
- Get an error when installing on CENTOS7 with error message: "Invalid version flag: or" (Re-post of Desktop issue 18551) HOT 6
- invalid SSL cert for `*.packages.shiftkey.dev` HOT 21
- can't clone my repos HOT 7
- Push - The remote disconnected HOT 9
- use GUI on multiple VNC sessions on linux server simultaneously HOT 3
- Can pull, can't push, although terminal push works HOT 10
- Error: The name is not activatable
- Certificate not trusted (APT) HOT 6
- Installation Command not working in Readme.md HOT 2
- Overflow in dialogue box
- Cannot Clone Private Repository Even Though I Have Adequate Access HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from desktop.