[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Why is /var/lib/apt/lists not in /var/cache?



On 16/12/2023 22:59, Stefan Monnier wrote:
AFAICT, all of `/var/lib/apt/lists` is made of files fetched from
repositories, which APT will re-fetch if missing.
So, it sounds to me like it belongs in `/var/cache/apt/lists`, really.

APT running by a regular user is unable to write to /var/cache/apt. E.g. DNF creates cache in the user home directory in such cases. I like APT approach since (at least with default settings) search queries work without delay while repository data is being updated. (I am realizing that I may get stale results.)

So for APT lists are a bit more than just cache.


Reply to: