[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to remove a broken package



Charles,

dpkg --purge should do what you want. There is also 
dpkg --remove-reinstreq (I've never had to use it though). Also check to
be sure you are root when running dpkg. Sometimes the devil is in the
details. 

Ernest Johanson
Web Systems Administrator
Fuller Theological Seminary


On Fri, 8 Oct 1999, Charles Lewis wrote:

> Date: Fri, 8 Oct 1999 11:31:54 -0500
> From: Charles Lewis <lewisc@swau.edu>
> To: debian-user <debian-user@lists.debian.org>
> Subject: how to remove a broken package
> 
> *sigh*
> Surely, this can't be such a difficult question to answer. I hate to be a
> pain, but I don't know where else to turn, and I would rather be flamed than
> ignored.
> 
> I need to know how to remove a broken package.
> 
> Specifically, I'm having problems removing apache & squid. I get the
> following errors:
> 
> Removing squid ...
> dpkg: error processing squid (--remove):
>  subprocess pre-removal script returned error exit status 1
> dpkg: error while cleaning up:
>  subprocess post-installation script returned error exit status 1
> Removing apache ...
> dpkg: error processing apache (--remove):
>  subprocess pre-removal script returned error exit status 1
> Errors were encountered while processing:
>  squid
>  apache
> 
> How can I get force the removal of these? I've read the man page, and none
> of the options that look like they _might_ work, do not. What else can I do?
> 
> ===========================================
> Charles Lewis, Director of Administrative Computing
> Southwestern Adventist University, Keene, TX
> (817)556-4720  lewisc@swau.edu  FAX (360)397-7952
> ===========================================
> 


Reply to: