LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-10-2006, 04:02 PM   #1
viniosity
Member
 
Registered: Oct 2001
Location: Washington, DC
Distribution: Debian, Archlinux, Ubuntu, Sidux
Posts: 244

Rep: Reputation: 30
Force uninstall?


Is there any way to force debian to uninstall a packge? I have tried apt-get remove -force-yes=lighttpd but to no avail.

Here is the error I am getting trying to remove via apt-get remove or dpkg -r:

Code:
gemlight:~# dpkg -r lighttpd
(Reading database ... 31327 files and directories currently installed.)
Removing lighttpd ...
Stopping web server: lighttpd failed!
invoke-rc.d: initscript lighttpd, action "stop" failed.
dpkg: error processing lighttpd (--remove):
 subprocess pre-removal script returned error exit status 1
Sure enough /etc/init.d/lighttpd stop does not work. Instead I have to use killall lighttpd to stop the server. But even after I kill it and try uninstalling I still get the above error.

Thanks in advance..
 
Old 06-10-2006, 06:34 PM   #2
DeanLinkous
Member
 
Registered: Jun 2006
Posts: 111

Rep: Reputation: 15
have you tried using apt or dpkg to INSTALL it again and then try uninstalling it?
or try the --force-all option of dpkg
maybe it should be running when you try to uninstall it?
just keep futzing with it and you should get there, but I would try to get it fully installed and working THEN try removal. my2pennys
 
  


Reply


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
Need to uninstall SuSe 8.1 & there is no uninstall jwhibdon Linux - Software 10 10-26-2006 11:57 AM
How do you uninstall software which doesn't have an uninstall-file? lagu2653 Linux - Software 2 12-08-2005 12:36 PM
uninstall from src if no make uninstall dtra Linux - Software 3 04-29-2005 09:13 AM
Source uninstall with 'make uninstall' HOWTO! Creeps Linux - Newbie 6 09-14-2004 11:03 AM
force uninstall by rpm Thinkgeekness Linux - General 1 10-14-2003 01:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:42 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration