Bug#513039: Removing /etc/debian_version and /etc/apt/sources.list reproduces the bug

Thadeu Lima de Souza Cascardo cascardo at minaslivre.org
Wed Jan 28 02:56:46 UTC 2009


I could only reproduce the bug removing /etc/debian_version as well as
/etc/apt/sources.list.

Thing is, aptsources.distro from python-apt, has a function, get_distro,
which uses lsb_release to get the system codename. lsb_release will give
it 'n/a' as the codename and it will not match any of the templates
found in /usr/share/python-apt/templates/.

I think the installer should install /etc/debian_version properly and
this should be reassigned to the debian-installer, if the reporter
confirms there was no /etc/debian_version after the installation.

Regards,
Cascardo.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20090128/57cc1509/attachment.pgp 


More information about the pkg-gnome-maintainers mailing list