linuxmint / mintupdate

The Linux Mint Update Manager
309 stars 152 forks source link

Incorrectly estimated required disk space for Flatpak's app. #819

Closed kacperpaczos closed 1 year ago

kacperpaczos commented 1 year ago

Mintiupdate does not calculate the required disk space correctly for Flatpak applications.

I estimated the required space to be 8 GiB (deb+flatpak), while only 1.2 GiB is being used. signal-2023-06-08-002353_002 signal-2023-06-08-002353_003

https://github.com/linuxmint/mintinstall/issues/368

Tibladar commented 1 year ago

The download size comes from flatpak itself, mintupdate just displays it. The same sizes are shown when using flatpak update except there's a < before them indicating it's less

kacperpaczos commented 1 year ago

How did you perform the tests in the CLI? Did you try to install/upgrade the application, or did you use an existing command to calculate the required disk space?

Tibladar commented 1 year ago

The number in Mintupdate and flatpak update is the size that need to be downloaded at most, not the amount of hard drive space required.

mtwebster commented 1 year ago

This is frustrating but unfortunately it's all we get currently - the flatpak file/package structure makes use of partial updates and deduplication that I'm not sure is visible to flatpak itself when determining sizes, so it can't be 100% accurate about how much is being transferred.