errors installing and... uninstalling

Alexander Larsson alexl at redhat.com
Fri Sep 30 13:51:10 UTC 2016


On tor, 2016-09-29 at 18:49 +0100, Morgan Read wrote:
> Hello list,
> 
> Running fedora 24.
> 
> Following instructions here:
> http://flatpak.org/
> At '3. Installing a runtime'
> 
> I'm getting the following errors installing and uninstalling.  I
> installed once, and got:
> 
> 
> $ flatpak install gnome org.gnome.Platform 3.20
> 
> 9 delta parts, 71 loose fetched; 167691 KiB transferred in 601
> seconds
> 
> error: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The
> name
> :1.123 was not provided by any .service files

Hmm, it seems like some service on the bus exited. I believe this might
be the system helper for polkit-enabled unprivileged installation. It
does time-out when not in use, but I expected it to be re-activated
again when called. However, it seems the dbus proxy we use saves the
old dbus unique id instead of using the name.

I filed this:
https://github.com/flatpak/flatpak/issues/334

> So, tried again and had the same error and so tried to uninstall and
> got
> the final error - 'Invalid name gnome'  - which is weird as it says
> it's
> installed...

When you uninstall you don't have to give a remote name. Just

 flatpak uninstall  org.gnome.Platform 3.20

> $ flatpak install gnome org.gnome.Platform 3.20
> 
> 1 metadata, 0 content objects fetched; 313 B transferred in 3 seconds
> 
> error: GDBus.Error:org.freedesktop.Flatpak.Error.AlreadyInstalled:
> runtime/org.gnome.Platform/x86_64/3.20 is already installed
> [morgan at morgansmachine tmp]$ flatpak uninstall gnome
> org.gnome.Platform 3.20
> error: Invalid name gnome
> 
> 
> Seems I'm falling at the first hurdle...

You probably have it installed already. Check with 
 flatpak list -d --runtime

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
       alexl at redhat.com            alexander.larsson at gmail.com 
He's a globe-trotting vegetarian astronaut on the run. She's a tortured 
hypochondriac journalist from Mars. They fight crime! 





More information about the xdg-app mailing list