Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-12-2017, 08:56 AM   #1
LQ Newbie
Registered: Aug 2017
Posts: 4

Rep: Reputation: Disabled
Unhappy 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!
Old 11-12-2017, 09:19 AM   #2
Senior Member
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,192

Rep: Reputation: 164Reputation: 164
On console:

k (PID of installer) with priority x.
Old 11-12-2017, 10:17 AM   #3
LQ Veteran
Registered: Jul 2006
Location: London
Distribution: CentOS, Xubuntu
Posts: 5,299

Rep: Reputation: 1821Reputation: 1821Reputation: 1821Reputation: 1821Reputation: 1821Reputation: 1821Reputation: 1821Reputation: 1821Reputation: 1821Reputation: 1821Reputation: 1821
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.
Old 11-12-2017, 11:26 AM   #4
LQ Addict
Registered: Dec 2013
Posts: 12,307
Blog Entries: 9

Rep: Reputation: 3310Reputation: 3310Reputation: 3310Reputation: 3310Reputation: 3310Reputation: 3310Reputation: 3310Reputation: 3310Reputation: 3310Reputation: 3310Reputation: 3310
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)
Old 11-13-2017, 09:50 PM   #5
LQ Guru
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,513

Rep: Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004
$ ps aux | grep program_name | awk '{print $2}' | sudo kill $1
will kill the program and close its window. Then, to clean up, try
$ sudo dpkg --configure --pending


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Package manager window will not close or respond Simon62 Linux - Newbie 3 08-07-2016 03:31 PM
[SOLVED] Any way to force file close on exception? schmitta Programming 18 02-15-2014 10:50 AM
Force close orphaned port nagatoro Linux - Networking 4 12-05-2006 11:55 PM
Can I force a TCP port to close Ratclaws Linux - Networking 2 09-06-2005 02:36 PM
root's home window won't close once opened gregrhl Linux - Software 2 03-24-2004 05:19 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:49 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration