LinuxMCE Forums
General => Users => Topic started by: Esperanto on March 15, 2014, 12:50:49 pm
-
How can I clean the deb-cache? I removed a ppa but it still got the entries in pluto's deb-cache.
-
Delete everything and run:
dpkg-scanpackages /usr/pluto/deb-cache /dev/null | sed 's,\/usr\/pluto\/deb-cache\/,,g' | tee Packages | gzip -9c > /usr/pluto/deb-cache/Packages.gz
apt-get update
-
Delete everything
I assume you mean: rm -rf /usr/pluto/deb-cache/*
?
and run:
dpkg-scanpackages /usr/pluto/deb-cache /dev/null | sed 's,\/usr\/pluto\/deb-cache\/,,g' | tee Packages | gzip -9c > /usr/pluto/deb-cache/Packages.gz
apt-get update
that gave me:
W: Failed to fetch file:/usr/pluto/deb-cache/ubuntu-precise-i386/./Packages File not found
E: Some index files failed to download. They have been ignored, or old ones used instead.