Here is the result of using that command:
[EMAIL PROTECTED]:~$ sudo dpkg --force-all -P webmin-core
(Reading database ... 75153 files and directories currently installed.)
Removing webmin-core ...
/etc/webmin/webmin.acl: No such file or directory
dpkg: error processing webmin-core (--purge):
subprocess pre-removal script returned error exit status 2
/etc/webmin/webmin.acl: No such file or directory
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
webmin-core
Does anyone know a way of forcing apt/dpkg to forget that a package even
exists?
From: Marty <[EMAIL PROTECTED]>
To: debian-user@lists.debian.org
Subject: Re: Apt Needs Counseling
Date: Mon, 17 Oct 2005 12:07:44 -0400
MIME-Version: 1.0
Received: from murphy.debian.org ([146.82.138.6]) by mc11-f22.hotmail.com
with Microsoft SMTPSVC(6.0.3790.211); Mon, 17 Oct 2005 09:08:25 -0700
Received: from localhost (localhost [127.0.0.1])by murphy.debian.org
(Postfix) with QMQPid DD61B2EC29; Mon, 17 Oct 2005 11:07:46 -0500 (CDT)
Received: from pop-knobcone.atl.sa.earthlink.net
(pop-knobcone.atl.sa.earthlink.net [207.69.195.64])by murphy.debian.org
(Postfix) with ESMTP id EBED72EC16for <debian-user@lists.debian.org>; Mon,
17 Oct 2005 11:07:44 -0500 (CDT)
Received: from h-69-3-205-82.sfldmidn.dynamic.covad.net ([69.3.205.82]
helo=[10.1.21.2])by pop-knobcone.atl.sa.earthlink.net with esmtp (Exim 3.36
#10)id 1ERXWa-00046J-00for debian-user@lists.debian.org; Mon, 17 Oct 2005
12:07:45 -0400
X-Message-Info: JGTYoYF78jEHjJx36Oi8+Z3TmmkSEdPtfpLB7P/ybN8=
Old-Return-Path: <[EMAIL PROTECTED]>
X-Original-To: debian-user@lists.debian.org
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8)
Gecko/20050831 Debian/1.7.8-1sarge2
X-Accept-Language: en
References: <[EMAIL PROTECTED]>
X-Rc-Virus: 2005-08-24_01
X-Rc-Spam: 2005-09-11_01
X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on
murphy.debian.org
X-Spam-Level: X-Spam-Status: No, score=-3.7 required=4.0
tests=AWL,LDOSUBSCRIBER autolearn=no version=3.0.3
Resent-Message-ID: <[EMAIL PROTECTED]>
Resent-From: debian-user@lists.debian.org
X-Mailing-List: <debian-user@lists.debian.org> archive/latest/413702
X-Loop: debian-user@lists.debian.org
List-Id: <debian-user.lists.debian.org>
List-Post: <mailto:debian-user@lists.debian.org>
List-Help: <mailto:[EMAIL PROTECTED]>
List-Subscribe:
<mailto:[EMAIL PROTECTED]>
List-Unsubscribe:
<mailto:[EMAIL PROTECTED]>
Precedence: list
Resent-Sender: [EMAIL PROTECTED]
Resent-Date: Mon, 17 Oct 2005 11:07:46 -0500 (CDT)
Return-Path:
[EMAIL PROTECTED]
X-OriginalArrivalTime: 17 Oct 2005 16:08:26.0443 (UTC)
FILETIME=[01A7D1B0:01C5D335]
Freddie Witherden wrote:
Hi, none of those worked. It seems to be because it can not remove
(--purge) a package which does not have ant files and when I try to
reinstall it apt tries to configure the packages which need it. I need a
way of totally nuking those packages from apt's list so that it forgets
that they even exist.
This should always work:
dpkg --force-all -P <pkg-name>
Use caution, backup eveything and read the docs first. Try "man dpkg" and
"dpkg --force-help"
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a
subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]