Comment 10 for bug 123062

Revision history for this message
Brian J. Murrell (brian-interlinx) wrote : Re: [Bug 123062] Re: apport-gtk crashed with AssertionError in __setitem__()

On Thu, 2007-07-26 at 14:00 +0000, Martin Pitt wrote:
> Michael, any idea why python-apt cannot figure out the source package
> here?
>
> Brial, just in case it has something to do with your apt sources: can
> you please attach your /etc/apt/sources.list here?

Surely python-apt doesn't grub through the sources.list file directly.
Is there not an apt API for getting that info?

In any case:

$ sed -e 's/#.*//' -e '/^$/d' /etc/apt/sources.list
$ ls -l /etc/apt/sources.list.d/
total 9
-rw-r--r-- 1 root root 63 2007-06-03 13:39 commerical.list
-rw-r--r-- 1 root root 86 2007-03-16 13:44 edgy-src
-rw-r--r-- 1 root root 50 2007-06-03 13:38 elisa.list
-rw-r--r-- 1 root root 50 2007-06-03 13:38 elisa.list.save
-rw-r--r-- 1 root root 616 2007-04-10 18:51 feisty
-rw-r--r-- 1 root root 610 2007-06-03 13:38 gutsy.list
-rw-r--r-- 1 root root 610 2007-06-03 13:38 gutsy.list.save
-rw-r--r-- 1 root root 239 2007-06-17 10:51 medibuntu.list
-rw-r--r-- 1 root root 240 2007-06-03 13:38 medibuntu.list.save

As you can see, I prefer to use the sources.list.d structure.

> Thank you!

NP.

b.

--
My other computer is your Microsoft Windows server.

Brian J. Murrell