I can reproduce this.  Originally experiences on Lucid (maybe earlier);
currently on Maverick.

To reproduce:

1. gdebi-gtk foo.deb (I was using opera_10.70.9053_i386.deb)

    (NOT TESTED: "sudo gdebi-gtk foo.deb".  When I've experienced this it was in
     a non-sudo run, where (I believe this is how it works) gdebi-gtk exec'd 
itself
     under gksu when I told it to do something that affected the system.  I 
suspect
     this loopback exec may have something to do with the failure to exit.)

2. Click the [Install Package] or [Reinstall Package] button

3. Satisfy the request for your password

4. When install is finished, close the terminal/installer window

    (NOT TESTED: probably the same if you previously clicked the "Automatically
     close after the changes have been successfully applied" button)  ^U

    (went back and tested that, it behaves the same, as long as you meet the
     timing dependency in #5)

5. (TIMING DEPENDENT) when the install completes and while you are closing
    the terminal/installer window, the main gdebi-gtk window is refreshing its 
state
    information (you see a progress bar at the bottom of that window).  CLOSE 
THE
    PARENT WINDOW WITH ITS GUI CLOSE BOX during this refresh period.
    Note: you cannot close it with its own file -> close menu, as that is not
    responsive during the state refresh.

6. The shell prompt from which you ran `gdebi-gtk ...` does not return.  
Depending
    on exactly when you closed it, you may see a message like:

        /usr/lib/python2.6/dist-packages/GDebi/GDebi.py:275: GtkWarning: 
/build/buildd/gtk+2.0-2.22.0/gtk/gtkwidget.c:5684: widget not within a GtkWindow
          self.button_install.grab_default()

    after a while; or no message at all.

7. `ps` evidence shows:

    0 S filbo     2130     1  0  80   0 - 24754 poll_s 20:46 ?          0:19 
gnome-terminal
    0 S filbo     2175  2130  0  80   0 -   514 unix_s 20:46 ?          0:00  
\_ gnome-pty-helper
    0 S filbo     2305  2130  0  80   0 -  1858 wait   20:47 pts/1      0:00  
\_ bash
    0 S filbo    17144  2305  2  80   0 - 19715 pipe_w 22:59 pts/1      0:07    
  \_ gksu --desktop /usr/share/applications/gdebi.desktop --message <big><b>You 
need to grant administrative rights to install software</b></big>???It is a 
possible security risk to install packages files manually.?Install software 
from trustworthy software distributors only.? --always-ask-pass -- gdebi-gtk 
--non-interactive /home/filbo/Downloads/opera_10.70.9053_i386.deb
    4 S root     17149 17144  4  80   0 - 29515 poll_s 22:59 ?          0:14    
      \_ /usr/bin/python /usr/bin/gdebi-gtk --non-interactive 
/home/filbo/Downloads/opera_10.70.9053_i386.deb
    4 S root     17153 17149  0  80   0 -   514 unix_s 22:59 ?          0:00    
          \_ gnome-pty-helper

=================

Note: it occurs to me that this is not strictly a repro of jeremy-list's
issue.  `xkill` would not have come into play in my situation since the
X window was already gone.  This is more strictly a repro of jknvv13's
LP #591328.  I hesitated to tag this onto that bug as it didn't
specifically mention the GTK edition `gdebi-gtk`.

However I suspect these to be the same underlying issue and will both be
fixed by the same fix.

-- 
Cannot close gdebi-gtk package installer when finished
https://bugs.launchpad.net/bugs/626758
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to