#939347 flatpak: prerm/postrm scripts don't remove /var/lib/flatpak

Package:
flatpak
Source:
flatpak
Description:
Application deployment framework for desktop apps
Submitter:
Горбешко Богдан
Date:
2022-05-02 02:27:02 UTC
Severity:
normal
#939347#5
Date:
2019-09-03 19:28:47 UTC
From:
To:
Dear Maintainer,

when I purged the flatpak package, /var/lib/flatpak and all of it's
contents are still left here — 21 MB, quite a lot.

#939347#10
Date:
2022-05-02 02:24:16 UTC
From:
To:
Just installed flatpak to quickly try out an app and after purging I had
over 2GiB left in /var/lib/flatpak.

Anything which is system-installed and can be reinstalled should be purged
when a package is purged. Only user-generated content should be kept
(although there's an argument that the user should be prompted to remove
any personal settings files as well).