:: Re: [DNG] Bug in synaptic package m…
Etusivu
Poista viesti
Vastaa
Lähettäjä: Olaf Meeuwissen
Päiväys:  
Vastaanottaja: dng
Aihe: Re: [DNG] Bug in synaptic package manager?
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

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