cancel
Showing results for 
Search instead for 
Did you mean: 

FLATPAK updates query

FIXED
shutter
Community Veteran
Posts: 22,295
Thanks: 3,811
Fixes: 66
Registered: ‎06-11-2007

FLATPAK updates query

Linux Mint 21.3 Virginia....

I keep getting notifications of FLATPAK updates which inform me that it will take up 1.6GB of disk space on my HDD.

 

 

FLatpak updates.png

 

I have a 500GB hdd installed, of which , currently it is almost half full. 

 

In the past few weeks I have seen several of these "flatpak" updates ( and installed them ) . but I have no idea what they do, or if I need them.... !     Assuming I get 1 per week for the rest of the year...  (35 weeks 4 days to Jan 1st 2025) then the updates will take up ANOTHER 56GB on my hdd .

Is there any way of getting rid of "old" flatpak updates, or does the new update overwrite the previous one ?   from the notice, it seems that they do not...but, I just wondered how I can make space on the hdd which may well be redundant due to the newer updates.

 

15 REPLIES 15
dvorak
Moderator
Moderator
Posts: 29,716
Thanks: 6,593
Fixes: 1,485
Registered: ‎11-01-2008

Re: FLATPAK updates query

Flatpak is just a distribution mechanism, so it's an installation package for the bit in bold.
Customer / Moderator
If it helped click the thumb
If it fixed it click 'This fixed my problem'
shutter
Community Veteran
Posts: 22,295
Thanks: 3,811
Fixes: 66
Registered: ‎06-11-2007

Re: FLATPAK updates query

@dvorak  OK... so what about all  the ( cumulative ) 1.6GB disk space that is used everytime it updates...  ?????

 

 

RobPN
Seasoned Hero
Posts: 5,231
Thanks: 2,755
Fixes: 13
Registered: ‎17-05-2013

Re: FLATPAK updates query

As is often the case, Mr Google has many answers if you ask him.

e.g. Flatpak updates

other search terms are possible.

TheRoadCrew
Aspiring Pro
Posts: 155
Thanks: 52
Fixes: 10
Registered: ‎14-05-2017

Re: FLATPAK updates query


@shutter wrote:

[...]

In the past few weeks I have seen several of these "flatpak" updates ( and installed them ) . but I have no idea what they do, or if I need them.... ! 


Perhaps start by looking at what flatpaks are installed with

$ flatpak list

That should give you a better idea if they've been installed by you or Mint and whether you want / need them.

I generally avoid flatpaks and snaps but on this Fedora / GNOME install some flatpaks are installed by default, including

$ flatpak info org.kde.Platform

KDE Application Platform - Shared libraries used by KDE applications

          ID: org.kde.Platform
         Ref: runtime/org.kde.Platform/x86_64/5.15-23.08
        Arch: x86_64
      Branch: 5.15-23.08
     License: GPL-2.0+
      Origin: flathub
  Collection: org.flathub.Stable
Installation: system
   Installed: 910.1 MB

At 910.1 MB that doesn't seem to be the cause of your problem.

it's worth looking at the output of

$ flatpak uninstall --unused

to see what options that gives you.

 

shutter
Community Veteran
Posts: 22,295
Thanks: 3,811
Fixes: 66
Registered: ‎06-11-2007

Re: FLATPAK updates query

@TheRoadCrew  Thank you for your very informative and helpful reply.

machine is ASUS ROG 752VW

 

laptop system monitor details.png

 

the instruction   " flatpak list " gives the following

 

flatpak list.png

The instruction " flatpak uninstalled -- unused " gives the following

flatpak uninstall unused.png

 

So, it seems that there is nothing to be concerned about..  but still does not clear up the  1.6 GB question...

Thank you for your time.

 

Mr_Paul
Seasoned Pro
Posts: 714
Thanks: 229
Fixes: 12
Registered: ‎07-06-2022

Re: FLATPAK updates query

I also run Linux Mint, and have a related question:

Are these three packages all separate from each other and therefore all required, or is the last one the most up to date and the other two redundant?

nvidia-535-154-05

nvidia-535-161-07

nvidia-535-171-04

I tried a web search, but TBH, didn't really understand the answers.

They are all described as "Linux x64 (AMD64/EM64T) Display Driver".

 

 

shutter
Community Veteran
Posts: 22,295
Thanks: 3,811
Fixes: 66
Registered: ‎06-11-2007

Re: FLATPAK updates query

@Mr_Paul  Yup .... Agree with you.   from the titles, it seems like they are "newer" versions ... but from the  instruction previous about uninstall, it also appears that they are separate.

I think the previous "update" notification, said that they were all going to be updated.

So confusion, does, indeed, reign, regarding them.

 

MisterW
Superuser
Superuser
Posts: 16,201
Thanks: 6,182
Fixes: 447
Registered: ‎30-07-2007

Re: FLATPAK updates query

ISTR that when I was running a Ubuntu system with an Nvidia graphics card it was possible to select a specific version of the nvidia driver using the 'Additional hardware' wizard. Different versions seemed to 'play' better with certain cards and versions of linux. SO it was always useful to have the packages for multiple versions installed.

Superusers are not staff, but they do have a direct line of communication into the business in order to raise issues, concerns and feedback from the community.

Mr_Paul
Seasoned Pro
Posts: 714
Thanks: 229
Fixes: 12
Registered: ‎07-06-2022

Re: FLATPAK updates query

@MisterW 

When I run Mint's Driver Manager, theScreenshot from 2024-04-28 13-19-12.png is the result:

 

So only one version of nvidia-driver-535

 

 

TheRoadCrew
Aspiring Pro
Posts: 155
Thanks: 52
Fixes: 10
Registered: ‎14-05-2017

Re: FLATPAK updates query


@shutter wrote:

@TheRoadCrew  Thank you for your very informative and helpful reply.

machine is ASUS ROG 752VW

 

laptop system monitor details.png


I would expect a Republic Of Gamers machine to have discrete (Nvidia) graphics yet yours only reports the integrated Intel graphics hardware. It's conceivable Nvidia could be disabled in BIOS or otherwise powered off but I'd be interested to know the output of 

$ inxi -G

You have multiple Nvidia runtime flatpaks installed which are reportedly unused but 'pinned' to prevent removal.

Installing one of them here I see

$ flatpak install runtime/org.freedesktop.Platform.GL.nvidia-535-171-04/x86_64/1.4
Looking for matches…


        ID                                             Branch  Op  Remote   Download
 1. [✓] org.freedesktop.Platform.GL.nvidia-535-171-04  1.4     i   flathub  342.6 MB / 342.6 MB

Installation complete.

 
Assuming the three you have installed are roughly the same size, upgrades to them would take you a long way to 1.6 GB.

If they genuinely aren't being used, you could 'unpin' each as in

$ flatpak pin --remove runtime/org.freedesktop.Platform.GL.nvidia-535-171-04/x86_64/1.4

 followed by

$ flatpak uninstall --unused

 I suspect they've been pinned because there are dependencies involved - removing them will probably cause other flatpaks to be removed. 

shutter
Community Veteran
Posts: 22,295
Thanks: 3,811
Fixes: 66
Registered: ‎06-11-2007

Re: FLATPAK updates query

@TheRoadCrew  & @Mr_Paul  Thanks to both for input....

here is the result of    inxi -G

 

inxi -g result.png

 

 

 And on suggestion from @Mr_Paul   Here is a pic of the Driver Manager

 

nvidia driver manager.png

 

 This laptop was "gifted" to me, by another PN user... and is not used for gaming, or anything that specifically needs ( I assume ) Nvidia graphics...  used for basic surfing... watching YouTube vids and not much else.   I do have a USB DVBT tv slotted in, and watch live Freeview on that, which saves running a telly at the same time !.

Not connected to any Neflix or subscription services.

Before going any further, I shall await your comments on the above,

Thanks for your time

 

TheRoadCrew
Aspiring Pro
Posts: 155
Thanks: 52
Fixes: 10
Registered: ‎14-05-2017

Re: FLATPAK updates query

Fix

@shutter wrote:

[...]

This laptop was "gifted" to me, by another PN user... and is not used for gaming, or anything that specifically needs ( I assume ) Nvidia graphics...  used for basic surfing... watching YouTube vids and not much else.   I do have a USB DVBT tv slotted in, and watch live Freeview on that, which saves running a telly at the same time !.

Not connected to any Neflix or subscription services.


If you're not actively using the Nvidia chip I'd suggest switching to the Nouveau driver. Reboot and if everything is working to your satisfaction look at removing the Nvidia runtime flatpaks.

shutter
Community Veteran
Posts: 22,295
Thanks: 3,811
Fixes: 66
Registered: ‎06-11-2007

Re: FLATPAK updates query

@TheRoadCrew  Thankyou for the instruction !.. have been to Driver Manager and selected the Nouveau driver, and done a reboot...

driver manager.png

 

And after Re-Boot

 

driver manager after reboot.png

 

 

Will set about removing the flatpaks later on this evening

 

Thanks very much for your help.... Much Appreciated.  Smiley

 

 

shutter
Community Veteran
Posts: 22,295
Thanks: 3,811
Fixes: 66
Registered: ‎06-11-2007

Re: FLATPAK updates query

@TheRoadCrew   Just to finalize, and complete the thread... I have now completed the uninstalls of the Nvidia drivers. and the laptop is performing as well as before.

So... Thank you for your time, your instructions and your assistance in doing all this. Smiley