Comment 7 for bug 181342

Revision history for this message
YunQiang Su (wzssyqa) wrote :

It occur on natty again.

Traceback (most recent call last):
  File "/usr/bin/software-properties-gtk", line 112, in <module>
    app = SoftwarePropertiesGtk(datadir=options.data_dir, options=options, file=file)
  File "/usr/lib/python2.6/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py", line 86, in __init__
    SoftwareProperties.__init__(self, options=options, datadir=datadir)
  File "/usr/lib/python2.6/dist-packages/softwareproperties/SoftwareProperties.py", line 90, in __init__
    self.reload_sourceslist()
  File "/usr/lib/python2.6/dist-packages/softwareproperties/SoftwareProperties.py", line 538, in reload_sourceslist
    self.distro.get_sources(self.sourceslist)
  File "/usr/lib/python2.6/dist-packages/aptsources/distro.py", line 90, in get_sources
    raise NoDistroTemplateException("Error: could not find a "
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template

here is my source.list

deb http://tw.archive.ubuntu.com/ubuntu/ natty multiverse restricted universe main

# deb http://security.ubuntu.com/ubuntu natty-security main restricted universe

deb http://ppa.launchpad.net/sevenmachines/flash/ubuntu maverick main #flash 64

#deb http://dl.google.com/linux/deb/ stable non-free
deb http://packages.medibuntu.org/ lucid free non-free # medibuntu

deb http://mirrors.163.com/ubuntu-cn/globalmenu-team/ppa/ubuntu/ lucid main

deb http://ppa.launchpad.net/happyaron/amule-dlp/ubuntu maverick main

deb http://ppa.launchpad.net/happyaron/ppa/ubuntu/ maverick main