Cannot install dbgsym packages
I added a /etc/apt/sources.list.d/debug.list
file as described in developer.puri.sm#181 (closed) hoping that this would let me install *-dbgsym packages with debug symbols, to see more useful info from stack traces, coredumps etc.
So my /etc/apt/sources.list.d/debug.list file looks as follows:
root@pureos:~# cat /etc/apt/sources.list.d/debug.list
deb https://repo.pureos.net/pureos-debug/ byzantium-debug main
deb https://repo.pureos.net/pureos-debug/ landing-debug main
deb http://debug.mirrors.debian.org/debian-debug/ bullseye-debug main
and I ran apt update
after adding that file.
But it does not work; there are *-dbgsym packages, but trying to install them fails due to dependency problems.
Example:
root@pureos:~# apt install modemmanager-dbgsym
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
modemmanager-dbgsym : Depends: modemmanager (= 1.18.6-1pureos4) but 1.18.6-1pureos3 is to be installed
E: Unable to correct problems, you have held broken packages.
root@pureos:~#
There are two variants of the package:
root@pureos:~# apt list -a modemmanager-dbgsym
Listing... Done
modemmanager-dbgsym/landing-debug 1.18.6-1pureos4 arm64
modemmanager-dbgsym/stable-debug 1.14.12-0.2 arm64
But neither of them can be installed:
root@pureos:~# apt install modemmanager-dbgsym/landing-debug
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Selected version '1.18.6-1pureos4' (PureOS Debug:landing-debug [arm64]) for 'modemmanager-dbgsym'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
modemmanager-dbgsym : Depends: modemmanager (= 1.18.6-1pureos4) but 1.18.6-1pureos3 is to be installed
E: Unable to correct problems, you have held broken packages.
root@pureos:~# apt install modemmanager-dbgsym/stable-debug
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Selected version '1.14.12-0.2' (Debian debug:11.7/stable-debug [arm64]) for 'modemmanager-dbgsym'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
modemmanager-dbgsym : Depends: modemmanager (= 1.14.12-0.2) but 1.18.6-1pureos3 is to be installed
E: Unable to correct problems, you have held broken packages.
root@pureos:~#
What to do, how to make this work?