Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

Flatpak removal

Message
Author
User avatar
richb
Administrator
Posts: 17250
Joined: Wed Jul 12, 2006 2:17 pm

Flatpak removal

#1 Post by richb » Thu Nov 01, 2018 9:33 am

How does one remove flatpak without removing mx package installer, mx apps and mx packagelist which want to go with it? Taking up a lot of disk space and space is starting to get lean in /.
Forum Rules
Guide - How to Ask for Help

Rich
SSD Production: MX 17.1
AMD A8 7600 FM2+ CPU R7 Graphics, 16 GIG Mem. Three Samsung EVO SSD's 250 GB, 350 GB HD

User avatar
fehlix
Forum Guide
Forum Guide
Posts: 2068
Joined: Wed Apr 11, 2018 5:09 pm

Re: Flatpak removal

#2 Post by fehlix » Thu Nov 01, 2018 9:55 am

richb wrote:
Thu Nov 01, 2018 9:33 am
How does one remove flatpak without removing mx package installer, mx apps and mx packagelist which want to go with it? Taking up a lot of disk space and space is starting to get lean in /.
Suggest we shall make it optional and by this only installed on request and be enabled to be fully uninstalled.
This would require a couple of changes within at least mx package installer and mx-apps meta-package.
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

User avatar
Adrian
Forum Veteran
Forum Veteran
Posts: 9026
Joined: Wed Jul 12, 2006 1:42 am

Re: Flatpak removal

#3 Post by Adrian » Thu Nov 01, 2018 10:06 am

I see flatpak is 715 kB, is this really what you want to get rid off? Maybe you have some packages or environments installed...

User avatar
richb
Administrator
Posts: 17250
Joined: Wed Jul 12, 2006 2:17 pm

Re: Flatpak removal

#4 Post by richb » Thu Nov 01, 2018 10:14 am

I was not precise enough MX cleanup utility, disk usage analyzer shows /var/lib/flatpack at 2.0 GB.

EDIT: Perhaps just removing that folder would work without impacting anything else
Forum Rules
Guide - How to Ask for Help

Rich
SSD Production: MX 17.1
AMD A8 7600 FM2+ CPU R7 Graphics, 16 GIG Mem. Three Samsung EVO SSD's 250 GB, 350 GB HD

User avatar
asqwerth
Forum Veteran
Forum Veteran
Posts: 3488
Joined: Sun May 27, 2007 5:37 am

Re: Flatpak removal

#5 Post by asqwerth » Thu Nov 01, 2018 10:43 am

That's because you must have tested installing a flatpak app, removed it, but forgot to also Uninstall the runtime (environment) that was installed with the app. Open mxpi, go to flatpak tab, filter to installed runtimes and remove all found there.

For what it's worth, my original proposal was for flatpak program not to be preinstalled and for mxpi to ask you, when you click on the flatpak tab, whether you would like to install the flatpak program and flathub repo.

Just like when you click on "splash" in mx boot options, it asks if you want to install Plymouth and the themes.

ADDED: but once you uninstall all runtimes, flatpak program is very small.
Last edited by asqwerth on Thu Nov 01, 2018 10:45 am, edited 1 time in total.
Desktop: Intel i5-4460, 16GB RAM, Intel integrated graphics
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400

User avatar
dolphin_oracle
Forum Veteran
Forum Veteran
Posts: 9655
Joined: Sun Dec 16, 2007 1:17 pm

Re: Flatpak removal

#6 Post by dolphin_oracle » Thu Nov 01, 2018 10:44 am

richb wrote:
Thu Nov 01, 2018 10:14 am
I was not precise enough MX cleanup utility, disk usage analyzer shows /var/lib/flatpack at 2.0 GB.

EDIT: Perhaps just removing that folder would work without impacting anything else
I suspect you still have flatpaks installed perhaps. maybe some runtimes.

**EDIT** asqwerth got in ahead of me :happy:
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad T530 - MX-17
lenovo s21e & 100s - antiX-17, MX17(live-usb)
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
richb
Administrator
Posts: 17250
Joined: Wed Jul 12, 2006 2:17 pm

Re: Flatpak removal

#7 Post by richb » Thu Nov 01, 2018 12:40 pm

It was the runtime. Yes, flatpak itself is small it is the everything else it brings in. Glad it is gone never to return.
Forum Rules
Guide - How to Ask for Help

Rich
SSD Production: MX 17.1
AMD A8 7600 FM2+ CPU R7 Graphics, 16 GIG Mem. Three Samsung EVO SSD's 250 GB, 350 GB HD

User avatar
oops
Forum Regular
Forum Regular
Posts: 424
Joined: Tue Apr 10, 2018 5:07 pm

Re: Flatpak removal

#8 Post by oops » Thu Nov 01, 2018 2:10 pm

richb wrote:
Thu Nov 01, 2018 10:14 am
I was not precise enough MX cleanup utility, disk usage analyzer shows /var/lib/flatpack at 2.0 GB.

EDIT: Perhaps just removing that folder would work without impacting anything else
Hello,
Or you can do that:

Code: Select all

sudo flatpak remote-delete flathub
I had the same concern:
viewtopic.php?f=101&t=46375&start=20#p461037
$ inxi -Fxxxz : System: Host:XEON ... Distro: MX-17.1_x64 Horizon

User avatar
asqwerth
Forum Veteran
Forum Veteran
Posts: 3488
Joined: Sun May 27, 2007 5:37 am

Re: Flatpak removal

#9 Post by asqwerth » Thu Nov 01, 2018 9:22 pm

Surely that only removes the flathub repo but won't remove any runtimes already installed from there?
Desktop: Intel i5-4460, 16GB RAM, Intel integrated graphics
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400

User avatar
richb
Administrator
Posts: 17250
Joined: Wed Jul 12, 2006 2:17 pm

Re: Flatpak removal

#10 Post by richb » Thu Nov 01, 2018 9:59 pm

asqwerth wrote:
Thu Nov 01, 2018 9:22 pm
Surely that only removes the flathub repo but won't remove any runtimes already installed from there?
From further research I did I beleive that is the case. Removing the runtimes through the MX Package manager flathub tab dialog does get rid of them. Then removing flathub and the app that I tested, in this case avidemux, was effective, restoring about 2 Gigs of free space.
Forum Rules
Guide - How to Ask for Help

Rich
SSD Production: MX 17.1
AMD A8 7600 FM2+ CPU R7 Graphics, 16 GIG Mem. Three Samsung EVO SSD's 250 GB, 350 GB HD

Post Reply

Return to “Software / Configuration”