softoware-properties fails and ubuntu distribution template shows debian

Bug #251005 reported by nanog
2
Affects Status Importance Assigned to Milestone
software-properties (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Software properties-gtk fails

/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 101, in <module>
    app = SoftwarePropertiesGtk(datadir=data_dir, options=options, file=file)
  File "/usr/lib/python2.5/site-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py", line 75, in __init__
    SoftwareProperties.__init__(self, options=options, datadir=datadir)
  File "/usr/lib/python2.5/site-packages/softwareproperties/SoftwareProperties.py", line 78, in __init__
    self.reload_sourceslist()
  File "/usr/lib/python2.5/site-packages/softwareproperties/SoftwareProperties.py", line 516, 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

It seems my Ubuntu 8.04.1 x64 install is not read as:

impey@tikal:~$ lsb_release -rd
Description: Debian GNU/Linux lenny/sid (None)
Release: lenny/sid

:~$ uname -a
2.6.24-19-generic #1 SMP Fri Jul 11 21:01:46 UTC 2008 x86_64 GNU/Linux

:~$ dpkg -l software-properties-gtk
ii software-properties-gtk 0.63ubuntu1 manage the repositories that you install software from

Revision history for this message
nanog (sorenimpey) wrote :

Close bug. Unfortunately I wiped hardy.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

as you wish, thanks.

Changed in software-properties (Ubuntu):
status: New → Invalid
Revision history for this message
Jarkko Lietolahti (jarkko-jab) wrote :

With 9.10 Synaptic Settings -> Repositories fails with message in the log;

jarkko@gandalf:~$ sudo LANG=C synaptic
Traceback (most recent call last):
  File "/usr/bin/software-properties-gtk", line 104, in <module>
    app = SoftwarePropertiesGtk(datadir=data_dir, options=options, file=file)
  File "/usr/lib/python2.6/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py", line 75, in __init__
    SoftwareProperties.__init__(self, options=options, datadir=datadir)
  File "/usr/lib/python2.6/dist-packages/softwareproperties/SoftwareProperties.py", line 83, in __init__
    self.reload_sourceslist()
  File "/usr/lib/python2.6/dist-packages/softwareproperties/SoftwareProperties.py", line 521, 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

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.