desktop: Unable to Start After Upgrade to v2.1.0

Description

miroslav@xtigyro-kubuntu:~$ env BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/github-desktop_github-desktop.desktop /snap/bin/github-desktop
/snap/github-desktop/63/app/github-desktop: symbol lookup error: /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0: undefined symbol: g_date_copy

Versions

  • GitHub Desktop: v2.1.0 Linux RC1
  • Operating system: Kubuntu 18.04
  • GLib version: 2.56.4-0ubuntu0.18.04.3 amd64
root@xtigyro-kubuntu:/usr/lib/x86_64-linux-gnu# ll /usr/lib/x86_64-linux-gnu/libgobject*
lrwxrwxrwx 1 root root     26 юни  5 19:47 /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 -> libgobject-2.0.so.0.5600.4
-rw-r--r-- 1 root root 342072 юни  5 19:47 /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.5600.4

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 22
  • Comments: 54 (3 by maintainers)

Most upvoted comments

I downloaded GitHubDesktop-linux-2.0.4-linux1.snap directly from 2.0.4 release assets and installed it with snap:

snap remove github-desktop
snap install path/to/GitHubDesktop-linux-2.0.4-linux1.snap --classic

it worked for me.

@liao961120 I had to use --dangerous when installing the downloaded version to bypass the lack of signatures.

@bear-good Say you’ve downloaded GitHubDesktop-linux-2.0.4-linux1.snap to ~/Downloads. Enter a shell and use these commands.

cd ~/Downloads
snap remove github-desktop
snap install GitHubDesktop-linux-2.0.4-linux1.snap --classic --dangerous

@merlinND I am receiving an error when attempting to revert to revision 62.

jordan@jordan-iMac:~$ snap revert --revision=62 github-desktop
error: cannot revert "github-desktop": cannot find revision 62 for snap
       "github-desktop"
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.

Okay, going to leave this here just for clarity:

Download version 2.0.4 from here (found on the releases page). Assuming you’re using a common browser, this will save the file to ~/Downloads.

You can then uninstall 2.1.0 and install 2.0.4 using the shell commands

cd ~/Downloads
snap remove github-desktop
snap install GitHubDesktop-linux-2.0.4-linux1.snap --classic --dangerous

@immackay I use snap install --edge github-desktop,that’s ok it can run.

Okay, going to leave this here just for clarity:

Download version 2.0.4 from here (found on the releases page). Assuming you’re using a common browser, this will save the file to ~/Downloads.

You can then uninstall 2.1.0 and install 2.0.4 using the shell commands

cd ~/Downloads
snap remove github-desktop
snap install GitHubDesktop-linux-2.0.4-linux1.snap --classic --dangerous

That’s one worked for me. Thanks!

My problem is solved, thank you.

@liao961120

snap install path/to/GitHubDesktop-linux-2.0.4-linux1.snap --classic

error: cannot open: "path/to/GitHubDesktop-linux-2.0.4-linux1.snap"

Use AppImage I had no problems with latest version. https://appimage.github.io/GitHubDesktop/

@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 thanks for that helpful script for what’s changed between releases. That will help me trace what changes need to be made when packaging…

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