On Wed, Aug 30, 2017 at 08:55:19AM +0200, Cedric BRINER wrote: > Hi, I'm looking for a way to suppress the data stored by the command apt > update.
The obvious question is: Why? What is the goal you are trying to achieve? You mention later apt-mirror troubleshooting, but that seems rather weak: Its not like that would be a very common thing to do and the "workaround" seems easy enough… > It would be nice to have something like "apt clean-update". That is a very suggestive name as everyone wants his "update to be clean". > As this was missing, I was running : rm -r /var/cache/apt/ /var/lib/apt/lists. "apt clean" removes the content of /var/cache/apt/. Clearing lists/ seems like a mistake through. Beside that the updates can usually be better/quicker performed if 'old' data is around as it can be patched it is also breaking some security aspects as apt uses the old data e.g. to prevent an attacker from serving "older but still valid" data… Best regards David Kalnischkies
signature.asc
Description: PGP signature