How to kill "Waiting to install" process?

Type xkill in Terminal and the cursor should turn into a "×". Place it over the malfunctioning window and click.