Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3560

System and Network configuration • Does deleting the contents of /var/lib/apt/lists help

$
0
0
Hello @DebianFox,
Does deleting the contents of the directory /var/lib/apt/lists help in any way? Or is there something else that we should look at? For example a file which is say 30 days old can be deleted but others should not?
No, I does not.

Files in /var/lib/apt/lists are required by the Advanced package tool (or apt); from the apt-get manual page [1]:
[..]
--list-cleanup
This option is on by default; use --no-list-cleanup to turn it off. When it is on, apt-get will automatically
manage the contents of /var/lib/apt/lists to ensure that obsolete files are erased. The only reason to turn it
off is if you frequently change your sources list. Configuration Item: APT::Get::List-Cleanup.
[..]
/var/lib/apt/lists/
Storage area for state information for each package resource specified in sources.list(5) Configuration Item:
Dir::State::Lists.

/var/lib/apt/lists/partial/
Storage area for state information in transit. Configuration Item: Dir::State::Lists (partial will be
implicitly appended)
[..]
Please, mark the discussion as "solved" manually adding the text tag "[Solved]" at the beginning of the subject of the first message.

Thanks.

--
[1] apt-get

Statistics: Posted by Aki — 2024-12-02 15:46 — Replies 4 — Views 143



Viewing all articles
Browse latest Browse all 3560

Trending Articles