LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to force close a package installer window that won't close? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-force-close-a-package-installer-window-that-wont-close-4175617468/)

wildbill_hickup 11-12-2017 08:56 AM

How to force close a package installer window that won't close?
 
I was trying to install Opera and ran into trouble. That's for another time. Now I have a "Package Installer" window that won't close. Now I realize I can just restart Mint and settle the problem that way but that way would be to easy. I'm trying to learn Mint as well as some simple commands in Linux so hence my title question. HELP!

Keruskerfuerst 11-12-2017 09:19 AM

On console:

top
k (PID of installer) with priority x.

DavidMcCann 11-12-2017 10:17 AM

Using the GUI, run the System Monitor from System Tools in the menu. The Processes tab lists all the current tasks: right click on the offending program and select the Kill option.

ondoho 11-12-2017 11:26 AM

a word of warning: killing an installer program might leave your package management unstable.
you might want to wait it out.
(i've been having problems updating on ubuntu, not sure what causes it, could be server overload, but after an hour or so it resolved itself)

AwesomeMachine 11-13-2017 09:50 PM

Try:
Code:

$ ps aux | grep program_name | awk '{print $2}' | sudo kill $1
will kill the program and close its window. Then, to clean up, try
Code:

$ sudo dpkg --configure --pending


All times are GMT -5. The time now is 05:33 AM.