Package: mmdebstrap Version: 0.7.5-2 Severity: wishlist X-Debbugs-Cc: vagr...@debian.org
I cannot seem to find a straightforward option to keep apt Packages files in /var/lib/apt/lists/ ... If I use --skip=cleanup/apt it does keep the Packages files in /var/lib/apt/lists, but also leaves the .deb files in /var/cache/apt/, which is largely undesireable for several use-cases. Using --customize-hook to run apt-get update occurs after the cleanup steps are run... I guess this wouldn't be too bad (untested): mmdebstrap ... --skip=cleanup/apt \ --customize-hook='chroot "$1" apt-get clean' But then maybe cleanup/apt might someday implement some other feature I might miss out on by doing this... If it doesn't make sense to implement this as a specific option in mmdebstrap, at least documenting options to achieve this seems appropriate. I can see several use-cases where you might want the Packages files to stay around while cleaning the .deb files from the cache (e.g. sbuild, creating an OS image or live image). Thanks so much for mmdebstrap; a very nice tool! live well, vagrant
signature.asc
Description: PGP signature