software-properties-gtk fails to launch via "Additional Drivers" or via terminal

Bug #1860504 reported by Sebastian Straszak
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
software-properties (Ubuntu)
New
Low
Unassigned

Bug Description

Issue present since reinstall of Ubuntu. Originally thought similar to (https://askubuntu.com/questions/789966/software-updates-crashes-and-will-not-open) but solutions did not work, even though terminal output (https://pastebin.com/FpD1MFC3) is highly similar.

I have tested using a new user and the issue remains.

1)
Description: Ubuntu 19.10
Release: 19.10
Linux version 5.3.0-26-generic (buildd@lgw01-amd64-013) (gcc version 9.2.1 20191008 (Ubuntu 9.2.1-9ubuntu2))
2)
software-properties-gtk:
  Installed: 0.98.5
  Candidate: 0.98.5
  Version table:
 *** 0.98.5 500
        500 http://gb.archive.ubuntu.com/ubuntu eoan/main amd64 Packages
        500 http://gb.archive.ubuntu.com/ubuntu eoan/main i386 Packages
        100 /var/lib/dpkg/status
3)
Additional Drivers utility should launch when executing command "software-properties-gtk" with or without root.
4)
Long error fight between dbus and python3.

A note on attempted solutions. Reinstalling dbus/dbus-x11 and following the noted askubuntu thread did not help.

ProblemType: Bug
DistroRelease: Ubuntu 19.10
Package: software-properties-gtk 0.98.5
ProcVersionSignature: Ubuntu 5.3.0-26.28-generic 5.3.13
Uname: Linux 5.3.0-26-generic x86_64
ApportVersion: 2.20.11-0ubuntu8.2
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Wed Jan 22 03:48:12 2020
InstallationDate: Installed on 2020-01-14 (8 days ago)
InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_GB:en
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: software-properties
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Sebastian Straszak (callous4567) wrote :
description: updated
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report. Could you include the output of the
$ software-properties-gtk command?
Could you also include the 'journalctl -b 0' log after getting the issue?

Changed in software-properties (Ubuntu):
status: New → Incomplete
Revision history for this message
Sebastian Straszak (callous4567) wrote :
Download full text (3.5 KiB)

$ software-properties-gtk command?
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/dbus/bus.py", line 177, in activate_name_owner
    return self.get_name_owner(bus_name)
  File "/usr/lib/python3/dist-packages/dbus/bus.py", line 363, in get_name_owner
    's', (bus_name,), **keywords)
  File "/usr/lib/python3/dist-packages/dbus/connection.py", line 653, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'com.ubuntu.SoftwareProperties': no such name

During handling of the above exception, another exception occurred:

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 161, in __init__
    proxy = bus.get_object("com.ubuntu.SoftwareProperties", "/")
  File "/usr/lib/python3/dist-packages/dbus/bus.py", line 243, in get_object
    follow_name_owner_changes=follow_name_owner_changes)
  File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 250, in __init__
    self._named_service = conn.activate_name_owner(bus_name)
  File "/usr/lib/python3/dist-packages/dbus/bus.py", line 182, in activate_name_owner
    self.start_service_by_name(bus_name)
  File "/usr/lib/python3/dist-packages/dbus/bus.py", line 280, in start_service_by_name
    'su', (bus_name, flags)))
  File "/usr/lib/python3/dist-packages/dbus/connection.py", line 653, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ExecFailed: Cannot launch daemon, file not found or permissions invalid

journalctl -b 0
-- Logs begin at Tue 2020-01-14 01:44:46 GMT, end at Fri 2020-01-24 08:01:38 GMT
Jan 24 06:56:48 callous-MS-7B45 kernel: microcode: microcode updated early to re
Jan 24 06:56:48 callous-MS-7B45 kernel: Linux version 5.3.0-26-generic (buildd@l
Jan 24 06:56:48 callous-MS-7B45 kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-5
Jan 24 06:56:48 callous-MS-7B45 kernel: KERNEL supported cpus:
Jan 24 06:56:48 callous-MS-7B45 kernel: Intel GenuineIntel
Jan 24 06:56:48 callous-MS-7B45 kernel: AMD AuthenticAMD
Jan 24 06:56:48 callous-MS-7B45 kernel: Hygon HygonGenuine
Jan 24 06:56:48 callous-MS-7B45 kernel: Centaur CentaurHauls
Jan 24 06:56:48 callous-MS-7B45 kernel: zhaoxin Shanghai
Jan 24 06:56:48 callous-MS-7B45 kernel: x86/fpu: Supporting XSAVE feature 0x001:
Jan 24 06:56:48 callous-MS-7B45 kernel: x86/fpu: Supporting XSAVE feature 0x002:
Jan 24 06:56:48 callous-MS-7B45 kernel: x86/fpu: Supporting XSAVE feature 0x004:
Jan 24 06:56:48 callous-MS-7B45 kernel: x86/fpu: Supporting XSAVE feature 0x008:
Jan 24 06:56:48 callous-MS-7B45 kernel: x86/fpu: Supporting XSAVE feature 0x010:
Jan 24 06:56:48 callous-MS-7B45 kernel: x86/fpu: xstate_offset[2]: 576, xstate_
Jan 24 06:56:48 callous-MS-7B45 kernel: x86/fpu: xstate_offset[3]: 832, xstate_
Jan 24 06:56:48 callous-MS-7B45 kernel: x86/fpu: xstate_offset[4]: 896, xstate_
Jan 24 06:56:48 callous-MS-7B45 kernel: x86/fpu: Enabled xstate features ...

Read more...

Changed in software-properties (Ubuntu):
status: Incomplete → Opinion
status: Opinion → Incomplete
Revision history for this message
Sebastien Bacher (seb128) wrote :

What's the output of those commands?
$ dpkg -l | grep software-propoerties
$ debsums software-properties-common
(you might need to install debsums if the command is not available)

Changed in software-properties (Ubuntu):
status: Incomplete → New
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Sebastian Straszak (callous4567) wrote :

dpkg -l | grep software-properties
ii python3-software-properties 0.98.5 all manage the repositories that you install software from
ii software-properties-common 0.98.5 all manage the repositories that you install software from (common)
ii software-properties-gtk 0.98.5 all manage the repositories that you install software from (gtk)

debsums software-properties-common
/usr/bin/add-apt-repository OK
/usr/lib/python3/dist-packages/softwareproperties/dbus/SoftwarePropertiesDBus.py OK
/usr/lib/python3/dist-packages/softwareproperties/dbus/__init__.py OK
/usr/lib/software-properties/software-properties-dbus OK
/usr/share/dbus-1/system-services/com.ubuntu.SoftwareProperties.service OK
/usr/share/doc/software-properties-common/copyright OK
/usr/share/man/man1/add-apt-repository.1.gz OK
/usr/share/polkit-1/actions/com.ubuntu.softwareproperties.policy OK

Changed in software-properties (Ubuntu):
status: Incomplete → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.