flathub/org.gimp.GIMP

I can not uninstall GIMP flatpak using GNOME software center after I was install it from FlatHub !

Closed this issue · 2 comments

Hi. Today, just about 1 hr ago, I tried to install GIMP flatpak from FlatHub beside GIMP .rpm package which is already installed on my system from official Fedora repositories since about 5 years ago when I was on Fedora 24 ......

I installed GIMP flatpak from FlatHub using GNOME software center as GUI. I run GIMP flatpak & it worked okay after it's okay installation.

Then I tried to uninstall it using GUI (GNOME software center). I perform this but I noticed that uninstall done over eye blink period ! Usually software center show me progression of uninstall & it take some time ! So, I investigated if uninstall really or not. I saw that flatpak not removed & still on my system because it's icon is still existing in my application menu & when I click it flatpak package come to run !!

Please notice that GNOME software GUI at this stage showed me that GIMP from FlatHub now not installed on my system !!

I run "flatpak list" command to see if GIMP flatpak is still on my system or not, & it is still on my system !! - see the output bellow:


$ flatpak list
Name              Application ID        Version            Branch Installation
InVesalius        br.gov.cti.invesalius 3.1.99994          stable system
Ferdi             com.getferdi.Ferdi    5.4.3              stable system
ScanTailor Advan… ….ScanTailor-Advanced v1.0.16            stable system
AstroMenace       …iewizard.AstroMenace 1.4.1              stable system
PDF Mix Tool      …scarpetta.PDFMixTool 0.4                stable system
Gnome client for… net.jami.Jami         20191209.1.4b48135 stable system
TORCS             net.sourceforge.torcs 1.3.7              stable system
SuperTuxKart      …tuxkart.SuperTuxKart 1.1                stable system
Freedesktop.org … …freedesktop.Platform 1.6                1.6    system
Freedesktop Plat… …freedesktop.Platform 18.08.39           18.08  system
Freedesktop Plat… …freedesktop.Platform 19.08.8            19.08  system
default           ….Platform.GL.default                    19.08  system
Intel VAAPI Driv… …Platform.VAAPI.Intel                    1.6    system
Intel             …Platform.VAAPI.Intel                    18.08  system
Intel             …Platform.VAAPI.Intel                    19.08  system
FFmpeg extension  …ktop.Platform.ffmpeg                    1.6    system
html5-codecs      …latform.html5-codecs                    18.08  system
openh264          …op.Platform.openh264                    19.08  system
GNU Image Manipu… org.gimp.GIMP         2.10.18            stable system
HexGL             org.gnome.HexGL       0.2.0              stable system
GNOME Applicatio… org.gnome.Platform                       3.32   system
GNOME Applicatio… org.gnome.Platform                       3.34   system
Mint-Y-Dark Gtk … …tk3theme.Mint-Y-Dark                    3.22   system
Adwaita theme     …g.kde.KStyle.Adwaita                    5.12   system
Adwaita theme     …g.kde.KStyle.Adwaita                    5.13   system
Adwaita theme     …g.kde.KStyle.Adwaita                    5.14   system
KDE Application … org.kde.Platform                         5.12   system
KDE Application … org.kde.Platform                         5.13   system
KDE Application … org.kde.Platform                         5.14   system
Okular            org.kde.okular        1.9.2              stable system
Xonotic           org.xonotic.Xonotic   0.8.2              stable system
i2pd              website.i2pd.i2pd     2.30.0             stable system
OpenArena         ….openarena.OpenArena 0.8.8              stable system

So, I tried to remove GIMP flatpak package from terminal using "uninstall" command but it failed & show me error message - see output bellow:

$ flatpak uninstall flathub org.gimp.GIMP
error: flathub/*unspecified*/*unspecified* not installed

I tried to repair my flatpak by run:
$ sudo flatpak repair --system
then
$ flatpak repair --user
The output was as bellow:

$ sudo flatpak repair --system
Working on the system installation at /var/lib/flatpak
Verifying flathub:runtime/org.kde.KStyle.Adwaita/x86_64/5.12…
Verifying deploy/runtime/org.kde.KStyle.Adwaita/x86_64/5.14…
Verifying deploy/app/org.gnome.HexGL/x86_64/stable…
Verifying deploy/runtime/org.freedesktop.Platform.VAAPI.Intel/x86_64/1.6…
Verifying deploy/app/net.supertuxkart.SuperTuxKart/x86_64/stable…
Verifying flathub:runtime/org.freedesktop.Platform.GL.default/x86_64/19.08…
Verifying flathub:app/website.i2pd.i2pd/x86_64/stable…
Verifying deploy/runtime/org.freedesktop.Platform/x86_64/18.08…
Verifying flathub:app/ws.openarena.OpenArena/x86_64/stable…
Verifying deploy/runtime/org.freedesktop.Platform.html5-codecs/x86_64/18.08…
Verifying flathub:runtime/org.kde.KStyle.Adwaita/x86_64/5.13…
Verifying deploy/runtime/org.freedesktop.Platform.ffmpeg/x86_64/1.6…
Verifying flathub:runtime/org.freedesktop.Platform.Locale/x86_64/18.08…
Verifying flathub:runtime/org.gnome.Platform/x86_64/3.34…
Verifying deploy/app/com.getferdi.Ferdi/x86_64/stable…
Verifying flathub:runtime/org.kde.KStyle.Adwaita/x86_64/5.14…
Verifying flathub:app/org.gnome.HexGL/x86_64/stable…
Verifying flathub:runtime/org.freedesktop.Platform.VAAPI.Intel/x86_64/18.08…
Verifying flathub:app/com.getferdi.Ferdi/x86_64/stable…
Verifying flathub:app/com.github._4lex4.ScanTailor-Advanced/x86_64/stable…
Verifying deploy/app/com.viewizard.AstroMenace/x86_64/stable…
Verifying flathub:appstream2/x86_64…
Verifying flathub:app/org.gimp.GIMP/x86_64/stable…
Verifying flathub:app/com.viewizard.AstroMenace/x86_64/stable…
Verifying deploy/runtime/org.freedesktop.Platform.VAAPI.Intel/x86_64/18.08…
Verifying deploy/app/org.kde.okular/x86_64/stable…
Verifying flathub:runtime/org.freedesktop.Platform.Locale/x86_64/1.6…
Verifying deploy/app/website.i2pd.i2pd/x86_64/stable…
Verifying flathub:runtime/org.gnome.Platform.Locale/x86_64/3.32…
Verifying deploy/app/eu.scarpetta.PDFMixTool/x86_64/stable…
Verifying deploy/app/br.gov.cti.invesalius/x86_64/stable…
Verifying deploy/runtime/org.gtk.Gtk3theme.Mint-Y-Dark/x86_64/3.22…
Verifying flathub:app/net.jami.Jami/x86_64/stable…
Verifying flathub:app/org.kde.okular/x86_64/stable…
Verifying deploy/runtime/org.freedesktop.Platform.Locale/x86_64/19.08…
Verifying flathub:app/br.gov.cti.invesalius/x86_64/stable…
Verifying deploy/app/org.xonotic.Xonotic/x86_64/stable…
Verifying flathub:runtime/org.freedesktop.Platform.VAAPI.Intel/x86_64/1.6…
Verifying flathub:app/eu.scarpetta.PDFMixTool/x86_64/stable…
Verifying deploy/runtime/org.kde.Platform.Locale/x86_64/5.12…
Verifying flathub:runtime/org.gnome.Platform.Locale/x86_64/3.34…
Verifying flathub:app/net.supertuxkart.SuperTuxKart/x86_64/stable…
Verifying flathub:app/net.sourceforge.torcs/x86_64/stable…
Verifying flathub:runtime/org.kde.Platform.Locale/x86_64/5.12…
Verifying deploy/runtime/org.kde.Platform/x86_64/5.12…
Verifying flathub:runtime/org.freedesktop.Platform/x86_64/19.08…
Verifying deploy/runtime/org.kde.Platform.Locale/x86_64/5.13…
Verifying deploy/runtime/org.freedesktop.Platform.Locale/x86_64/1.6…
Verifying deploy/runtime/org.gnome.Platform.Locale/x86_64/3.32…
Verifying flathub:runtime/org.kde.okular.Locale/x86_64/stable…
Verifying flathub:runtime/org.freedesktop.Platform.openh264/x86_64/19.08…
Verifying flathub:runtime/org.kde.Platform.Locale/x86_64/5.13…
Verifying deploy/app/ws.openarena.OpenArena/x86_64/stable…
Verifying deploy/runtime/org.kde.Platform/x86_64/5.13…
Verifying deploy/runtime/org.kde.Platform.Locale/x86_64/5.14…
Verifying deploy/runtime/org.kde.okular.Locale/x86_64/stable…
Verifying flathub:runtime/org.freedesktop.Platform/x86_64/1.6…
Verifying deploy/runtime/org.freedesktop.Platform/x86_64/19.08…
Verifying flathub:runtime/org.kde.Platform.Locale/x86_64/5.14…
Verifying deploy/runtime/org.kde.Platform/x86_64/5.14…
Verifying deploy/runtime/org.gnome.Platform.Locale/x86_64/3.34…
Verifying deploy/runtime/org.gnome.Platform/x86_64/3.32…
Verifying flathub:runtime/org.kde.Platform/x86_64/5.12…
Verifying deploy/runtime/org.freedesktop.Platform.Locale/x86_64/18.08…
Verifying deploy/runtime/org.freedesktop.Platform.openh264/x86_64/19.08…
Verifying deploy/runtime/org.freedesktop.Platform.GL.default/x86_64/19.08…
Verifying flathub:runtime/org.freedesktop.Platform.ffmpeg/x86_64/1.6…
Verifying deploy/runtime/org.kde.KStyle.Adwaita/x86_64/5.12…
Verifying flathub:app/org.xonotic.Xonotic/x86_64/stable…
Verifying deploy/runtime/net.jami.Jami.Locale/x86_64/stable…
Verifying deploy/app/org.gimp.GIMP/x86_64/stable…
Verifying flathub:runtime/org.freedesktop.Platform.VAAPI.Intel/x86_64/19.08…
Verifying flathub:runtime/org.kde.Platform/x86_64/5.13…
Verifying flathub:runtime/net.jami.Jami.Locale/x86_64/stable…
Verifying deploy/app/com.github._4lex4.ScanTailor-Advanced/x86_64/stable…
Verifying flathub:runtime/org.freedesktop.Platform.html5-codecs/x86_64/18.08…
Verifying deploy/runtime/org.kde.KStyle.Adwaita/x86_64/5.13…
Verifying flathub:runtime/org.freedesktop.Platform.Locale/x86_64/19.08…
Verifying flathub:runtime/org.freedesktop.Platform/x86_64/18.08…
Verifying deploy/runtime/org.gnome.Platform/x86_64/3.34…
Verifying deploy/app/net.jami.Jami/x86_64/stable…
Verifying flathub:runtime/org.gtk.Gtk3theme.Mint-Y-Dark/x86_64/3.22…
Verifying flathub:runtime/org.gnome.Platform/x86_64/3.32…
Verifying deploy/runtime/org.freedesktop.Platform.VAAPI.Intel/x86_64/19.08…
Verifying flathub:runtime/org.kde.Platform/x86_64/5.14…
Pruning objects
Erasing .removed

$ flatpak repair --user
Working on the user installation at /home/myusername/.local/share/flatpak
Pruning objects

Then I fixed software catalog as following:
systemctl status packagekit
it show me that it is active, so I perform:
sudo rm -rf /var/cache/PackageKit/

Then reboot my system & wait till GNOME software reload the catalog. When this finished, I saw GIMP flatpak from within GNOME software center & here it show me that this package is STILL INSTALLED on my system !!

Then I tried to uninstall GIMP flatpak from terminal, but same error:

$ flatpak uninstall flathub org.gimp.GIMP
error: flathub/*unspecified*/*unspecified* not installed

Please your help to solve this problem ! Where is the bug: in your flatpak package or in flatpak itself or in GNOME software center ? How can I uninstall GIMP flatpak package from my system now ??

Hi again. I achieve success in uninstalling flatpak GIMP by terminal. It was my wrong since I typed "flathub" within uninstall command.

I run:
$ flatpak uninstall org.gimp.GIMP
& it was removed okay.
Sorry for that.

But issue remain: why GNOME software center failed to uninstall GIMP flatpak ??

I will change the title to be more appropriate. Just check from your side that the problem not from your flatpak package, so that we can close this issue & open it on flatpak GitHub repository ....

Jehan commented

Hi!

I thought I had answered this one, but I guess I forgot. Anyway no there is nothing in the flatpak package which allows us to control installation/uninstallation or whatever. If there is a bug in GNOME Software (and there are many; I have constantly issues with it of things it fails to (un)install or fail to load a package info, or other issues…) then please open a report at the GNOME software bug tracker.

So I propose to close this report because we can do nothing about your issue. Thanks!