News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

clean /usr/pluto/deb-cache

Started by Esperanto, March 15, 2014, 12:50:49 PM

Previous topic - Next topic

Esperanto

How can I clean the deb-cache? I removed a ppa but it still got the entries in pluto's deb-cache.

l3mce

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
I never quit... I just ping out.

Esperanto

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.