On 15/10/2025 11:30, Terry Coles wrote:
On 15/10/2025 11:05, Terry Coles wrote:
Apparently apport is disabled by default (it certainly never used to be.
I tried enabling it as detailed in the link, but it still wasn't
triggered.
This is getting more and more convoluted. I tried installing
systemd-coredump and accepted that apport-core-dump-handler would be
removed:
terry@optiplex:~$ sudo apt install systemd-coredump
[sudo: authenticate] Password:
Installing:
systemd-coredump
Installing dependencies:
python3-zstandard
Suggested packages:
python-zstandard-doc
REMOVING:
apport-core-dump-handler
Summary:
Upgrading: 0, Installing: 2, Removing: 1, Not Upgrading: 2
Download size: 450 kB
Space needed: 1,568 kB / 42.5 GB available
Continue? [Y/n] Y
Get:1 http://archive.ubuntu.com/ubuntu questing/universe amd64
python3-zstandard amd64 0.23.0-4 [383 kB]
Get:2 http://archive.ubuntu.com/ubuntu questing/universe amd64
systemd-coredump amd64 257.9-0ubuntu2 [67.1 kB]
Fetched 450 kB in 1s (450 kB/s)
Selecting previously unselected package python3-zstandard.
(Reading database ... 276095 files and directories currently installed.)
Preparing to unpack .../python3-zstandard_0.23.0-4_amd64.deb ...
Unpacking python3-zstandard (0.23.0-4) ...
dpkg: apport-core-dump-handler: dependency problems, but removing anyway
as you requested:
apport depends on apport-core-dump-handler | python3-zstandard; however:
Package apport-core-dump-handler is to be removed.
Package python3-zstandard is not configured yet.
apport depends on apport-core-dump-handler | systemd-coredump; however:
Package apport-core-dump-handler is to be removed.
Package systemd-coredump is not installed.
apport depends on apport-core-dump-handler | python3-zstandard; however:
Package apport-core-dump-handler is to be removed.
Package python3-zstandard is not configured yet.
apport depends on apport-core-dump-handler | systemd-coredump; however:
Package apport-core-dump-handler is to be removed.
Package systemd-coredump is not installed.
(Reading database ... 276109 files and directories currently installed.)
Removing apport-core-dump-handler (2.33.1-0ubuntu3) ...
Selecting previously unselected package systemd-coredump.
(Reading database ... 276107 files and directories currently installed.)
Preparing to unpack .../systemd-coredump_257.9-0ubuntu2_amd64.deb ...
Unpacking systemd-coredump (257.9-0ubuntu2) ...
Setting up systemd-coredump (257.9-0ubuntu2) ...
Creating group 'systemd-coredump' with GID 985.
Creating user 'systemd-coredump' (systemd Core Dumper) with UID 985 and
GID 985.
Setting up python3-zstandard (0.23.0-4) ...
Processing triggers for systemd (257.9-0ubuntu2) ...
Processing triggers for man-db (2.13.1-1) ...
Processing triggers for procps (2:4.0.4-8ubuntu3) ...
terry@optiplex:~$ coredumptctl
Command 'coredumptctl' not found, did you mean:
command 'coredumpctl' from deb systemd-coredump (257.9-0ubuntu2)
Try: sudo apt install <deb name>
terry@optiplex:~$ sudo apt install systemd-coredump
systemd-coredump is already the newest version (257.9-0ubuntu2).
Summary:
Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 2
terry@optiplex:~$ coredumptctl
Command 'coredumptctl' not found, did you mean:
command 'coredumpctl' from deb systemd-coredump (257.9-0ubuntu2)
Try: sudo apt install <deb name>
So it was unable to run coredumptctl because it wasn't installed, except
it was!
So then I reinstalled apport-core-dump-handler which involved removing
systemd-coredump:
terry@optiplex:~$ sudo apt install apport-core-dump-handler
Installing:
apport-core-dump-handler
REMOVING:
systemd-coredump
Summary:
Upgrading: 0, Installing: 1, Removing: 1, Not Upgrading: 2
Download size: 19.9 kB
Freed space: 282 kB
Continue? [Y/n] Y
Get:1 http://archive.ubuntu.com/ubuntu questing/main amd64
apport-core-dump-handler all 2.33.1-0ubuntu3 [19.9 kB]
Fetched 19.9 kB in 0s (69.3 kB/s)
dpkg: systemd-coredump: dependency problems, but removing anyway as you
requested:
apport depends on apport-core-dump-handler | systemd-coredump; however:
Package apport-core-dump-handler is not installed.
Package systemd-coredump is to be removed.
(Reading database ... 276129 files and directories currently installed.)
Removing systemd-coredump (257.9-0ubuntu2) ...
Selecting previously unselected package apport-core-dump-handler.
(Reading database ... 276109 files and directories currently installed.)
Preparing to unpack .../apport-core-dump-handler_2.33.1-0ubuntu3_all.deb ...
Unpacking apport-core-dump-handler (2.33.1-0ubuntu3) ...
Setting up apport-core-dump-handler (2.33.1-0ubuntu3) ...
Processing triggers for man-db (2.13.1-1) ...
Processing triggers for procps (2:4.0.4-8ubuntu3) ...
Processing triggers for systemd (257.9-0ubuntu2) ...
and relaunched Konqueror. This time apport did it stuff, but what I got
was:
Starting debugger gdb --init-eval-command=set auto-solib-add off -nw -n
-batch -x /tmp/drkonqi.efXcpN -x /tmp/drkonqi.eHqJRg -p 5634
/usr/bin/konqueror
This GDB supports auto-downloading debuginfo from the following URLs:
<https://debuginfod.ubuntu.com>
Enable debuginfod for this session? (y or [n]) [answered N; input not
from terminal]
Debuginfod has been disabled.
To make this setting permanent, add 'set debuginfod enabled off' to
.gdbinit.
ptrace: No such process.
Traceback (most recent call last):
File "/usr/share/drkonqi/gdb/python/gdb_preamble/preamble.py", line
813, in print_preamble
print_preamble_internal()
~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/share/drkonqi/gdb/python/gdb_preamble/preamble.py", line
784, in print_preamble_internal
resolve_modules()
~~~~~~~~~~~~~~~^^
File "/usr/share/drkonqi/gdb/python/gdb_preamble/preamble.py", line
767, in resolve_modules
raise RuntimeError("No corefile found. Cannot resolve modules.")
RuntimeError: No corefile found. Cannot resolve modules.
No corefile found. Cannot resolve modules.
Sentry is attempting to send 2 pending events
Waiting up to 30 seconds
Press Ctrl-C to quit
Debugging ended with exit code '1' and exit status 'NormalExit'
Debugging ended with exit code '1' and exit status 'NormalExit'
So it looks like there's a lot missing from a clean install of Kubuntu
25.10 to allow apport to work!
I'm beginning to lose the will to live!
--
Terry Coles
--
Next meeting: Online, Jitsi, Tuesday, 2025-11-04 20:00
Check to whom you are replying
Meetings, mailing list, IRC, ... https://dorset.lug.org.uk
New thread, don't hijack: mailto:[email protected]