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

Bug#261090: marked as done (misleading behavior of dpkg)



Your message dated Fri, 23 Jul 2004 17:21:53 +0100
with message-id <20040723162153.GC31386@suffields.me.uk>
and subject line Bug#261090: misleading behavior of dpkg
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; 23 Jul 2004 15:53:33 +0000
>From leszek@serwer.3miasto.net Fri Jul 23 08:53:33 2004
Return-path: <leszek@serwer.3miasto.net>
Received: from mail.3miasto.net (serwer.3miasto.net) [153.19.176.2] (root)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Bo2MT-0006fG-00; Fri, 23 Jul 2004 08:53:30 -0700
Received: from serwer.3miasto.net (leszek@localhost [IPv6:::1])
	by serwer.3miasto.net (8.12.11/8.12.11) with ESMTP id i6NFrBt5002220
	for <submit@bugs.debian.org>; Fri, 23 Jul 2004 17:53:11 +0200 (CEST)
Received: from localhost (leszek@localhost)
	by serwer.3miasto.net (8.12.11/8.12.3/Submit) with ESMTP id i6NFrAkB001569
	for <submit@bugs.debian.org>; Fri, 23 Jul 2004 17:53:10 +0200 (CEST)
Date: Fri, 23 Jul 2004 17:53:10 +0200 (CEST)
From: Leszek Koltunski <leszek@serwer.3miasto.net>
To: submit@bugs.debian.org
Subject: misleading behavior of dpkg
Message-ID: <[🔎] Pine.NEB.4.60.0407231747050.24700@serwer.3miasto.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 


Package: dpkg
Version: 1.9.21 (i386)
Severity: Small

Seems that dpkg cannot tell the difference between a non-existant and a 
not-empty directory:


brat_bori:/home/leszek$ dselect --expert
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
   xfce*
0 packages upgraded, 0 newly installed, 1 to remove and 0  not upgraded.
Need to get 0B of archives. After unpacking 10.1MB will be freed.
Do you want to continue? [Y/n]
(Reading database ... 51775 files and directories currently installed.)
Removing xfce ...
dpkg - warning: while removing xfce, directory `/etc/X11/xfce' not empty 
so not removed.
Purging configuration files for xfce ...
Do you want to erase any previously downloaded .deb files? [Y/n]
Press enter to continue.

brat_bori:/home/leszek$ cd /etc/X11/xfce
bash: cd: /etc/X11/xfce: No such file or directory


dpkg warns about not being able to remove '/etc/X11/xfce' because it is 
not empty, while the directory does not exist at all. IMHO, it would be 
much better if dpkg would report such failures *only* when the dir is 
not-empty.

best,

Leszek

---------------------------------------
Received: (at 261090-done) by bugs.debian.org; 23 Jul 2004 16:21:56 +0000
>From asuffield@suffields.me.uk Fri Jul 23 09:21:56 2004
Return-path: <asuffield@suffields.me.uk>
Received: from spc1-sout4-4-0-cust241.cosh.broadband.ntl.com (cyclone.suffields.me.uk) [81.103.170.241] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Bo2o0-0001W8-00; Fri, 23 Jul 2004 09:21:56 -0700
Received: from asuffield by cyclone.suffields.me.uk with local (Exim 3.36 #1 (Debian))
	id 1Bo2nx-0008B8-00
	for <261090-done@bugs.debian.org>; Fri, 23 Jul 2004 17:21:53 +0100
Date: Fri, 23 Jul 2004 17:21:53 +0100
From: Andrew Suffield <asuffield@debian.org>
To: 261090-done@bugs.debian.org
Subject: Re: Bug#261090: misleading behavior of dpkg
Message-ID: <20040723162153.GC31386@suffields.me.uk>
References: <[🔎] Pine.NEB.4.60.0407231747050.24700@serwer.3miasto.net>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="KN5l+BnMqAQyZLvT"
Content-Disposition: inline
In-Reply-To: <[🔎] Pine.NEB.4.60.0407231747050.24700@serwer.3miasto.net>
X-No-CC: I subscribe to this list; do not CC me on replies.
User-Agent: Mutt/1.5.6+20040523i
Sender: Andrew Suffield <asuffield@suffields.me.uk>
Delivered-To: 261090-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 


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

On Fri, Jul 23, 2004 at 05:53:10PM +0200, Leszek Koltunski wrote:
> (Reading database ... 51775 files and directories currently installed.)
> Removing xfce ...
> dpkg - warning: while removing xfce, directory `/etc/X11/xfce' not empty=
=20
> so not removed.

Here the directory is not empty.

> Purging configuration files for xfce ...

Here the contents and the directory are deleted.

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

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

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

iD8DBQFBATshlpK98RSteX8RAg0SAJ44X0PbxNQ7RRF7cUcAciJTOEC09ACcDz+O
40WBiaThOL9p64lYvZdiuwY=
=cVwE
-----END PGP SIGNATURE-----

--KN5l+BnMqAQyZLvT--



Reply to: