LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 11-12-2017, 08:56 AM   #1
wildbill_hickup
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
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,199

Rep: Reputation: 164Reputation: 164
On console:

top
k (PID of installer) with priority x.
 
Old 11-12-2017, 10:17 AM   #3
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,137

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
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
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
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
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
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
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:03 PM.

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