:: [devuan-dev] bug#662: bug#662: soft…
Pàgina inicial
Delete this message
Reply to this message
Autor: tito
Data:  
A: devuan-dev
CC: Elliot, 662
Assumpte: [devuan-dev] bug#662: bug#662: software-properties-gtk: does not start due to lack of devuan distro template
On Sun, 30 Jan 2022 18:39:50 -0500
Elliot <TrueTechie@???> wrote:

> Package: software-properties-gtk
> Version: 0.96.20.2-2.1
> Severity: normal
> X-Debbugs-Cc: TrueTechie@???
>
> Dear Maintainer,
>
> When launching software-properties-gtk, the program produces an error
> saying that it does not have a proper template for Devuan Chimera. It
> seems that it just needs one to be implemented and/or patched in, but I
> am not sure about this.
>
> Full Python Traceback:
> Traceback (most recent call last):
>   File "/usr/bin/software-properties-gtk", line 101, in <module>
>     app = SoftwarePropertiesGtk(datadir=options.data_dir, options=options, file=file)
>   File "/usr/lib/python3/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py", line 109, in __init__
>     SoftwareProperties.__init__(self, options=options, datadir=datadir)
>   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 91, in get_sources
>     raise NoDistroTemplateException(
> aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Devuan/chimaera

>
>
> -- System Information:
> Distributor ID:    Devuan
> Description:    Devuan GNU/Linux 4 (chimaera)
> Release:    4
> Codename:    chimaera
> Architecture: x86_64

>
> Kernel: Linux 5.10.0-11-amd64 (SMP w/12 CPU threads)
> Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
> Shell: /bin/sh linked to /bin/dash
> Init: OpenRC (via /run/openrc), PID 1: init
> LSM: AppArmor: enabled
>
> Versions of packages software-properties-gtk depends on:
> ii  gir1.2-gtk-3.0               3.24.24-4
> ii  python3                      3.9.2-3
> ii  python3-gi                   3.38.0-2
> ii  python3-software-properties  0.96.20.2-2.1
> ii  software-properties-common   0.96.20.2-2.1

>
> software-properties-gtk recommends no packages.
>
> Versions of packages software-properties-gtk suggests:
> pn gnome-software <none>
>
> -- no debconf information
> _______________________________________________
> devuan-dev internal mailing list
> devuan-dev@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/devuan-dev


Hi,
the templates should be add to:

Package: python-apt-common (2.2.1)

I think it should be possible to add them directly to the original debian
package as they do ship some templates for derivative distributions

/usr/share/python-apt/templates/Blankon.info
/usr/share/python-apt/templates/Blankon.mirrors
/usr/share/python-apt/templates/Debian.info
/usr/share/python-apt/templates/Debian.mirrors
/usr/share/python-apt/templates/Kali.info
/usr/share/python-apt/templates/Kali.mirrors
/usr/share/python-apt/templates/Tanglu.info
/usr/share/python-apt/templates/Tanglu.mirrors
/usr/share/python-apt/templates/Ubuntu.info
/usr/share/python-apt/templates/Ubuntu.mirrors
/usr/share/python-apt/templates/gNewSense.info
/usr/share/python-apt/templates/gNewSense.mirrors

Attached you will find some templates that were posted to dng@???
by tempforever that allow software-properties-gtk to run but there were concerns
about the correctness of the contents.
It would be best if the template files would be reviewed by the people
who is running the devuan repositories as they know best.

Ciao,
Tito