anatol / pacoloco

Caching proxy server for Arch Linux pacman
MIT License
216 stars 30 forks source link

Question: Remove some packages from prefetching manually #80

Closed gary094 closed 1 year ago

gary094 commented 1 year ago

Hello!

I'd like to remove some packages manually by hand because I do no longer need them prefetched, so these packages do not take unnecessary space.

I know that ttl_unaccessed_in_days and ttl_unupdated_in_days exists, however I do not want to change this globally for each package but only for a few selected ones and just one time only.

Would the following be a viable workflow?

Focshole commented 1 year ago

The first option should disable that package from being prefetched in the future, while the second option should simply delete the existing cached package. So, you should probably do both!

gary094 commented 1 year ago

Yes sure it was meant to be done like first step delete from database then second step remove package and signature

alright, thanks then I'll try that

Focshole commented 1 year ago

alright, thanks then I'll try that

No problem, did it work?

gary094 commented 1 year ago

No problem, did it work?

Well I need to wait until this package gets updated upstream, then I know for sure whether manual removal worked. So far the last few days it has not been prefetched, which is good. Will report back once I'm certain