Bug#513039: aborts with "could not find a distribution template" - concernes python-apt, distro.py

Julian Andres Klode jak at debian.org
Mon May 25 19:54:04 UTC 2009


On Mon, May 25, 2009 at 06:17:13PM +0200, Robert Wotzlaw wrote:
> Dear Pyhton-Apt Maintainers,
> 
> please read the "Message #27" on the following address:
> 
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=513039
> 
> I hope this could help many "Software Sources menu-button" users.
> 
> Regards,
> Robert Wotzlaw 
I think it should be reassigned to python-apt, which should support:

	1. 'suite'    - e.g. 'unstable'
	2. 'codename' - e.g. 'sid'
	3. 'version'  - e.g. '5.0.1'
	4. 'su/su'    - e.g. 'testing/unstable'
	5. 'cn/cn'    - e.g. 'squeeze/sid'
	6. Combinations of 4 & 5

(5) may not be returned at all, but it still seems to be a good option
to handle such a case, and it allows us to write a more generic implementation
of combined distributions which even supports stuff like "5.0.1/lenny" =>
"stable" (a 'normalize_release' function or similar).

But is not that important, as it only breaks stuff when there is no entry in
sources.list for any recognized distribution (which only happens under special
conditions).

And it was a pain to read such a long email like "Message #27". As summary could be
"When certain values are specified in /etc/debian_version and no sources for the
distribution are included in /etc/apt/sources.list, aptsources fails to find a
distribution template.", and the quotes of the source code were not needed (we
already have it) - in short, I don't like the style of the email. But this is
just my personal opinion, and not the topic of the discussion - and it's better
to have too much instead of too less. But I would have preferred a short summary
at the beginning.
--
Julian Andres Klode  - Free Software Developer
   Debian Developer  - Contributing Member of SPI
   Ubuntu Member     - Fellow of FSFE

Website: http://jak-linux.org/   XMPP: juliank at jabber.org
Debian:  http://www.debian.org/  SPI:  http://www.spi-inc.org/
Ubuntu:  http://www.ubuntu.com/  FSFE: http://www.fsfe.org/






More information about the pkg-gnome-maintainers mailing list