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

Bug#232025: marked as done (dpkg unpack failure)

Your message dated Mon, 08 Mar 2004 14:47:04 -0500
with message-id <E1B0QiO-0002ku-00@newraff.debian.org>
and subject line Bug#232025: fixed in dpkg 1.10.19
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; 10 Feb 2004 11:29:00 +0000
>From Steve.Blackburn@anu.edu.au Tue Feb 10 03:29:00 2004
Return-path: <Steve.Blackburn@anu.edu.au>
Received: from (mail.apex.net.au) [] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AqW4Z-0003th-00; Tue, 10 Feb 2004 03:29:00 -0800
Received: from anu.edu.au (203-221-188-145.apex.net.au [])
	by mail.apex.net.au (8.11.6/8.11.6) with ESMTP id i1ABSmI12301
	for <submit@bugs.debian.org>; Tue, 10 Feb 2004 22:28:49 +1100
Message-ID: <4028C064.9060303@anu.edu.au>
Date: Tue, 10 Feb 2004 22:28:36 +1100
From: Steve Blackburn <Steve.Blackburn@anu.edu.au>
Reply-To: Steve.Blackburn@anu.edu.au
Organization: Australian National University
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1) Gecko/20031030
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: submit@bugs.debian.org
Subject: dpkg unpack failure
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_02_01 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0 tests=HAS_PACKAGE autolearn=no 

Package: dpkg
Version: 1.10.18 (i386)

I have created a trivial (though large) binary package that fails to 
unpack correctly, although it extracts correctly!  The package worked 
fine until recently when I added a handful of files (it is possible that 
my prior success was with a previous version of dpkg---I can't reproduce 
it now).

Somewhere in the unpack process octal file permission strings seem to be 
spuriously appended to file names, causing inevitable problems. 
Transcript is below.  In addition to what is evidenced there, it turns 
out that there are a number of files (about a dozen from a few thousand) 
with "0000644" (or similar) appended to the file name.

The package happens to be a set of benchmark suites our research group 
uses.  I have repeated the bug with zero length files in the package. 
You can get the package (with zero length files) from here:


and a tarball of the sources I built from here:

To reproduce it exactly:

$ wget http://cs.anu.edu.au/~Steve.Blackburn/private/debian/dpkg-bug.tgz
$ tar xzf dpkg-bug.tgz
$ fakeroot dpkg --build storytime-bm-1.0
$ su
# dpkg -i storytime-bm-1.0.deb
(Reading database ... 38057 files and directories currently installed.)
Unpacking storytime-bm (from storytime-bm-1.0.deb) ...
dpkg: error processing storytime-bm-1.0.deb (--install):
  error creating directory 
No such file or directory
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:

I've chased this for a bit and consulted a number of debian maintainers 
and the view is that this is pretty clearly a bug.  No idea why though.


Received: (at 232025-close) by bugs.debian.org; 8 Mar 2004 19:53:05 +0000
>From katie@ftp-master.debian.org Mon Mar 08 11:53:05 2004
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1B0QoC-00035n-00; Mon, 08 Mar 2004 11:53:05 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1B0QiO-0002ku-00; Mon, 08 Mar 2004 14:47:04 -0500
From: Scott James Remnant <scott@netsplit.com>
To: 232025-close@bugs.debian.org
X-Katie: $Revision: 1.44 $
Subject: Bug#232025: fixed in dpkg 1.10.19
Message-Id: <E1B0QiO-0002ku-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Mon, 08 Mar 2004 14:47:04 -0500
Delivered-To: 232025-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_08 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=no 

Source: dpkg
Source-Version: 1.10.19

We believe that the bug you reported is fixed in the latest version of
dpkg, which is due to be installed in the Debian FTP archive:

  to pool/main/d/dpkg/dpkg-dev_1.10.19_all.deb
  to pool/main/d/dpkg/dpkg-doc_1.10.19_all.deb
  to pool/main/d/dpkg/dpkg_1.10.19.dsc
  to pool/main/d/dpkg/dpkg_1.10.19.tar.gz
  to pool/main/d/dpkg/dpkg_1.10.19_i386.deb
  to pool/main/d/dpkg/dselect_1.10.19_i386.deb

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 232025@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Scott James Remnant <scott@netsplit.com> (supplier of updated dpkg package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)

Hash: SHA1

Format: 1.7
Date: Mon,  8 Mar 2004 19:05:32 +0000
Source: dpkg
Binary: dpkg-doc dpkg dselect dpkg-dev dpkg-static
Architecture: source all i386
Version: 1.10.19
Distribution: unstable
Urgency: high
Maintainer: Dpkg Development <debian-dpkg@lists.debian.org>
Changed-By: Scott James Remnant <scott@netsplit.com>
 dpkg       - Package maintenance system for Debian
 dpkg-dev   - Package building tools for Debian
 dpkg-doc   - Dpkg Internals Documentation
 dselect    - a user tool to manage Debian packages
Closes: 139781 157437 168443 170953 190611 199489 199693 211566 213038 213543 213846 217286 217943 221989 222760 225692 228253 228379 232025 232916 235266
 dpkg (1.10.19) unstable; urgency=high
   * Distinguish unmet build dependencies from build conflicts.
     Closes: #217943, #235266.
   * Force NULL-termination of all tar file entry names.  Closes: #232025.
   * Allow dselect to use the full window width.  Closes: #139781.
   * Pass correct number of arguments for format string when out of disk
     space.  Closes: #213038, #217286, #213543, #213846.
   * Remove duplicated entries from ChangeLog.  Closes: #157437.
   * Fix dpkg-buildpackage when used with PGP.  Closes: #232916.
   * Update support for Debian FreeBSD.  Closes: #211566.
   * Store Architecture in the status file.  Closes: #228253.
   * Don't print offending lines in md5sum.  Closes: #170953.
   * Check bounds of md5sum lines.  Closes: #168443, #199489, #199693.
 dpkg ( unstable; urgency=medium
   * Non-maintainer upload to fix release-critical bugs.
   * Terminate string buffer in main/remove.c.  Closes: #228379.
   * Prevent stashing of hardlinked devices and setuid or setgid binaries
     by removing permissions on upgrade as well as on remove.
     Closes: #225692.
   * Update dpkg conflicts to << 1.10, instead of 1.9.
     Closes: #190611, #221989, #222760.
 5a4c39cb6903694ec7ff0ebcd5afc33d 798 base required dpkg_1.10.19.dsc
 a735a1f14cc985ad083b46bce425001b 1547265 base required dpkg_1.10.19.tar.gz
 86386707c685a60c4132def2494b3657 1086080 base required dpkg_1.10.19_i386.deb
 5bf8ab50684b58b8619f2c7d982ac47f 95024 base required dselect_1.10.19_i386.deb
 088fe395e33835351e2ccdc3f8122a31 114618 utils standard dpkg-dev_1.10.19_all.deb
 294b7c2bf86172671a91b050c6db8a1a 10636 doc optional dpkg-doc_1.10.19_all.deb

Version: GnuPG v1.2.4 (GNU/Linux)


Reply to: