add-apt-repository fails to identify Devuan, throws and fails
I'm using Devuan 2.0.
Thesoftware-properties-common
package has anadd-apt-repository
script in/usr/bin
. Among other things, it determines what Linux distribution you're using and prepares some sort of a template forsources.list
entries. At the moment, if you run it, it fails thusly:
# add-apt-repository whatever
Traceback (most recent call last):
... etc etc...
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Devuan/ascii
The reason is that it doesn't have patterns to match Devuan distribution names, nor defaults it could use in that case. Slight case of oversight I suppose
1 Related Merge Request
-
mentioned in commit kaut/devuan-project@0794b5d6
-
mentioned in merge request devuan-project!1
-
It can be fixed by putting python-apt templates in /usr/share/python-apt/templates
Templates present in merge request: devuan-project!1