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

Bug#232025: dpkg unpack failure



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:

wget http://cs.anu.edu.au/~Steve.Blackburn/private/debian/storytime-bm-1.0.deb

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 `./usr/share/benchmarks/ipsixql-1_0_2/gmd-ipsi-xql-engine-1_0_2/doc/apidoc/de/gmd/ipsi/xql/class-use/000075': No such file or directory
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 storytime-bm-1.0.deb

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.

--Steve




Reply to: