24 Jun
2021
24 Jun
'21
8:38 a.m.
On 15/6/21 5:11 am, morganamilo wrote:
When using a local repo as a cachedir pacman -Scc or pacman -Sc without KeepCurrent will delete the repo database and packages resulting in a lost database and non functional pacman.
So special case file:/// repos in cache to not get nuked and foce KeepCurrent on. ---
This behaviour change is undocumented. I don't think we should do this for -Scc. That is explicitly asking all package files in cache directories to be removed, so that is what you get. I also am leaning towards this behaviour for -Sc being unexpected (even if documented). Pacman's job is really not to manage complex cache set-ups and I'm not convinced this should be supported. Allan