Unable to open software-properties-gtk


#1

If I go into gnome-software > menu > software repositories

Nothing happens.

If I try : software-properties-gtk

in the terminal, I get:

No protocol specified
Unable to init server: Could not connect: Connection refused
No protocol specified
Unable to init server: Could not connect: Connection refused
ERROR:root:Cannot import UbuntuDrivers: No module named ‘UbuntuDrivers’
Traceback (most recent call last):
File “/usr/bin/software-properties-gtk”, line 101, in
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/green

Trying to purge and reinstall the package doesn’t work. I probably screwed up somewhere, would appreciate any help.


App store "Software" disappeared after pureOS update
#2

I’m having the same issue right after a fresh install of PureOS and its update.

Seems to be a bug.


#3

Please report the bug to our issue tracker.

Prior to that, perform a full upgrade:

sudo apt update && sudo apt full-upgrade


#4

Somebody reported it already: https://tracker.pureos.net/T660

sudo apt update && sudo apt full-upgrade

hasn’t solved it for me.


#5

Has anybody found any way to fix this? sudo apt update && sudo apt full-upgrade doesn’t fix it.