On Thu, 26 Jan 2017 at 21:59:09 +0100, Laurent Bonnaud wrote: > Now with the workaround in place (masking the gvfs-daemon.service service) I > see the following error message: > > # apt-get update > [...] > (appstreamcli:11277): GVFS-WARNING **: Error creating proxy: Error calling > StartServiceByName for org.gtk.vfs.Daemon: > GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit gvfs-daemon.service is > masked. (g-io-error-quark, 36)
That's as expected. If you unmask the unit, and change the apt configuration snippet that I mentioned in a previous mail to this bug so it runs "if ...; then GIO_USE_VFS=local appstream-cli refresh-cache > /dev/null..." then that should avoid the unwanted daemons without either producing error messages, or preventing the use of gvfs if some other program you run as root actually needs it. S