0

all of these applications fail to launch on Ubuntu 20.04

Software & Updates

Additional Drivers

from a terminal I get this error when I launch software-properties-gtk

ERROR:dbus.proxies:Introspect error on :1.250:/: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying
Traceback (most recent call last):
  File "/usr/bin/software-properties-gtk", line 100, in <module>
    app = SoftwarePropertiesGtk(datadir=options.data_dir, options=options, file=file)
  File "/usr/lib/python3/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py", line 222, in __init__
    self.backend.Reload();
  File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 72, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 141, in __call__
    return self._connection.call_blocking(self._named_service,
  File "/usr/lib/python3/dist-packages/dbus/connection.py", line 652, in call_blocking
    reply_message = self.send_message_with_reply_and_block(
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name :1.250 was not provided by any .service files

here is output from running journalctl -e

Apr 18 09:32:14 oslo dbus-daemon[1078]: [system] Activating service name='com.ubuntu.SoftwareProperties' requested by ':1.210' (uid=1000 pid=26126 comm="/usr/bin/python3 /usr/bin/soft>
Apr 18 09:32:14 oslo com.ubuntu.SoftwareProperties[26141]: Unable to init server: Could not connect: Connection refused
Apr 18 09:32:14 oslo com.ubuntu.SoftwareProperties[26141]: Unable to init server: Could not connect: Connection refused
Apr 18 09:32:14 oslo dbus-daemon[1078]: [system] Successfully activated service 'com.ubuntu.SoftwareProperties'
Apr 18 09:32:14 oslo com.ubuntu.SoftwareProperties[26141]: Traceback (most recent call last):
Apr 18 09:32:14 oslo com.ubuntu.SoftwareProperties[26141]:   File "/usr/lib/software-properties/software-properties-dbus", line 68, in <module>
Apr 18 09:32:14 oslo com.ubuntu.SoftwareProperties[26141]:     server = SoftwarePropertiesDBus(bus, datadir=datadir)
Apr 18 09:32:14 oslo com.ubuntu.SoftwareProperties[26141]:   File "/lib/python3/dist-packages/softwareproperties/dbus/SoftwarePropertiesDBus.py", line 66, in __init__
Apr 18 09:32:14 oslo com.ubuntu.SoftwareProperties[26141]:     self._livepatch_service = LivepatchService()
Apr 18 09:32:14 oslo com.ubuntu.SoftwareProperties[26141]:   File "/lib/python3/dist-packages/softwareproperties/LivepatchService.py", line 93, in __init__
Apr 18 09:32:14 oslo com.ubuntu.SoftwareProperties[26141]:     self._session = requests_unixsocket.Session()
Apr 18 09:32:14 oslo com.ubuntu.SoftwareProperties[26141]: NameError: name 'requests_unixsocket' is not defined
Apr 18 09:32:24 oslo sudo[26167]:     olaf : TTY=pts/5 ; PWD=/home/olaf ; USER=root ; COMMAND=/usr/bin/apt install --reinstall python3-urllib3
Apr 18 09:32:24 oslo sudo[26167]: pam_unix(sudo:session): session opened for user root by (uid=0)
Apr 18 09:32:27 oslo sudo[26167]: pam_unix(sudo:session): session closed for user root
Apr 18 09:32:31 oslo dbus-daemon[1078]: [system] Activating service name='com.ubuntu.SoftwareProperties' requested by ':1.214' (uid=1000 pid=26317 comm="/usr/bin/python3 /usr/bin/soft>
Apr 18 09:32:31 oslo com.ubuntu.SoftwareProperties[26332]: Unable to init server: Could not connect: Connection refused
Apr 18 09:32:31 oslo com.ubuntu.SoftwareProperties[26332]: Unable to init server: Could not connect: Connection refused
Apr 18 09:32:31 oslo dbus-daemon[1078]: [system] Successfully activated service 'com.ubuntu.SoftwareProperties'
Apr 18 09:32:31 oslo com.ubuntu.SoftwareProperties[26332]: Traceback (most recent call last):
Apr 18 09:32:31 oslo com.ubuntu.SoftwareProperties[26332]:   File "/usr/lib/software-properties/software-properties-dbus", line 68, in <module>
Apr 18 09:32:31 oslo com.ubuntu.SoftwareProperties[26332]:     server = SoftwarePropertiesDBus(bus, datadir=datadir)
Apr 18 09:32:31 oslo com.ubuntu.SoftwareProperties[26332]:   File "/lib/python3/dist-packages/softwareproperties/dbus/SoftwarePropertiesDBus.py", line 66, in __init__
Apr 18 09:32:31 oslo com.ubuntu.SoftwareProperties[26332]:     self._livepatch_service = LivepatchService()
Apr 18 09:32:31 oslo com.ubuntu.SoftwareProperties[26332]:   File "/lib/python3/dist-packages/softwareproperties/LivepatchService.py", line 93, in __init__
Apr 18 09:32:31 oslo com.ubuntu.SoftwareProperties[26332]:     self._session = requests_unixsocket.Session()
Apr 18 09:32:31 oslo com.ubuntu.SoftwareProperties[26332]: NameError: name 'requests_unixsocket' is not defined

I have encountered this on several different laptops running Ubuntu 20.04 ... none of the suggestions helped as referenced in

App “Software & Updates” not responding

https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1830914

on a spanking new Ubuntu 20.04 install this works OK however after a day or two this failure starts happening ... many others share this bug ... anyone solve this ?

Scott Stensland
  • 14,755
  • 10
  • 55
  • 73

0 Answers0