GDebi hangs when dpkg backend prompts for input (needs timeout + urgency hint)

Bug #95995 reported by Donald Straney
38
Affects Status Importance Assigned to Milestone
gdebi (Ubuntu)
Fix Released
Medium
Michael Vogt

Bug Description

Binary package hint: gdebi

I upgraded an installed package from a .deb file by installing it with GDebi, but since I had changed one of the configuration files included in the old package, I could see a prompt from dpkg in the status window of the installer to overwrite the file, skip it, etc. before continuing. Since GDebi didn't seem to provide any input to dpkg, it hung and I had to kill both processes manually. I can't be sure, but I'd assume it would do this with any other prompt from dpkg. It would help if it could somehow detect a prompt (maybe by searching for a certain string in the output, or something else less hack-ish) from dpkg and show a dialog with the appropriate options. I'm using GDebi version 0.1.6ubuntu1 - hope this helps.

Michael Vogt (mvo)
Changed in gdebi:
importance: Undecided → Medium
status: Unconfirmed → Confirmed
Revision history for this message
Chris Moore (dooglus) wrote :

I think I just experienced the same bug in feisty.

I tried installing http://www.virtualbox.org/download/1.3.8/VirtualBox_1.3.8_Ubuntu_feisty_i386.deb and it seemed to be taking a very long time to install. The gdebi window was still animated - the orange progress indicator moving back and forth as if it was doing something (see first attachment)...

Revision history for this message
Chris Moore (dooglus) wrote :

... however, when I expanded the 'terminal' widget, I could see that it wasn't doing anything other than waiting for me to agree to a license (see second attachment).

It would be a lot better if gdebi was able to automatically show the terminal when user input is required.

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

Thanks for your bugreport.

This should be much better with the gutsy 0.2.5 version that will setup the environment correctly so that the gnome debconf frontend is used.
There is still a timeout for the terminal expansion required, I will look into that.

Cheers,
 Michael

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

This is fixed in the current version of gdebi in intrepid.

Changed in gdebi:
assignee: nobody → mvo
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.