Comment 27 for bug 1776873

Revision history for this message
Troy Ready (troyready) wrote :

Can anyone help with a workaround suggestion while we're waiting for this to get fixed?

I normally manually patch package issues like this, but for some reason it doesn't seem to be working in this case:

```
TMPDIR=$(mktemp -d)
cd $TMPDIR
apt-get -y source snapd
sed -i 's/"http", "https", "mailto", "snap", "help"/"http", "https", "mailto", "snap", "help", "apt", "zoommtg", "slack"/' snapd-2.42.1+19.10/usersession/userd/launcher.go
cd snapd-2.42.1+19.10 && dch -l$(hostname) fix_missing_app_types
cd ..
cd snapd-2.42.1+19.10$(hostname)1 && DEB_BUILD_OPTIONS=nocheck debuild -b -uc -us
cd ..
sudo dpkg -i snapd_2.42.1+19.10$(hostname)1_amd64.deb
```

It seems to be updating /usr/bin/snap properly, but the xdg-open is still blocked.