Next time if you found similar bug just put an exit 0 at the beginning of those pre&post scripts and dpkg won't complain anymore.
Steve, thanks for your help anyway.
On 22/01/06, Lukas Ruf <[EMAIL PROTECTED]> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
hi Steve,
> Steve Langasek <[EMAIL PROTECTED]> [2006-01-20 12:39]:
>
> On Fri, Jan 20, 2006 at 09:18:08AM +0100, Lukas Ruf wrote:
> > Package: libapache-mod-witch Version: 0.0.4-2 Severity: grave
> > Justification: renders package unusable
>
> > I want to remove libapache-mod-witch. This fails because of an
> > error in the post-removal script.
>
> > How can I remove libapache-mod-witch? Thanks for any help!
>
> Since this package no longer exists in stable, testing, or unstable,
> I would suggest that you simply remove
> /var/lib/apt/lists/libapache- mod-witch.postrm from your system and
> then try again to remove the package. Please don't forget to remove
> any references to this module from your apache config by hand.
>
thanks very much for your help. I found it in </var/lib/dpkg/info>.
There, I simply removed all filed with the *apache-mod-witch* pattern.
dpkg complained -- but it worked :)
Thanks!
wbr,
Lukas
- --
Lukas Ruf <http://www.lpr.ch > | Ad Personam
rbacs <http://wiki.lpr.ch> | Restaurants, Bars and Clubs
Raw IP <http://www.rawip.org> | Low Level Network Programming
Style <http://email.rawip.org> | How to write emails
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFD09pvXf8zDoH8+EURAl7aAJ0YLYnqBRfPVj/nUo33szH79BDvewCgg+dy
VVRpzo4URnpLqEpQczPpXN0=
=vCNK
-----END PGP SIGNATURE-----
--
VWOL
Tamas SZERB <[EMAIL PROTECTED]>