Re: python-apt problem
On Wed, 23 Mar 2005 14:54:17 +0100, Michael Vogt <firstname.lastname@example.org> wrote:
> Does "Dir::Etc::SourceList" point to a sources.list file in your
> myapt.conf file? Have you checked with:
> "strace -e trace=open python your_script.py" that it acutally opens
> the correct one? I did a quick check here and it seems to work.
That's a nice trick. It opens the correct apt.conf file. But I can't
see it trying to open the sources.list file. I've verified that my
apt.conf points to an existing file.
I'd like to dump the configuration from inside the python script but I
don't know how to do that.