:: Re: [DNG] Bug in synaptic package m…
Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: tito
Fecha:  
A: dng
Asunto: Re: [DNG] Bug in synaptic package manager?
On Tue, 25 Jan 2022 17:49:49 +0900
Olaf Meeuwissen via Dng <dng@???> wrote:

> Hi Tito,
>
> tito via Dng <dng@???> writes:
>
> > Hi,
> > while trying to open the Settings>Repositories menu in Synaptic package manager i get:
> >
> >  synaptic-pkexec
> > ERROR:root:Cannot import UbuntuDrivers: No module named 'UbuntuDrivers'
> > 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

> >
> >
> > Could this be a bug ot did I just manage to break my setup once again?
>
> Here's wondering why youu'd need UbuntuDrivers on a Devuan system but
> ... I'd try an `apt update` with root privileges on the command line
> to check that your APT sources are okay. Probably
>
> sudo apt update


Hi,
apt works for me it is just the dialog to modify, add or delete repositories in synaptic
that doesn't work as some template is missing:

aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Devuan/chimaera

I was wondering If we couldn't add this template to synaptic itself
or to software-properties-gtk package.

Ciao,
Tito

>
> will do that trick. If that goes alright (ignoring network issues), you
> didn't obviously break your APT setup.
>
> You might also want to post the output of
>
> sed 's/#.*//; /^[ \t]*$/d' /etc/apt/sources.list{,.d/*}
>
> so we can see what sources you're using.
>
> BTW, I don't use synaptic myself. Too much bloat. The command-line
> suits my needs just fine.
>
> Hope this helps,
> --
> Olaf Meeuwissen                    FSF Associate Member since 2004-01-27
>  GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
>  Support Free Software                        https://my.fsf.org/donate
>  Join the Free Software Foundation              https://my.fsf.org/join
> _______________________________________________
> Dng mailing list
> Dng@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng