[PATCH] Reset changes made to the apt configuration

Ian Jackson ijackson at chiark.greenend.org.uk
Mon Oct 17 20:49:44 UTC 2011


Timo Juhani Lindfors writes ("[PATCH] Reset changes made to the apt configuration"):
> After this change running
> 
> adt-run --quiet --no-built-binaries hello_2.6-1.dsc --- adt-virt-null
> find /etc -name "*autopkgtest*"

This is a good step forwards, so I will apply it.  

But ideally I would leave these config file settings somewhere where
apt won't find them unless it's told to.  That way if adt-run crashes
for any reason, we wouldn't be relying on this cleanup code, and we
could remove it :-).

However, when I tried to do this I found I couldn't get apt to
reliably pick up all the files I needed using command line options.
I'm afraid I don't remember the details.


Thanks,
Ian.



More information about the autopkgtest-devel mailing list