The documentation on "clean" is poor: You have to explicitly enable it by adding one or more lines like this to your /etc/apt/mirror.list:
> clean http://ftp.de.debian.org/debian/ The URL should match the URL used by your other "deb" statements, which is translated by apt-mirror to a path relative to your "$mirror_path". apt-mirror will then recursively crawl that directory recursively and remove any file not mentioned in "$var_path/ALL". So using something like > clean http://ftp.de.debian.org/debian/pool/main/d would only remove files below that starting point. So this is "not-a-bug" as you have not enabled apt-mirror to do the crawling. -- Philipp Hahn Open Source Software Engineer Univention GmbH be open. Mary-Somerville-Str. 1 D-28359 Bremen 📞 +49-421-22232-57 🖶 +49-421-22232-99 ✉️ h...@univention.de 🌐 https://www.univention.de/ Geschäftsführer: Peter H. Ganten HRB 20755 Amtsgericht Bremen Steuer-Nr.: 71-597-02876