cjwatson@germanium:~/exp/rtm$ cp -a /srv/ddebs.ubuntu.com/www/ubuntu-rtm/.cache/db .
cjwatson@germanium:~/exp/rtm$ cat apt-cleanup.conf
Dir {
ArchiveDir "/srv/ddebs.ubuntu.com/www/ubuntu-rtm";
CacheDir ".";
}
Default {
Packages::Extensions ".ddeb";
}
TreeDefault {
Directory "/srv/ddebs.ubuntu.com/www/ubuntu-rtm/pool";
SrcDirectory "/srv/ddebs.ubuntu.com/www/ubuntu-rtm/pool";
BinCacheDB "db";
FileList "$(SECTION)-$(ARCH)";
}
Tree "dists/nonexistent-suite" {
Sections "main restricted universe multiverse";
Architectures "amd64 armhf i386 source";
}
cjwatson@germanium:~/exp/rtm$ time apt-ftparchive clean apt-cleanup.conf
db
real 0m0.419s
user 0m0.212s
sys 0m0.200s
cjwatson@germanium:~/exp/rtm$ ls -l
total 12
-rw-r--r-- 1 cjwatson warthogs 428 Apr 1 15:28 apt-cleanup.conf
-rw-r--r-- 1 cjwatson ddebs 8192 Apr 1 15:28 db