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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/668846

Title:
  No obvious error when Software Centre can't install due to Synaptic
  being open

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/668846/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to