You are not logged in.

#1 2024-10-17 07:17:09

mint9168
Member
Registered: 2024-10-17
Posts: 1

Partially wiped /var, Flatpaks disappeared

I accidentally rm -rf'd /var instead of ls. Quickly Ctrl+C'd. Roughly 3-4% of /var was lost. Apps function normally so far but I noticed that all Flatpaks disappeared from the list of pinned apps and they are not searchable either. (GNOME) Fortunately ~/.var is alive and I see one folder for each flatpak, their names corresponding to the respective apps. e.g. com.discordapp.Discord. Does every Flatpak create a folder on ~/.var? If so, can I rebuild the database/cache/whatever you call it using this information?

Offline

#2 2024-10-17 07:21:38

mithrial
Member
Registered: 2017-03-05
Posts: 51

Re: Partially wiped /var, Flatpaks disappeared

You could recreate the folders from your backup.

I would reinstall all your Flatpak apps. Typically, Flatpak stores their information (configs, caches, etc.) in .var. There might be exceptions. But you should know which programs you installed, right?

Last edited by mithrial (2024-10-17 07:22:08)

Offline

Board footer

Powered by FluxBB