#Update Manager freeze

20 messages · Page 1 of 1 (latest)

crimson badge
#

Hello, when i try to update any app from Update Manager this is freeze but this do only for app as deb nou for app from Snap or Flatpak, anyone have this problem, i am force to upgrade app with sudo apt upgrade -y to work, this happen after last upgrade

Thanks

#

i have a log

crimson badge
#

dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.aptkit': no such name

scarlet vector
#

Exit out of update manager and run it through the terminal using

mintupdate

command, see if it outputs anything when it get stuck.

crimson badge
#

from there i take this log

#

is the same problem

scarlet vector
#

Try reinstallling it with

sudo apt reinstall mintupdate

crimson badge
#

did this to

#

problem is with this

#

dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.aptkit': no such name "org.aptkit" reinstall this but same problem

scarlet vector
#

What are the output of

systemctl status aptkit
and
systemctl status dbus

crimson badge
#

adrian@adrian-huawei-d16:~$ sudo systemctl status aptkit
Unit aptkit.service could not be found.
adrian@adrian-huawei-d16:~$ sudo systemctl status dbus
● dbus.service - D-Bus System Message Bus
Loaded: loaded (/usr/lib/systemd/system/dbus.service; static)
Active: active (running) since Wed 2025-01-29 13:00:43 EET; 35min ago
TriggeredBy: ● dbus.socket
Docs: man:dbus-daemon(1)
Main PID: 1643 (dbus-daemon)
Tasks: 1 (limit: 18767)
Memory: 64.1M (peak: 112.5M)
CPU: 8.588s
CGroup: /system.slice/dbus.service
└─1643 @dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only

Jan 29 13:17:53 adrian-huawei-d16 dbus-daemon[1643]: [system] Activating service name='org.aptkit' requested by ':1.189' (uid=1000 pid=10686 comm="mintUpdate " label="unconfined") (using servicehelper)
Jan 29 13:17:56 adrian-huawei-d16 org.aptkit[10821]: Traceback (most recent call last):
Jan 29 13:17:56 adrian-huawei-d16 org.aptkit[10821]: File "/usr/sbin/aptk", line 37, in <module>
Jan 29 13:17:56 adrian-huawei-d16 org.aptkit[10821]: import aptkit.core
Jan 29 13:17:56 adrian-huawei-d16 org.aptkit[10821]: File "/usr/lib/python3/dist-packages/aptkit/core.py", line 64, in <module>
Jan 29 13:17:56 adrian-huawei-d16 org.aptkit[10821]: from .worker import DummyWorker
Jan 29 13:17:56 adrian-huawei-d16 org.aptkit[10821]: File "/usr/lib/python3/dist-packages/aptkit/worker/init.py", line 26, in <module>
Jan 29 13:17:56 adrian-huawei-d16 org.aptkit[10821]: import pkg_resources
Jan 29 13:17:56 adrian-huawei-d16 org.aptkit[10821]: ModuleNotFoundError: No module named 'pkg_resources'
Jan 29 13:17:56 adrian-huawei-d16 dbus-daemon[1643]: [system] Activated service 'org.aptkit' failed: Launch helper exited with unknown return code 1

#

adrian@adrian-huawei-d16:~$ sudo apt install aptkit
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
aptkit is already the newest version (1.0.4).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

scarlet vector
#

See if

sudo apt install -f

gives you anything

#

and see if python3-pkg-resources package is installed

crimson badge
#

adrian@adrian-huawei-d16:~$ sudo apt install -f
[sudo] password for adrian:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
adrian@adrian-huawei-d16:~$ sudo apt install python3-pkg-resources
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
python3-pkg-resources is already the newest version (68.1.2-2ubuntu1.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
adrian@adrian-huawei-d16:~$ sudo apt reinstall python3-pkg-resources
The following packages will be REINSTALLED:
python3-pkg-resources
0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 168 kB of archives. After unpacking 0 B will be used.
Get: 1 http://ubuntu.mirrors.linux.ro/archive noble-updates/main amd64 python3-pkg-resources all 68.1.2-2ubuntu1.1 [168 kB]
Fetched 168 kB in 0s (1.055 kB/s)
(Reading database ... 682420 files and directories currently installed.)
Preparing to unpack .../python3-pkg-resources_68.1.2-2ubuntu1.1_all.deb ...
Unpacking python3-pkg-resources (68.1.2-2ubuntu1.1) over (68.1.2-2ubuntu1.1) ...
Setting up python3-pkg-resources (68.1.2-2ubuntu1.1) ...

scarlet vector
#

ok, try restarting dbus now

sudo systemctl restart dbus

exit update manager and try again

crimson badge
#

did and same error

#

i think there is a bug after update