You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reacted by Teodor, meldesouki, Dan Rubins, Furkan Tolga Yüce, Ian MacKay, Renann Prado, Adil Zouitine, Ashley Wilson, Lav P Patel, Ryein Goddard and 12 more
On Fedora 29, I was unable to run the application after an auto-update of the snap to revision 63:
$ snap run github-desktop
/snap/github-desktop/63/app/github-desktop: error while loading shared libraries: libpcre.so.3: cannot open shared object file: No such file or directory
Reverting to revision 62 did the trick:
$ snap revert --revision=62 github-desktop
github-desktop reverted to 2.0.4-linux1
@liao961120 I had to use --dangerous when installing the downloaded version to bypass the lack of signatures.
Reacted by Renann Prado, Net Imp, Turgut, Techtiger255, Filippo Italiano, Georgios Kourakos, Faraz, a1300, Diego M. Jiménez Bravo, Vimal Kaurani and 9 more
Reacted by bl-ue
Reacted by Rian Priskanova, Techtiger255, a1300, Yrotciv, Gustavo Zimbrón and bl-ue
Reacted by a1300, BradL, Karan, Germán Leandro Contreras Sagredo, Balint Laczko and bl-ue
Can confirm that version 2.1.0 installed on Gentoo via snapcraft complains of missing libpcre.so.3
/snap/github-desktop/63/app/github-desktop: error while loading shared libraries: libpcre.so.3: cannot open shared object file: No such file or directory
this works for me on ubuntu 19.
after download the file login into download folder .
open terminal & write
cd ~
cd Downloads
snap install GitHubDesktop-linux-2.0.4-linux1.snap --classic --dangerous
Hey could someone please help. I have followed all the steps and have the file installed but when I run the snap install GitHubDesktop-linux-2.0.4-linux1.snap --classic --dangerous command. I get the response: error: cannot read snap file: exit status 1
Does anyone have any ideas about why this might be happening?
Thanks 😄
Hey could someone please help. I have followed all the steps and have the file installed but when I run the snap install GitHubDesktop-linux-2.0.4-linux1.snap --classic --dangerous command. I get the response: error: cannot read snap file: exit status 1
Does anyone have any ideas about why this might be happening?
Thanks
That should work if you have the file GitHubDesktop-linux-2.0.4-linux1.snap in the directory you're running the command in. Did you download it? Can you see it if you run ls GitHub*.snap before running the snap install... ?
Yeah no @lifenstein I checked and I have the file. I don't understand where this comes from.
Check the file permissions just in case to make sure you can read it, and then try referring to the file with explicit relative path (snap install ./GitHubDesktop ...) - just in case you have unusual ordering of paths in the PATH variable.
I have a fresh version of ubuntu 18.04 with git being the first installed program and github-desktop being the second. Instructions from immackay on Aug 26 resulted in error libcurl3 missing. I needed to add
@ipkpjersi I want to bring it back (see #202) but diagnosing how it's failing and how to package it correctly was a huge timesink that lead to me falling behind with updates.
That would leave crafting the package configuration by hand, and while I did look at how VSCode does this months ages ago it's not something I was able to port easily for my use case.
Closing this out as I don't have the bandwidth to revisit this in the short or medium term. If someone else wants to have a shot at this I've added notes in #202 which are from the last time I thought about Snap packaging...
Activity
Jord-JD commentedon Jul 3, 2019
I'm facing the same issue on Ubuntu 18.04 LTS. Fresh install here, rather than upgrade.
Xtigyro commentedon Jul 3, 2019
@shiftkey @DivineOmega Works fine when using the
AppImage- so it should be related to thesnappkg.merlinND commentedon Jul 4, 2019
On Fedora 29, I was unable to run the application after an auto-update of the snap to revision 63:
Reverting to revision 62 did the trick:
subhokarmakar commentedon Jul 4, 2019
Facing the same issue
What is this error!
@Xtigyro @DivineOmega @shiftkey
Jord-JD commentedon Jul 4, 2019
@merlinND I am receiving an error when attempting to revert to revision 62.
liao961120 commentedon Jul 4, 2019
I downloaded
GitHubDesktop-linux-2.0.4-linux1.snapdirectly from 2.0.4 release assets and installed it with snap:it worked for me.
subhokarmakar commentedon Jul 4, 2019
@liao961120 Thanks brooo It worked
Jord-JD commentedon Jul 4, 2019
@liao961120 I had to use
--dangerouswhen installing the downloaded version to bypass the lack of signatures.liao961120 commentedon Jul 6, 2019
@sulkhaniaba did you just copied <path/to/GitHubDesktop-linux-2.0.4-linux1.snap> literally?
You have to specify the path of the snap file on your computer, not the path posted abvoe
immackay commentedon Jul 7, 2019
diff \ <(unsquashfs -l GitHubDesktop-linux-2.0.4-linux1.snap) \ <(unsquashfs -l GitHubDesktop-linux-2.1.0-linux1.snap) \ | sed -n '/x86_64-linux-gnu/s|squashfs-root||p'Running produces this output.
shiftkey commentedon Jul 21, 2019
@immackay thanks for that helpful script for what's changed between releases. That will help me trace what changes need to be made when packaging...
lucyllewy commentedon Aug 5, 2019
There's a discussion and analysis at the snapcraft forum: https://forum.snapcraft.io/t/undefined-symbol-g-date-copy-problem/12235/4
bear-good commentedon Aug 27, 2019
@liao961120
28 remaining items
github8bits commentedon Oct 3, 2019
problem still exits. please fix.
github8bits commentedon Oct 3, 2019
snap revert --revision=62 github-desktop
error: cannot revert "github-desktop": cannot find revision 62 for snap
"github-desktop"
ubuntu 18.04
ebarracchia commentedon Oct 16, 2019
That's one worked for me. Thanks!
KiTTYsh commentedon Oct 20, 2019
Can confirm that version 2.1.0 installed on Gentoo via snapcraft complains of missing
libpcre.so.3softhightech commentedon Nov 2, 2019
this works for me on ubuntu 19.
after download the file login into download folder .
open terminal & write
cd ~
cd Downloads
snap install GitHubDesktop-linux-2.0.4-linux1.snap --classic --dangerous
then find github and run it it works.
Uzay-G commentedon Dec 12, 2019
Hey could someone please help. I have followed all the steps and have the file installed but when I run the
snap install GitHubDesktop-linux-2.0.4-linux1.snap --classic --dangerouscommand. I get the response:error: cannot read snap file: exit status 1Does anyone have any ideas about why this might be happening?
Thanks 😄
lifenstein commentedon Dec 12, 2019
That should work if you have the file
GitHubDesktop-linux-2.0.4-linux1.snapin the directory you're running the command in. Did you download it? Can you see it if you runls GitHub*.snapbefore running thesnap install... ?Uzay-G commentedon Dec 13, 2019
Yeah no @lifenstein I checked and I have the file. I don't understand where this comes from.
lifenstein commentedon Dec 17, 2019
Check the file permissions just in case to make sure you can read it, and then try referring to the file with explicit relative path (
snap install ./GitHubDesktop ...) - just in case you have unusual ordering of paths in the PATH variable.johngrabner commentedon Dec 20, 2019
I have a fresh version of ubuntu 18.04 with git being the first installed program and github-desktop being the second. Instructions from immackay on Aug 26 resulted in error libcurl3 missing. I needed to add
sudo apt-get install libcurl3 -y
ipkpjersi commentedon Mar 8, 2020
Don't mean to bug you but I'm just wondering where we're at with this? I definitely understand something like this can be quite tricky to solve.
shiftkey commentedon Mar 8, 2020
@ipkpjersi I want to bring it back (see #202) but diagnosing how it's failing and how to package it correctly was a huge timesink that lead to me falling behind with updates.
I think the simplest way forward would be to generate the Snap installer from the working
debpackage (guide here: https://www.electronjs.org/docs/tutorial/snapcraft#using-an-existing-debian-package) but I fear that won't completely resolve these issues with missing symbols.That would leave crafting the package configuration by hand, and while I did look at how VSCode does this months ages ago it's not something I was able to port easily for my use case.
shiftkey commentedon Apr 21, 2022
Closing this out as I don't have the bandwidth to revisit this in the short or medium term. If someone else wants to have a shot at this I've added notes in #202 which are from the last time I thought about Snap packaging...