Public bug reported:

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:

[EMAIL PROTECTED]:~$ 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

** Affects: software-properties (Ubuntu)
     Importance: Undecided
         Status: New

-- 
softoware-properties fails and ubuntu distribution template shows debian 
https://bugs.launchpad.net/bugs/251005
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to