Package: software-properties-gtk
Version: 0.60.debian-1.1
Severity: grave

On a newly installed Lenny system [1]:

  debian:~# software-properties-gtk
  /usr/lib/python2.5/site-packages/apt/__init__.py:18: FutureWarning: apt API 
not stable yet
    warnings.warn("apt API not stable yet", FutureWarning)
  Traceback (most recent call last):
    File "/usr/bin/software-properties-gtk", line 100, in <module>
      app = SoftwarePropertiesGtk(datadir=data_dir, options=options, file=file)
    File 
"/var/lib/python-support/python2.5/softwareproperties/gtk/SoftwarePropertiesGtk.py",
 line 75, in __init__
      SoftwareProperties.__init__(self, options=options, datadir=datadir)
    File 
"/var/lib/python-support/python2.5/softwareproperties/SoftwareProperties.py", 
line 55, in __init__
      self.reload_sourceslist()
    File 
"/var/lib/python-support/python2.5/softwareproperties/SoftwareProperties.py", 
line 450, in reload_sourceslist
      self.distro.get_sources(self.sourceslist)
    File "/usr/lib/python2.5/site-packages/aptsources/distro.py", line 85, in 
get_sources
      "Error: could not find a distribution template")
  aptsources.distro.NoDistroTemplateException

The problem disappears when the missing URI is added to sources.list:

  deb http://<mirror>/debian lenny main

which was not included by D-I (because of install being networkless).

This requires editting sources.list by hand, which defeats the purpose of
providing software-properties-gtk.

[1]
  - using D-I RC1 Multiarch DVD
  - networkless install
  - default package selection in desktop task

-- System Information:
Debian Release: 5.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.18-6-amd64 (SMP w/2 CPU cores)
Locale: LANG=ca_AD.UTF-8, LC_CTYPE=ca_AD.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to