Describe the bug
Mailspring is not starting after upgrade to Ubuntu 20.10
To Reproduce
Run Mailspring from the Applications menu or from terminal.
Expected behavior
Mailspring should open.
Screenshots
If applicable, add screenshots to help explain your problem.
Setup: (please complete the following information):
Additional context
Running from terminal, this is what happens:
andrea@andrea-N240JU:~$ /snap/mailspring/488/bin/desktop-launch
mv: cannot stat '/.config/user-dirs.dirs': Permission denied
mv: cannot stat '/.config/user-dirs.locale': Permission denied
/snap/mailspring/488/bin/desktop-launch: line 270: /.config/user-dirs.dirs: Permission denied
/snap/mailspring/488/bin/desktop-launch: line 271: /.config/user-dirs.dirs.md5sum: Permission denied
cp: cannot stat '/.config/user-dirs.locale': Permission denied
/snap/mailspring/488/bin/desktop-launch: line 276: /.config/user-dirs.locale.md5sum: Permission denied
Can't save user-dirs.dirs
realpath: '': No such file or directory
realpath: '': No such file or directory
realpath: '': No such file or directory
realpath: '': No such file or directory
realpath: '': No such file or directory
realpath: '': No such file or directory
realpath: '': No such file or directory
realpath: '': No such file or directory
rm: cannot remove '/.local/share/themes': Permission denied
mkdir: cannot create directory '/.config': Permission denied
/snap/mailspring/488/bin/desktop-launch: line 410: /.config/fontconfig/fonts.conf: Permission denied
ln: failed to create symbolic link '/.local/share/themes': Permission denied
ln: failed to create symbolic link '/.themes': Permission denied
mkdir: cannot create directory '/.config': Permission denied
ln: failed to create symbolic link '/.config/dconf': Permission denied
rm: cannot remove '/.local/share/icons': Permission denied
mkdir: cannot create directory '/.config': Permission denied
ln: failed to create symbolic link '/.config/gtk-3.0/settings.ini': Permission denied
mkdir: cannot create directory '/.config': Permission denied
ln: failed to create symbolic link '/.config/gtk-3.0/bookmarks': Permission denied
mkdir: cannot create directory '/.config': Permission denied
ln: failed to create symbolic link '/.config/gtk-2.0/gtkfilechooser.ini': Permission denied
mkdir: cannot create directory '/.config': Permission denied
ln: failed to access '/.config/ibus': Permission denied
/snap/mailspring/488/bin/desktop-launch: line 557: /flavor-select: No such file or directory
rm: cannot remove '/.cache/immodules/immodules.cache': Permission denied
rm: cannot remove '/.cache/immodules/*.so': Permission denied
ln: failed to create symbolic link '/.cache/immodules/*.so': File exists
/snap/mailspring/488/bin/desktop-launch: line 583: /.cache/immodules/immodules.cache: Permission denied
/snap/mailspring/488/bin/desktop-launch: line 591: /.last_revision: Permission denied
Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.98. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
Installing the .deb package fails
andrea@andrea-N240JU:~$ sudo dpkg -i Downloads/mailspring-1.7.8-amd64.deb
Selecting previously unselected package mailspring.
(Reading database ... 548673 files and directories currently installed.)
Preparing to unpack .../mailspring-1.7.8-amd64.deb ...
Unpacking mailspring (1.7.8) ...
dpkg: dependency problems prevent configuration of mailspring:
mailspring depends on gvfs-bin; however:
Package gvfs-bin is not installed.
dpkg: error processing package mailspring (--install):
dependency problems - leaving unconfigured
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for desktop-file-utils (0.24-1ubuntu4) ...
Processing triggers for bamfdaemon (0.5.3+18.04.20180207.2-0ubuntu2) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Errors were encountered while processing:
mailspring
The problem is that gvfs-bin is not available in the Ubuntu 20.10 repositories.
you can install gvfs-bin from here http://ftp.de.debian.org/debian/pool/main/g/gvfs/gvfs-bin_1.46.1-1_amd64.deb
Installed it. Still not working.
Thanks @rengare was looking for that and never could find the right package last night. Fixed my issue on Pop_OS! on 20.10.
Thanks. The link above fixed the issue for me too. Using Pop OS 20.10 too
you can install gvfs-bin from here http://ftp.de.debian.org/debian/pool/main/g/gvfs/gvfs-bin_1.46.1-1_amd64.deb
Thanks, with this package I managed to install the .deb version of Mailspring and it now works as usual. Still no luck with the snap package but I don't really care.
you can install gvfs-bin from here http://ftp.de.debian.org/debian/pool/main/g/gvfs/gvfs-bin_1.46.1-1_amd64.deb
Phew! Thank you. Fixed error on Pop!_OS 20.10
any chance the snap could be updated with a patch?
This same error appeared to me only after upgrading gnome to v3.38.1
Thank you. Error fixed for Mailspring (and other softwares) on Pop!_OS 20.10
Most helpful comment
you can install gvfs-bin from here http://ftp.de.debian.org/debian/pool/main/g/gvfs/gvfs-bin_1.46.1-1_amd64.deb