Can't add ppas anymore

Hello,

I can't add ppas anymore, I get this error message :

$sudo add-apt-repository ppa:dawidd0811/neofetch
[sudo] password for arnauld:
Traceback (most recent call last):
File "/usr/bin/add-apt-repository", line 95, in
sp = SoftwareProperties(options=options)
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 109, in init
self.reload_sourceslist()
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 599, in reload_sourceslist
self.distro.get_sources(self.sourceslist)
File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 89, in get_sources
(self.id, self.codename))
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Ubuntu/zesty

thank you for any help,

Did you install Zesty (17.04)?

Moved to the Development Discussion / 17.04 Zesty

Did you install Zesty (17.04)?

well, I uprgraded Ubuntu but had some problems while upgrading and now I am with Zesty...I wanted to get Yakkety :grin:

iirc you can’t add ppa’s on a development version of ubuntu, like 17.04.

You can add PPAs, but there is a chance they do not have packages for that development release, so no packages can be found for that release.

A workaround is to temporarially point that source to a different release, e.g. yakkety or xenial.

1 Like

Just remember that if you point lets say yakkety to xenial packages expect bad things to happen.