apport doesn't install gdb dependencies
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Apport |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
In revision 3076 of apport, apport was modified to install and use gdb in the sandbox. However, installing gdb alone is insufficient as gdb has dependencies (like libpython3.5) which also need to be installed. If they are not then gdb will exit in the following manner.
'/tmp/apport_
I'd thought something like the following would resolve the issue:
deps = apport.
for dep in deps:
gdb_
However, it seems to get the dependencies for the version of gdb on the host, not the retracing sandbox.
(Pdb) deps
['libc6', 'libexpat1', 'liblzma5', 'libncurses5', 'libpython3.4', 'libreadline6', 'libtinfo5', 'zlib1g', 'libpython3-
ubuntu@
Depends: libc6 (>= 2.15), libexpat1 (>= 2.0.1), liblzma5 (>= 5.1.1alpha+
This got introduced recently in trunk (not in any release) in http:// bazaar. launchpad. net/~apport- hackers/ apport/ trunk/revision/ 3076. This commit got reverted in http:// bazaar. launchpad. net/~apport- hackers/ apport/ trunk/revision/ 3080. This reopens bug 1517257, I'll add details to that one.