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

Bug#224539: marked as done (dpkg doesn't remove packages properly)



Your message dated Sat, 20 Dec 2003 05:05:39 +0000
with message-id <20031220050539.GC1388@suffields.me.uk>
and subject line Bug#224539: dpkg doesn't remove packages properly
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 19 Dec 2003 23:29:30 +0000
>From ro.ko@mcnon.com Fri Dec 19 17:29:29 2003
Return-path: <ro.ko@mcnon.com>
Received: from mailbox.surfeu.at (surfeu.at) [212.197.128.120] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AXTk2-00089v-00; Fri, 19 Dec 2003 17:09:06 -0600
Received: from [81.5.248.12] (HELO mcnon.com)
  by surfeu.at (CommuniGate Pro SMTP 4.1.6)
  with ESMTP-TLS id 67791820 for submit@bugs.debian.org; Sat, 20 Dec 2003 00:09:03 +0100
Message-ID: <[🔎] 3FE38555.9010806@mcnon.com>
Date: Sat, 20 Dec 2003 00:10:13 +0100
From: ro kolar <ro.ko@mcnon.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US) Gecko/20031107
X-Accept-Language: en
MIME-Version: 1.0
To: submit@bugs.debian.org
Subject: dpkg doesn't remove packages properly
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 
	2.60-master.debian.org_2003_11_25-bugs.debian.org_2003_12_15 
	(1.212-2003-09-23-exp) on master.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0 tests=HAS_PACKAGE autolearn=no 
	version=2.60-master.debian.org_2003_11_25-bugs.debian.org_2003_12_15
X-Spam-Level: 

Subject: dpkg: I couldn't remove a package, even when I use --force-all
Package: dpkg
Version: 1.10.18
Severity: normal
Tags: sid

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: linux 2.6.0-test9 #1 Sun Oct 26 20:42:21 CET 2003 i686


Versions of packages dpkg depends on:
ii  dselect                     1.10.18      a user tool to manage 
Debian packa
ii  libc6                       2.3.2.ds1-10 GNU C Library: Shared 
libraries an


 
After several unsuccessful attempts to update a package, I wanted to 
remove it:

# dpkg -r --force-all interchange-cat-foundation
(Reading database ... 150876 files and directories currently installed.)
Removing interchange-cat-foundation ...
The previous Interchange server was not running and probably
terminated with an error.
Killing Interchange server 0 with HUP.
/usr/sbin/interchange: line 15:  1742 Hangup                  su -s 
/bin/sh -c "$CMD" $USER
dpkg: error processing interchange-cat-foundation (--remove):
 subprocess pre-removal script returned error exit status 129
The previous Interchange server was not running and probably
terminated with an error.
Killing Interchange server 0 with HUP.
/usr/sbin/interchange: line 15:  1800 Hangup                  su -s 
/bin/sh -c "$CMD" $USER
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 129
Errors were encountered while processing:
 interchange-cat-foundation
***
During this process dpkg/debconf asks if I want to replace the existing 
interchange-catalog. It seems that dpkg tries to configure the package, 
which should be removed.

I tried this (dpkg -r --force-all) many times, always with the same 
result.  
 
Dpkg should not try to install or configure a package, when I use the 
-r(emove).

(There may be a problem with the package too, but it is a problem of 
dpkg when it can't remove this package. )
 


---------------------------------------
Received: (at 224539-done) by bugs.debian.org; 20 Dec 2003 07:16:59 +0000
>From asuffield@suffields.me.uk Sat Dec 20 01:16:50 2003
Return-path: <asuffield@suffields.me.uk>
Received: from public1-sout4-4-cust241.cosh.broadband.ntl.com (cyclone) [81.103.170.241] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AXZJ8-0008Fz-00; Fri, 19 Dec 2003 23:05:42 -0600
Received: from asuffield by cyclone with local (Exim 3.36 #1 (Debian))
	id 1AXZJ6-0000OE-00
	for <224539-done@bugs.debian.org>; Sat, 20 Dec 2003 05:05:40 +0000
Date: Sat, 20 Dec 2003 05:05:39 +0000
From: Andrew Suffield <asuffield@debian.org>
To: 224539-done@bugs.debian.org
Subject: Re: Bug#224539: dpkg doesn't remove packages properly
Message-ID: <20031220050539.GC1388@suffields.me.uk>
References: <[🔎] 3FE38555.9010806@mcnon.com>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="tEFtbjk+mNEviIIX"
Content-Disposition: inline
In-Reply-To: <[🔎] 3FE38555.9010806@mcnon.com>
X-No-CC: I subscribe to this list; do not CC me on replies.
User-Agent: Mutt/1.5.4i
Sender: Andrew Suffield <asuffield@suffields.me.uk>
Delivered-To: 224539-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 
	2.60-master.debian.org_2003_11_25-bugs.debian.org_2003_12_15 
	(1.212-2003-09-23-exp) on master.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=FOOASDF,HAS_BUG_NUMBER 
	autolearn=no 
	version=2.60-master.debian.org_2003_11_25-bugs.debian.org_2003_12_15
X-Spam-Level: 


--tEFtbjk+mNEviIIX
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Dec 20, 2003 at 12:10:13AM +0100, ro kolar wrote:
> After several unsuccessful attempts to update a package, I wanted to=20
> remove it:
>=20
> # dpkg -r --force-all interchange-cat-foundation
> (Reading database ... 150876 files and directories currently installed.)
> Removing interchange-cat-foundation ...
> The previous Interchange server was not running and probably
> terminated with an error.
> Killing Interchange server 0 with HUP.
> /usr/sbin/interchange: line 15:  1742 Hangup                  su -s=20
> /bin/sh -c "$CMD" $USER
> dpkg: error processing interchange-cat-foundation (--remove):
> subprocess pre-removal script returned error exit status 129
> The previous Interchange server was not running and probably
> terminated with an error.
> Killing Interchange server 0 with HUP.
> /usr/sbin/interchange: line 15:  1800 Hangup                  su -s=20
> /bin/sh -c "$CMD" $USER
> dpkg: error while cleaning up:
> subprocess post-installation script returned error exit status 129
> Errors were encountered while processing:
> interchange-cat-foundation
> ***
> During this process dpkg/debconf asks if I want to replace the existing=
=20
> interchange-catalog. It seems that dpkg tries to configure the package,=
=20
> which should be removed.

Learn to read. That means all the errors, not just the last one. As a
general rule, it's usually the *first* error that counts:

> dpkg: error processing interchange-cat-foundation (--remove):
> subprocess pre-removal script returned error exit status 129

That one (plus the cause, a little above it).

> Dpkg should not try to install or configure a package, when I use the=20
> -r(emove).

The removal failed. It then tried to back that out, rather than
leaving the package in a broken state; that's the defined and expected
behaviour. Otherwise you wouldn't be able to upgrade the package to a
removable version afterwards.

> (There may be a problem with the package too, but it is a problem of=20
> dpkg when it can't remove this package. )

Purely a problem with the package, that makes it impossible for dpkg
to remove.

--=20
  .''`.  ** Debian GNU/Linux ** | Andrew Suffield
 : :' :  http://www.debian.org/ |
 `. `'                          |
   `-             -><-          |

--tEFtbjk+mNEviIIX
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/49ijlpK98RSteX8RAtG3AJ48kR8humho68NzQS480IgSupgFoQCeMXN9
V5Z6sJ+LQtjXR47CAXyTfMk=
=pCjP
-----END PGP SIGNATURE-----

--tEFtbjk+mNEviIIX--



Reply to: