[GLLUG] How to clear the Debian apt data without breaking the installed system?
Andy Smith
andy at bitfolk.com
Wed Nov 4 17:17:26 UTC 2015
Hi Chris,
On Wed, Nov 04, 2015 at 12:59:59PM +0000, Chris Bell wrote:
> I have Debian Stretch (testing) installed on a box which complains
> that the hash sums for some index files on a local mirror are
> incorrect, so it is unable to re-build the list for that mirror.
The actual error text would be useful.
> I can deselect the mirror in the /etc/apt/sources.list and do an
> update, then reselect it, and the complaints return.
It sounds like the mirror may have corrupted data on it though.
> Can I safely delete a cache on disc without breaking the entire
> installation?
Which cache exactly? In general it *should* be safe to delete
anything under /var/cache given its purpose. More specifically it is
safe to delete everything under /var/cache/apt/.
Cheers,
Andy
--
http://bitfolk.com/ -- No-nonsense VPS hosting
More information about the GLLUG
mailing list