Public bug reported:

When wanting to add a PPA, add-apt-repository crashes with this error:
Traceback (most recent call last):
  File "/usr/bin/add-apt-repository", line 55, in <module>
    sp = SoftwareProperties()   
  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

Notice that I upgraded to Natty from Maverick. Would that be the cause
why it doesn't find a template?

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: python-software-properties 0.76.7
ProcVersionSignature: Ubuntu 2.6.36-0.4-generic-pae 2.6.36-rc7
Uname: Linux 2.6.36-0-generic-pae i686
NonfreeKernelModules: nvidia wl
Architecture: i386
Date: Thu Oct 21 17:15:14 2010
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
PackageArchitecture: all
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: software-properties

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


** Tags: apport-bug i386 natty

-- 
add-apt-repository crashes when adding a PPA
https://bugs.launchpad.net/bugs/664622
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to