Ubuntu 19.04 deb package segfault

Reply

Re: Ubuntu 19.04 deb package segfault

meijero
Casual Listener

If you want to upgrade to the latest version now, downloading and installing these packages is probably the only solution. Install gnutls30 first

 

http://ftp.us.debian.org/debian/pool/main/g/gnutls28/libgnutls30_3.6.8-1_amd64.deb

http://http.us.debian.org/debian/pool/main/c/curl/libcurl3-gnutls_7.64.0-3_amd64.deb

 

You shouldn't have any issues by upgrading these packages, but:

Rolling back to the original packages, in case of problems or broken depenScreenshot Synaptic.pngdencies, is very easy if you follow these steps.

 

1 Install Synaptic (package manager) if required

2 Find the first package you wish to downgrade and select it.

3 In the Synaptic toolbar under "Package" select "Force version", then select the desired version you want to downgrade to.

4 Click the button "Force version"

5 Repeat the process for the second package.

6 Press the "apply button" in the Synaptic toolbar to execute the downgrade.

 

Note: downgrade both packages simultaneously, as I am describing, otherwise you might have fo fix broken dependencies.

Best regards, and have fun with trying out these solutions.

 

Otto

Re: Ubuntu 19.04 deb package segfault

chris208
Casual Listener

@meijero wrote:

If you want to upgrade to the latest version now, downloading and installing these packages is probably the only solution. Install gnutls30 first

 

http://ftp.us.debian.org/debian/pool/main/g/gnutls28/libgnutls30_3.6.8-1_amd64.deb

http://http.us.debian.org/debian/pool/main/c/curl/libcurl3-gnutls_7.64.0-3_amd64.deb

 

You shouldn't have any issues by upgrading these packages, but:

Rolling back to the original packages, in case of problems or broken depenScreenshot Synaptic.pngdencies, is very easy if you follow these steps.

 

1 Install Synaptic (package manager) if required

2 Find the first package you wish to downgrade and select it.

3 In the Synaptic toolbar under "Package" select "Force version", then select the desired version you want to downgrade to.

4 Click the button "Force version"

5 Repeat the process for the second package.

6 Press the "apply button" in the Synaptic toolbar to execute the downgrade.

 

Note: downgrade both packages simultaneously, as I am describing, otherwise you might have fo fix broken dependencies.

Best regards, and have fun with trying out these solutions.

 

Otto


Cool that you figured this out, I hope the developers are reading this thread so they can fix it.

However I don't think users shoul forcefully mess up their libraries and cause dependency issues down the line.

 

I think the developers at Spotify shouldn't develop on OS's that are not current, neither out-of-date nor nightlies with newer libs. My system is a normal up-to-date Ubuntu 19.04, I have libgnutls30 3.6.5-2 and libcurl3-gnutls 7.64.0-2. There are no upgrades available at this time. I would hope Spotify has some kind of CI pipeline that tests basic features like starting up at all on current systems, but this issue doesn't really seem to indicate they do, or perhaps they didn't make one for 19.04 yet?

Re: Ubuntu 19.04 deb package segfault

chris208
Casual Listener

What you could also do, if you are desperate to get this working is this:

Download the two files that Otto referred to, but from another source, one that we can verify:

wget http://ftp.nl.debian.org/debian/pool/main/c/curl/libcurl3-gnutls_7.64.0-3_amd64.deb
wget http://ftp.nl.debian.org/debian/pool/main/g/gnutls28/libgnutls30_3.6.8-1_amd64.deb
sha256sum libcurl3-gnutls_7.64.0-3_amd64.deb | grep b9f78db7f991564da9e972f1c9ac197bd73b836bbc6901fde12df97639538f15 && echo "File checksum OK" || echo "File checkusm is BAD\!"
sha256sum libgnutls30_3.6.8-1_amd64.deb | grep e49e9c1c82755f8ff11f5b3846bd4a4b4c8c62953a38612485ca2437b6a6c41c && echo "File checksum OK" || echo "File checkusm is BAD\!"

 

You should see "File checksum OK" twice here, if you see "File checkusm is BAD!" even once, check the URL's again, don't install if you keep getting this output.

 

mkdir ~/.config/spotify/temp-fix-broken-libs/
dpkg-deb -x libcurl3-gnutls_7.64.0-3_amd64.deb  ~/.config/spotify/temp-fix-broken-libs/
dpkg-deb -x libcurl3-gnutls_7.64.0-3_amd64.deb  ~/.config/spotify/temp-fix-broken-libs/
dpkg-deb -x libgnutls30_3.6.8-1_amd64.deb  ~/.config/spotify/temp-fix-broken-libs/

That places the libraries that are required to make Spotify run again in a temporary location. To start Spotify using them you need to run:

 

LD_LIBRARY_PATH=~/.config/spotify/temp-fix-broken-libs/usr/lib/x86_64-linux-gnu /usr/bin/spotify
You could make a shortcut for that like this: 
 
sudo tee /usr/bin/spotify-temp-fix <<EOF

#!/bin/bash
LD_LIBRARY_PATH=~/.config/spotify/temp-fix-broken-libs/usr/lib/x86_64-linux-gnu /usr/bin/spotify
EOF

sudo chmod +x /usr/bin/spotify-temp-fix
Now run spotify-temp-fix to start spotify.
 

Re: Ubuntu 19.04 deb package segfault

msexcel
Newbie

same 

 

$ cat /etc/os-release
NAME="Ubuntu"
VERSION="19.04 (Disco Dingo)"

 

 

 

Re: Ubuntu 19.04 deb package segfault

freddez
Casual Listener

The package was already installed for me, but a

sudo apt-get install --reinstall libcanberra-gtk-module

(temporally?) fixed the problem

Re: Ubuntu 19.04 deb package segfault

stoatwblr
Casual Listener

Except snap is _not_ (yet) the default installer on Ubuntu, so anyone wanting to stick with apt will use the deb package.

 

 

Re: Ubuntu 19.04 deb package segfault

stoatwblr
Casual Listener

FWIW, installing from snap didn't fix the problem for me.

Purging i386/i686 packages on the system did (for the moment)

YMMV

Re: Ubuntu 19.04 deb package segfault

the_furai
Casual Listener

@stoatwblr wrote:

Except snap is _not_ (yet) the default installer on Ubuntu, so anyone wanting to stick with apt will use the deb package.

 

 


Yeah, TBH, I don't like snap packages at all. If there's deb avaialable I'll always go and choose it over anything else.

Re: Ubuntu 19.04 deb package segfault

anselan
Casual Listener

I'm using Pop!_OS, based on Ubuntu 19.04, and having the same issue starting today.

Re: Ubuntu 19.04 deb package segfault

yuusou
Casual Listener

The only solutions I'd personally recommend other than rolling back is @chris208's solution or snap/flatpak.

 

The thing with non-deb solutions such as snap and flatpak is that it's always slower and sometimes a bit buggy.

I'd definitely avoid installing the debian-repo packages, that can really break your system.

 

All the other "solutions" are temporary fixes that will conk out eventually as the issue clearly lies with gnutls.

I say "solutions" because the only real solutions is either an update to spotify or an update to gnutls from Ubuntu/Canonical.

SUGGESTED POSTS