Any way to restore or fast reinstall an installed flatpak?

Alexander Larsson alexl at redhat.com
Tue Apr 3 08:13:48 UTC 2018


By the way, when you do something like this, make sure you replace the
file you're editing, rather than edit it in place, because the files
in ~/.local/share/flatpak/runtime/... are hardlinked to the ostree
repo, so an in-place change will break the ostree repo.

Most tools like e.g. editors do this, but some might not.

On Tue, Apr 3, 2018 at 8:29 AM, Robin Lee <robinlee.sysu at gmail.com> wrote:
> On Tue, Apr 3, 2018 at 2:17 PM, Bartłomiej Piotrowski <b at bpiotrowski.pl> wrote:
>> On 2018-04-02 18:53, Robin Lee wrote:
>>> Hi,
>>>
>>> I deleted and modified some files under
>>> ~/.local/share/flatpak/runtime/org.freedesktop.Platform/x86_64/1.6/active/files/
>>> .
>>> Is there any special method to restore the original whole tree of an
>>> installed flatpak?
>>>
>>> -robin
>>> _______________________________________________
>>> Flatpak mailing list
>>> Flatpak at lists.freedesktop.org
>>> https://lists.freedesktop.org/mailman/listinfo/flatpak
>>>
>>
>> flatpak install --reinstall org.freedesktop.Platform//1.6 should do that.
> Thanks! I missed this since it is not in the man page (0.10.4).
>>
>> Bartłomiej
> _______________________________________________
> Flatpak mailing list
> Flatpak at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/flatpak



-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                Red Hat, Inc
       alexl at redhat.com         alexander.larsson at gmail.com


More information about the Flatpak mailing list