• Devuan project
  • Devuan Maintainers
  • Issues
  • #33

Closed
Open
Opened 2018-07-01T12:45Z by Eyal Rozenberg @eyalroz

add-apt-repository fails to identify Devuan, throws and fails

I'm using Devuan 2.0.

Thesoftware-properties-commonpackage has anadd-apt-repositoryscript in/usr/bin. Among other things, it determines what Linux distribution you're using and prepares some sort of a template forsources.listentries. 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

Please solve the reCAPTCHA

We want to be sure it is you, please confirm you are not a robot.

1 Related Merge Request

  • !1 FIX: add-apt-repository fails to identify Devuan, throws and fails in Devuan project / devuan-project Open
  • Maksim Kaut @kaut mentioned in commit kaut/devuan-project@0794b5d6 · 2019-02-19T13:55Z

    mentioned in commit kaut/devuan-project@0794b5d6

  • Maksim Kaut @kaut mentioned in merge request devuan-project!1 · 2019-02-19T14:00Z

    mentioned in merge request devuan-project!1

  • Maksim Kaut
    Maksim Kaut @kaut · 2019-02-19T14:34Z

    It can be fixed by putting python-apt templates in /usr/share/python-apt/templates

    Templates present in merge request: devuan-project!1