apacman icon indicating copy to clipboard operation
apacman copied to clipboard

Clean apacman cache

Open ramesh45345 opened this issue 10 years ago • 1 comments

I checked the apacman and apacman.conf man pages, but couldn't find this functionality. Was wondering if apacman could clean its own cache (which I know defaults to /var/cache/apacman/pkg) in addition to passing the -Sc or -Scc flags through to pacman. For example, running "apacman -Sc --noconfirm" would clean apacman's cache in addition to the pacman cache.

A workaround to provide this functionality right now is to run "pacman -Sc --cachedir=/var/cache/apacman/pkg". Pacman will actually clean the apacman cache for me, but perhaps this would be nice to have as an enhancement to apacman?

ramesh45345 avatar Oct 18 '15 01:10 ramesh45345

I upvote this. I think it should not be difficult to extended/override the option.

Doing the workaround yet works fine, but is annoying to type that whole thing. Would be a really nice addition the support of Cache clearing through apacman natively.

julianxhokaxhiu avatar Aug 07 '17 07:08 julianxhokaxhiu