apport allows to investigate crashes locally and to either start a
gdb session, get a backtrace or install debugging symbols in that local investigation. When choosing the latter a
gnome-terminal is displayed to monitor the progress of updating the
apt sources and installing the
-dbg packages. How can I keep that terminal window from disappearing if the
apt-get process finished or crashed?
The solution shouldn't require any interaction with the terminal at all after the installation has been started.
This is crucial for debugging failures of
apport itself. Currently the terminal disappears without any noticeable error and then an
apport dialog for the package which didn't finish to create the backtrace or for the crash of
apport itself (starting an infinite loop of
apport detecting its own crash) is opened.
Note: This in not about a specific issue that makes the
gnome-terminal opened by
apport disappear, i.e. I don't care if apt-get makes a segmentation fault or a dpkg subroutine returns != 0, ...