Public bug reported:

Expected: software-properties-gtk should launch properly; instead it
crashes and doesn't launch.

Out of the blue, I couldn't open Software&Updates so I checked the
output of software-properties-gtk which is:

```
WARNING:root:system-image-cli failed, using defaults: [Errno 13] Permission 
denied: 'system-ima
WARNING:root:system-image-cli failed, using defaults: [Errno 13] Permission 
denied: 'system-ima
ERROR:dbus.proxies:Introspect error on :1.159:/: 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 172, in __init__
    self.backend.Reload();
  File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 70, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 145, in __call__
    **keywords)
  File "/usr/lib/python3/dist-packages/dbus/connection.py", line 651, in 
call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The 
name :1.159 was not provided by any .service files
```

If I launch it with sudo I get circa the same output:
```
ERROR:dbus.proxies:Introspect error on :1.167:/: 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 172, in __init__
    self.backend.Reload();
  File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 70, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 145, in __call__
    **keywords)
  File "/usr/lib/python3/dist-packages/dbus/connection.py", line 651, in 
call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The 
name :1.167 was not provided by any .service files
```

Additional info:

$ uname -r
`5.3.0-51-generic`

$ dpkg -l software-properties-gtk | grep ii       
```
ii  software-properties-gtk 0.96.24.32.12 all          manage the repositories 
that you install software from (gtk)
```

$ apt-cache policy software-properties-gtk
```
software-properties-gtk:
  Installed: 0.96.24.32.12
  Candidate: 0.96.24.32.12
  Version table:
 *** 0.96.24.32.12 500
        500 http://it.archive.ubuntu.com/ubuntu bionic-updates/main amd64 
Packages
        500 http://it.archive.ubuntu.com/ubuntu bionic-updates/main i386 
Packages
        100 /var/lib/dpkg/status
     0.96.24.32.1 500
        500 http://it.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
        500 http://it.archive.ubuntu.com/ubuntu bionic/main i386 Packages
```

Release: Ubuntu 18.04.4 LTS

** Affects: software-properties (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1876726

Title:
  software-properties-gtk crashes: dbus.proxies error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1876726/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to