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

Bug#2178: dpkg unclear error message



(cc'ed to ian murdock because it might be a tar bug)

So I tried building 1.0.12 (under 0.93r6, so dselect doesn't build,
but I only need dpkg-deb and dpkg for this test) and indeed, I get a
better error message from the new dpkg, but the package was still
corrupt:

% psac time ~/debian/inst/dpkg-1.0.12/main/dpkg  --install epkg.deb
Command line:
time /home/eichin/debian/inst/dpkg-1.0.12/main/dpkg --install epkg.deb
OK to execute? y
(Reading database ... 21852 files and directories currently installed.)
Unpacking executor (from epkg.deb) ...
dpkg: error processing epkg.deb (--install):
 corrupted filesystem tarfile - corrupted package archive
Errors were encountered while processing:
 epkg.deb
Command had non-zero exit status 1
3.33user 5.62system 0:45.79elapsed 19%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (192major+1468minor)pagefaults 0swaps
Exit 1

tar and gzip were stock 93r6 versions (tar, at least, is also the
latest version on prep...):
% tar --version
GNU tar 1.11.8
% dpkg --status tar
Package: tar
Status: install ok installed
Priority: required
Section: base
Maintainer: Ian Murdock <imurdock@debian.org>
Version: 1.11.8-1
Description: GNU tar.
% gzip --version
gzip 1.2.4 (18 Aug 93)
Compilation options:
DIRENT UTIME STDC_HEADERS HAVE_UNISTD_H ASMV

I was able to reduce the problem to a package with a single file in
it; the uuencoded tar file follows. The name itself is:
./xpkg/tmp/executor/ExecutorVolume/Resorcerer 1.1 Demo/Resorcerer 1.1 Read Me Files/About Resorcerer%A8 1.1%C9

It appears that while "tar tzvf" will read this fine and unpack it
fine, emacs tar-mode gets confused by it, so that may be a clue to the
problem. If you unpack this tar file, run dpkg-deb --build xpkg, and
then try as root to dpkg --install xpkg.deb, you should get the above
errors...

begin 644 xpkg.tar.gz
M'XL("-UL!C$"`WAP:V<N=&%R`.V876^;,!1`>>97W)<^%OR%LT335):P"2U)
M(Q)5VB.E3L:2X,PQ4OKO9TJU3=.V;NI"HNT>"=G"5X`XOM>&PVZ]"KWC`H+T
MH@@\`"FD;%K78VW;0MP)2JB0E'$)0$DDF`>1UP'UWN8&P%-E\:&L?A[GPI9+
M[Y_CT/BWVUUX+OY=(%#*!4?_G?I7!U745IOPI/XEDZY/.2.8_R?RGSQV;O2F
MWJKP)/XE[1'T?Q;^,[77IE!&&:`!A9':ZO!X_B/.!`"C@J/_\_7_W;E,Y7<P
M4?"FW*A]^#S_@E'G7S*&];\3@C`(K\:Z6HW+:GVL_5^K^,>M@S9[OF_G@MO_
M2^G!N$O_1FO[J[BGQC'_'_,_OM6UA:\A%_&+)NIBV/>0_]&_1PF10OQ6_>=1
MSWW_<\I[P@."];\;_Z/D=1I/C_8+X`_6?]XCK/G^%U+@^M^U_T)7UNC-7[_'
M4_G/!/OB7S;Y3SF-,/\[818/W\5ODP$T$\&_2;)Y>CT=N++>[W^ZS%TEOZ3^
M+$NOLW3Q?@!Z9TM=Y1M_G@P7#X'M:RM,O;3^)$ZG"W<DV0`FN5E#\C`(+]N@
MJ^)^5=7[H-#;5_XHF0^S=-9>Y*.3`-;<E]4*K(9;H_(UW+D'"H+`QS4:01`$
401`$01`$01#D.7P&I).`1@`H``"3
`
end



Reply to: