This has been happening for months for me but I did not have the time to report it. Attached is a video link to see what is happening.
I’m still on 19.04 as I did not get any notification for update.
This has been happening for months for me but I did not have the time to report it. Attached is a video link to see what is happening.
I’m still on 19.04 as I did not get any notification for update.
what’s the output of the following from the terminal?:
sudo apt update && sudo apt upgrade
Seems it is updating once I ran that, before I was running sudo apt-get update && sudo apt-get upgrade
I thought it was the same but I guess not.
Now I have another issue, the upgrade to 19.10 button does not do anything, is there also something I can do from the command line?
Don’t forget to reboot before opening up the software update window again.
I just rebooted pressed upgrade, window closed and nothing happened.
if you run update-manager
from a terminal any output?
update-manager
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/dbus/bus.py", line 175, in activate_name_owner
return self.get_name_owner(bus_name)
File "/usr/lib/python3/dist-packages/dbus/bus.py", line 361, in get_name_owner
's', (bus_name,), **keywords)
File "/usr/lib/python3/dist-packages/dbus/connection.py", line 651, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.debian.apt': no such name
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/defer/__init__.py", line 487, in _inline_callbacks
result = gen.send(result)
File "/usr/lib/python3/dist-packages/aptdaemon/client.py", line 1613, in _run_transaction_helper
daemon = get_aptdaemon(self.bus)
File "/usr/lib/python3/dist-packages/aptdaemon/client.py", line 1701, in get_aptdaemon
False),
File "/usr/lib/python3/dist-packages/dbus/bus.py", line 241, in get_object
follow_name_owner_changes=follow_name_owner_changes)
File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 248, in __init__
self._named_service = conn.activate_name_owner(bus_name)
File "/usr/lib/python3/dist-packages/dbus/bus.py", line 180, in activate_name_owner
self.start_service_by_name(bus_name)
File "/usr/lib/python3/dist-packages/dbus/bus.py", line 278, in start_service_by_name
'su', (bus_name, flags)))
File "/usr/lib/python3/dist-packages/dbus/connection.py", line 651, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program org.debian.apt: Permission denied
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/dbus/bus.py", line 175, in activate_name_owner
return self.get_name_owner(bus_name)
File "/usr/lib/python3/dist-packages/dbus/bus.py", line 361, in get_name_owner
's', (bus_name,), **keywords)
File "/usr/lib/python3/dist-packages/dbus/connection.py", line 651, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.debian.apt': no such name
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/defer/__init__.py", line 487, in _inline_callbacks
result = gen.send(result)
File "/usr/lib/python3/dist-packages/aptdaemon/client.py", line 1613, in _run_transaction_helper
daemon = get_aptdaemon(self.bus)
File "/usr/lib/python3/dist-packages/aptdaemon/client.py", line 1701, in get_aptdaemon
False),
File "/usr/lib/python3/dist-packages/dbus/bus.py", line 241, in get_object
follow_name_owner_changes=follow_name_owner_changes)
File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 248, in __init__
self._named_service = conn.activate_name_owner(bus_name)
File "/usr/lib/python3/dist-packages/dbus/bus.py", line 180, in activate_name_owner
self.start_service_by_name(bus_name)
File "/usr/lib/python3/dist-packages/dbus/bus.py", line 278, in start_service_by_name
'su', (bus_name, flags)))
File "/usr/lib/python3/dist-packages/dbus/connection.py", line 651, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program org.debian.apt: Permission denied
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/dbus/bus.py", line 175, in activate_name_owner
return self.get_name_owner(bus_name)
File "/usr/lib/python3/dist-packages/dbus/bus.py", line 361, in get_name_owner
's', (bus_name,), **keywords)
File "/usr/lib/python3/dist-packages/dbus/connection.py", line 651, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.debian.apt': no such name
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/aptdaemon/client.py", line 1584, in on_error
error.raise_exception()
File "/usr/lib/python3/dist-packages/defer/__init__.py", line 130, in raise_exception
raise self.value.with_traceback(self.traceback)
File "/usr/lib/python3/dist-packages/defer/__init__.py", line 487, in _inline_callbacks
result = gen.send(result)
File "/usr/lib/python3/dist-packages/aptdaemon/client.py", line 1613, in _run_transaction_helper
daemon = get_aptdaemon(self.bus)
File "/usr/lib/python3/dist-packages/aptdaemon/client.py", line 1701, in get_aptdaemon
False),
File "/usr/lib/python3/dist-packages/dbus/bus.py", line 241, in get_object
follow_name_owner_changes=follow_name_owner_changes)
File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 248, in __init__
self._named_service = conn.activate_name_owner(bus_name)
File "/usr/lib/python3/dist-packages/dbus/bus.py", line 180, in activate_name_owner
self.start_service_by_name(bus_name)
File "/usr/lib/python3/dist-packages/dbus/bus.py", line 278, in start_service_by_name
'su', (bus_name, flags)))
File "/usr/lib/python3/dist-packages/dbus/connection.py", line 651, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program org.debian.apt: Permission denied
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/dbus/bus.py", line 175, in activate_name_owner
return self.get_name_owner(bus_name)
File "/usr/lib/python3/dist-packages/dbus/bus.py", line 361, in get_name_owner
's', (bus_name,), **keywords)
File "/usr/lib/python3/dist-packages/dbus/connection.py", line 651, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.debian.apt': no such name
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/defer/__init__.py", line 483, in _inline_callbacks
result = gen.throw(excep)
File "/usr/lib/python3/dist-packages/UpdateManager/backend/InstallBackendAptdaemon.py", line 66, in update
trans = yield self.client.update_cache(defer=True)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program org.debian.apt: Permission denied
Checking for a new Ubuntu release
Please install all available updates for your release before upgrading.
After that I ran update and upgrade again:
sudo apt update && sudo apt upgrade
[sudo] password for gabb:
Hit:1 http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu disco InRelease
Hit:2 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu disco InRelease
Hit:3 http://archive.canonical.com/ubuntu disco InRelease
Hit:4 https://download.mono-project.com/repo/ubuntu stable-bionic InRelease
Hit:5 https://dl.winehq.org/wine-builds/ubuntu disco InRelease
Get:6 https://mega.nz/linux/MEGAsync/xUbuntu_19.04 ./ InRelease [1,310 B]
Hit:7 http://archive.ubuntu.com/ubuntu disco InRelease
Hit:8 https://packages.microsoft.com/ubuntu/19.04/prod disco InRelease
Hit:9 http://ppa.launchpad.net/lutris-team/lutris/ubuntu disco InRelease
Hit:10 http://archive.ubuntu.com/ubuntu disco-updates InRelease
Hit:11 http://ppa.launchpad.net/ubuntubudgie/backports/ubuntu disco InRelease
Hit:12 http://archive.ubuntu.com/ubuntu disco-backports InRelease
Hit:13 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu disco InRelease
Hit:14 https://download.sublimetext.com apt/stable/ InRelease
Hit:15 http://archive.ubuntu.com/ubuntu disco-security InRelease
Fetched 1,310 B in 13s (97 B/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
5 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
libodbc1 winehq-staging
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
hmm - something from those PPA’s has fiddled with dbus.
Suggestion - do make sure you have a full disk image backup handy just in-case things go bang.
Switch to a TTY i.e. CTRL+ALT+F3 and login via the text screen.
Then type:
do-release-upgrade
That should run the release upgrade process.
Same thing happens, it says
Please install all available updates for your release before upgrading.
run:
sudo apt dist-upgrade
That should force those extra updates to be installed.
I removed the 2 packages that it wouldnt upgrade, and now it worked. Thanks.