aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Software Properties |
New
|
Undecided
|
Unassigned |
Bug Description
After upgrading to maverick, I can't use add-apt-repository anymore. The full traceback is:
Traceback (most recent call last):
File "/usr/bin/
sp = SoftwarePropert
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
raise NoDistroTemplat
aptsources.
I got this specifically with:
add-apt-repository ppa:ubuntu-
But it has happened so far for every ppa I've tried to add.
I've hitting this as well on my amd64 maverick install.
# add-apt-repository ppa:linaro- maintainers/ kernel add-apt- repository" , line 55, in <module> ies() python2. 6/dist- packages/ softwarepropert ies/SoftwarePro perties. py", line 90, in __init__ reload_ sourceslist( ) python2. 6/dist- packages/ softwarepropert ies/SoftwarePro perties. py", line 538, in reload_sourceslist distro. get_sources( self.sourceslis t) python2. 6/dist- packages/ aptsources/ distro. py", line 90, in get_sources eException( "Error: could not find a " distro. NoDistroTemplat eException: Error: could not find a distribution template
Traceback (most recent call last):
File "/usr/bin/
sp = SoftwarePropert
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
raise NoDistroTemplat
aptsources.
# ls /etc/apt/ sources. list.d sources. list.d/ overlay. list ppa.launchpad. net/linaro- maintainers/ overlay/ ubuntu maverick main
overlay.list
root@w00tstock:~# cat /etc/apt/
# sources.list part for the chessy overlay ppa
deb http://
It does appear that it partially works however trying to add other ppa's fail with the same error.