Package: dpkg
Version: 1.20.5
Severity: normal

Dear Maintainer,


During a routine 'apt-get dist-upgrade' against testing, I got (in
part):


Preparing to unpack .../73-locales-all_2.31-3_amd64.deb ...
Unpacking locales-all (2.31-3) over (2.31-2) ...
dpkg-deb (subprocess): decompressing archive member: lzma error:
compressed data is corrupt
dpkg-deb: error: <decompress> subprocess returned error exit status 2
dpkg: error processing archive
/tmp/apt-dpkg-install-EMKBka/73-locales-all_2.31-3_amd64.deb (--unpack):
 cannot copy extracted data for './usr/lib/locale/ja_JP.eucjp/LC_CTYPE'
to '/usr/lib/locale/ja_JP.eucjp/LC_CTYPE.dpkg-new': unexpected end of
file or stream

...

Errors were encountered while processing:
 /tmp/apt-dpkg-install-EMKBka/73-locales-all_2.31-3_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


After this, a run of 'apt-get -f install' did not appear to act on the
locales-all package, and did not fail. A subsequent repeat of the
dist-upgrade command saw locales-all as the only package available to be
upgraded, and proceeding let it upgrade without a repeat of the error.

I have not thus far found anything elsewhere in the system (e.g. dmesg,
for underlying disk errors) which might explain why this unexpected EOF
occurred.

I am not at all sure which package might be responsible for this;
locales-all (and thus glibc) is a possibility, but at a glance I think
this looks more like a dpkg issue, and I can't rule out that it's
something else entirely. Please feel free to reassign - or, if e.g. this
is likely a one-off local error which is not likely to recur for others,
close - as you see fit.

At least at the moment, I can no longer reproduce this failure, but just
in case it isn't a one-off I didn't want to let it go unreported.

As usual, if there is any information I can provide to help track this
down, don't hesitate to ask.


-- Package-specific info:

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'stable'), (500, 'testing-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.7.0-1-amd64 (SMP w/12 CPU threads)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE
not set
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages dpkg depends on:
ii  libbz2-1.0   1.0.8-4
ii  libc6        2.31-3
ii  liblzma5     5.2.4-1+b1
ii  libselinux1  3.1-2
ii  tar          1.30+dfsg-7
ii  zlib1g       1:1.2.11.dfsg-2

dpkg recommends no packages.

Versions of packages dpkg suggests:
ii  apt            2.1.10
pn  debsig-verify  <none>

-- no debconf information

Reply via email to