How to expire local images cache instantly?
Own private repository is cached and conflicts with lxd local simplestreams cache (shows hash mismatch).
On plain installation, just emptied this:
> /var/cache/lxd/simplestreams.yaml
But now as snap, cache files are in sub folders of:
/var/snap/lxd/common/lxd/cache/
2174dd76f8860c7d04716c089cc9f02bf52fd6ca8862dc858aa83cf6af507b0c
5e0b6223c5122949d15b092365fc8b488f8a081a65e167b05f453c79a8790e73 64bfbd0d406818492958140cedfac3be5f9cce7fd130ca14fa2cd586a2b6842e
…
Somehow cant delete them in bash with:
sudo rm -r /var/snap/lxd/common/lxd/cache/*