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
Quote from: l3mce on March 17, 2014, 03:18:04 PM
Delete everything
I assume you mean: rm -rf /usr/pluto/deb-cache/*
?
Quote from: l3mce on March 17, 2014, 03:18:04 PM
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.