Univention Bugzilla – Bug 31301
using PPA-repositories fails
Last modified: 2023-03-25 06:48:29 CET
customer-report: Using standard PPA-Ubuntu-repositories (i.e. using "sudo add-apt-repository ppa:<..>") fails with UCC, because UCC uses a non-Ubuntu-code-name ("Weser 1.0").
Noticed this today on my own notebook. add-apt-repository ppa:libreoffice/libreoffice-4-0 leads to the following traceback: Traceback (most recent call last): File "/usr/bin/add-apt-repository", line 160, in <module> sp = SoftwareProperties(options=options) File "/usr/lib/python2.7/dist-packages/softwareproperties/SoftwareProperties.py", line 96, in __init__ self.reload_sourceslist() File "/usr/lib/python2.7/dist-packages/softwareproperties/SoftwareProperties.py", line 584, in reload_sourceslist self.distro.get_sources(self.sourceslist) File "/usr/lib/python2.7/dist-packages/aptsources/distro.py", line 87, in get_sources raise NoDistroTemplateException("Error: could not find a " aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template
This is a consequence of Bug 32627, the fix depends on the outcome of that bug.
*** Bug 30534 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of bug 32627 ***
Verified duplicate, solved by Bug 32627