This is what you get when trying to launch "software-properties-gtk", as a regular user (as it should be):
jeff@PureOS-vm:~$ 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 93, in get_sources (self.id, self.codename)) aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for PureOS/n/a
As a super-user, from a terminal within a normal user session with Wayland, you get:
root@PureOS-vm:/home/jeff# software-properties-gtk No protocol specified ** (software-properties-gtk:2029): WARNING **: Could not open X display 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 93, in get_sources (self.id, self.codename)) aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for PureOS/n/a root@PureOS-vm:/home/jeff#