Comment 8 for bug 668846

Revision history for this message
Michael Vogt (mvo) wrote :

Hello Matthew,

sorry for the slow reply. It is possible in aptdaemon to figure out the name of the application that holds the lock.
I am not sure if there is a generic way of offering to close the application as it would have to be voluntarily and
I don't think there is a generic way for this. For synaptic aptdaemon could send "SIGUSR1" to bring synaptic to
the foreground (it will call gtk_window_present()). Just sending a SIGINT or SIGKILL is probably too dangerous as
a dpkg operation might be in progress.