Subject: Re: [devuan-dev] bug#662: Re #662: fixed in src:python-apt-common-devuan version 2.3.0+devuan2

From: Boian Bonev <[email-masked]>
Date: Tue, 09 Aug 2022 23:36:30 +0300

Hi,

I am testing on chimaera - it does not have the python-apt-common-devuan in its
repo, yet.

Before:

user@host:~$ software-properties-gtk
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

Fix:

user@host:~$ wget
http://deb.devuan.org/merged/pool/DEVUAN/main/p/python-apt-common-devuan/python-apt-common-devuan_2.3.0+devuan2_all.deb
user@host:~$ sudo dpkg -i python-apt-common-devuan_2.3.0+devuan2_all.deb

After:

user@host:~$ software-properties-gtk
ERROR:root:Cannot import UbuntuDrivers: No module named 'UbuntuDrivers'

... and it works (not sure if it works properly, though)

With best regards,
b.

On Tue, 2022-08-09 at 07:21 +0100, Mark Hindley wrote:
> Control: reassign -1 python-apt-common-devuan
> 
> 
> On Mon, Aug 08, 2022 at 07:25:32PM +0200, [email-masked] wrote:
> >    In Chaemera this package is not available and on Daedalus this doesn't
> >    change anything when installed.
> 
> OK, thanks. Reassigning.
> 
> Boian, can you take a look as to wy this fix is not, or no longer working?
> 
> Thanks
> 
> Mark