Comment 10 for bug 183209

Revision history for this message
Philipp Kohlbecher (xt28) wrote :

Two pointers:

1. /usr/lib/python2.5/site-packages/UpdateManager/UpdateManager.py contains the following:
/------------
| # close when update was successful (its ok to use a Synaptic::
| # option here, it will not get auto-saved, because synaptic does
| # not save options in non-interactive mode)
| cmd.append("-o")
| cmd.append("Synaptic::closeZvt=true")
\------------

2. The synaptic source contains the following in gtk/rgterminstallprogress.cc:
/------------
| if(res == 0 &&(gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(_closeOnF)) ||
| _config->FindB("Volatile::Non-Interactive", false))) {
| hide();
| return;
| }
\------------

If I interpret this correctly, this means that synaptic unconditionally closes the progress window upon completion when running in non-interactive mode (which it is when it's run by update-manager) and update-manager additionally instructs synaptic to close that window.

I am guessing that both these things would have to be changed in order to make this work again.

This is probably unrelated to what happens in the case of install errors.

Hope this helps. Please fix this, I don't like to be treated like a complete noob by my computer (at least I want to be able to opt out).