[Bug 664622] Re: add-apt-repository crashes when adding a PPA

Robert Roth evfool at gmail.com
Sat Feb 11 03:08:39 UTC 2012


*** This bug is a duplicate of bug 874329 ***
    https://bugs.launchpad.net/bugs/874329

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug #874329, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find. 
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

** This bug has been marked a duplicate of bug 874329
   software-properties-gtk crashed with NoDistroTemplateException in get_sources(): Error: could not find a distribution template when Ubuntu.info is out of date

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to software-properties in Ubuntu.
https://bugs.launchpad.net/bugs/664622

Title:
  add-apt-repository crashes when adding a PPA

Status in “software-properties” package in Ubuntu:
  New

Bug description:
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/664622/+subscriptions




More information about the foundations-bugs mailing list