:: [DNG] distribution template for pyt…
Top Page
Delete this message
Reply to this message
Author: Adrian Zaugg
To: dng
Subject: [DNG] distribution template for python-apt
Devuan is missing the distribution template files Devuan.info and
Devuan.mirrors in 

This kills the cinnamon software manager with:

~$ software-properties-gtk 
Traceback (most recent call last):
  File "/usr/bin/software-properties-gtk", line 100, in <module>
    app = SoftwarePropertiesGtk(datadir=options.data_dir, options=options, 
  File "/usr/lib/python3/dist-packages/softwareproperties/gtk/
SoftwarePropertiesGtk.py", line 162, in __init__
    SoftwareProperties.__init__(self, options=options, datadir=datadir)
  File "/usr/lib/python3/dist-packages/softwareproperties/
SoftwareProperties.py", line 108, in __init__
  File "/usr/lib/python3/dist-packages/softwareproperties/
SoftwareProperties.py", line 605, in reload_sourceslist
  File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 89, in 
    raise NoDistroTemplateException(
aptsources.distro.NoDistroTemplateException: Error: could not find a 
distribution template for Devuan/daedalus

The Bug was already reported to Devuan as #33 [1] concerning "add-apt-
repository" but was never solved.

To generate the "Devuan.mirrors" file I quickly hacked a bash script, which is
attached, but I don't know how to build the second file needed "Devuan.info".
Has anyone built this file already or does know how to build it?

It would be nice if we could solve this bug an have a working python-apt
installation in Devuan.

Regards, Adrian.

[1] https://www.devuan.org/gitlab-issues/devuan.devuan-maintainers.33.html