Acknowledgement sent
to 積丹尼 Dan Jacobson <jidanni@jidanni.org>:
New Bug report received and forwarded. Copy sent to Debian GCC Maintainers <debian-gcc@lists.debian.org>.
(Fri, 17 May 2019 06:30:04 GMT) (full text, mbox, link).
Subject: decompressing archive member: lzma error: compressed data is corrupt
Date: Fri, 17 May 2019 14:26:47 +0800
Package: gcc-9-base
Version: 9.1.0-2
Severity: critical
E: Invalid archive member header...
E: Prior errors apply to /var/cache/apt/archives/gcc-9-base_9.1.0-2_amd64.deb
E: Prior errors apply to /var/cache/apt/archives/cpp-9_9.1.0-2_amd64.deb
E: Prior errors apply to /var/cache/apt/archives/cpp_4%3a9-20181127-1_amd64.deb
debconf: apt-extracttemplates failed: No such file or directory
(Reading database ... 150269 files and directories currently installed.)
Preparing to unpack .../gcc-9-base_9.1.0-2_amd64.deb ...
Unpacking libobjc4:amd64 (9-20190428-1) over (8.3.0-7) ...
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 /var/cache/apt/archives/gcc-9-base_9.1.0-2_amd64.deb (--unpack):
cannot copy extracted data for './usr/lib/x86_64-linux-gnu/libobjc.so.4.0.0' to '/usr/lib/x86_64-linux-gnu/libobjc.so.4.0.0.dpkg-new': unexpected end of file or stream
Selecting previously unselected package cpp-9.
Preparing to unpack .../cpp-9_9.1.0-2_amd64.deb ...
Unpacking cpp-9 (9.1.0-2) ...
Preparing to unpack .../cpp_4%3a9-20181127-1_amd64.deb ...
Unpacking cpp (4:9-20181127-1) over (4:8.3.0-1) ...
Errors were encountered while processing:
/var/cache/apt/archives/gcc-9-base_9.1.0-2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
dpkg: dependency problems prevent configuration of cpp-9:
cpp-9 depends on gcc-9-base (= 9.1.0-2); however:
Package gcc-9-base is not installed.
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian GCC Maintainers <debian-gcc@lists.debian.org>: Bug#929100; Package gcc-9-base.
(Fri, 17 May 2019 12:12:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Matthias Klose <doko@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian GCC Maintainers <debian-gcc@lists.debian.org>.
(Fri, 17 May 2019 12:12:03 GMT) (full text, mbox, link).
To: 積丹尼 Dan Jacobson <jidanni@jidanni.org>,
929100@bugs.debian.org
Subject: Re: Bug#929100: decompressing archive member: lzma error: compressed
data is corrupt
Date: Fri, 17 May 2019 14:09:28 +0200
Control: severity -1 minor
sorry, I can't take bug reports with such exaggerations as serious. Even more
if your issue looks like a local problem.
On 17.05.19 08:26, 積丹尼 Dan Jacobson wrote:
> Package: gcc-9-base
> Version: 9.1.0-2
> Severity: critical
>
> E: Invalid archive member header...
> E: Prior errors apply to /var/cache/apt/archives/gcc-9-base_9.1.0-2_amd64.deb
> E: Prior errors apply to /var/cache/apt/archives/cpp-9_9.1.0-2_amd64.deb
> E: Prior errors apply to /var/cache/apt/archives/cpp_4%3a9-20181127-1_amd64.deb
> debconf: apt-extracttemplates failed: No such file or directory
> (Reading database ... 150269 files and directories currently installed.)
> Preparing to unpack .../gcc-9-base_9.1.0-2_amd64.deb ...
> Unpacking libobjc4:amd64 (9-20190428-1) over (8.3.0-7) ...
> 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 /var/cache/apt/archives/gcc-9-base_9.1.0-2_amd64.deb (--unpack):
> cannot copy extracted data for './usr/lib/x86_64-linux-gnu/libobjc.so.4.0.0' to '/usr/lib/x86_64-linux-gnu/libobjc.so.4.0.0.dpkg-new': unexpected end of file or stream
> Selecting previously unselected package cpp-9.
> Preparing to unpack .../cpp-9_9.1.0-2_amd64.deb ...
> Unpacking cpp-9 (9.1.0-2) ...
> Preparing to unpack .../cpp_4%3a9-20181127-1_amd64.deb ...
> Unpacking cpp (4:9-20181127-1) over (4:8.3.0-1) ...
> Errors were encountered while processing:
> /var/cache/apt/archives/gcc-9-base_9.1.0-2_amd64.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> dpkg: dependency problems prevent configuration of cpp-9:
> cpp-9 depends on gcc-9-base (= 9.1.0-2); however:
> Package gcc-9-base is not installed.
>
Severity set to 'minor' from 'critical'
Request was from Matthias Klose <doko@debian.org>
to 929100-submit@bugs.debian.org.
(Fri, 17 May 2019 12:12:03 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian GCC Maintainers <debian-gcc@lists.debian.org>: Bug#929100; Package gcc-9-base.
(Fri, 17 May 2019 12:27:02 GMT) (full text, mbox, link).
Acknowledgement sent
to 積丹尼 Dan Jacobson <jidanni@jidanni.org>:
Extra info received and forwarded to list. Copy sent to Debian GCC Maintainers <debian-gcc@lists.debian.org>.
(Fri, 17 May 2019 12:27:02 GMT) (full text, mbox, link).
Subject: Re: Bug#929100: decompressing archive member: lzma error: compressed data is corrupt
Date: Fri, 17 May 2019 20:22:13 +0800
I can't make sense of the error messages either.
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian GCC Maintainers <debian-gcc@lists.debian.org>: Bug#929100; Package gcc-9-base.
(Fri, 17 May 2019 12:27:04 GMT) (full text, mbox, link).
Acknowledgement sent
to 積丹尼 Dan Jacobson <jidanni@jidanni.org>:
Extra info received and forwarded to list. Copy sent to Debian GCC Maintainers <debian-gcc@lists.debian.org>.
(Fri, 17 May 2019 12:27:04 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian GCC Maintainers <debian-gcc@lists.debian.org>: Bug#929100; Package gcc-9-base.
(Fri, 17 May 2019 12:27:06 GMT) (full text, mbox, link).
Acknowledgement sent
to 積丹尼 Dan Jacobson <jidanni@jidanni.org>:
Extra info received and forwarded to list. Copy sent to Debian GCC Maintainers <debian-gcc@lists.debian.org>.
(Fri, 17 May 2019 12:27:06 GMT) (full text, mbox, link).
Subject: Re: Bug#929100: decompressing archive member: lzma error: compressed data is corrupt
Date: Fri, 17 May 2019 20:25:33 +0800
Preparing to unpack .../gcc-9-base_9.1.0-2_amd64.deb ...
Unpacking libobjc4:amd64 (9-20190428-1) over (8.3.0-7) ...
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 /var/cache/apt/archives/gcc-9-base_9.1.0-2_amd64.deb (--unpack):
cannot copy extracted data for './usr/lib/x86_64-linux-gnu/libobjc.so.4.0.0' to '/usr/lib/x86_64-linux-gnu/libobjc.so.4.0.0.dpkg-new': unexpected end of file or stream
Errors were encountered while processing:
/var/cache/apt/archives/gcc-9-base_9.1.0-2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Reply sent
to Steve McIntyre <steve@einval.com>:
You have taken responsibility.
(Fri, 17 May 2019 17:36:03 GMT) (full text, mbox, link).
Notification sent
to 積丹尼 Dan Jacobson <jidanni@jidanni.org>:
Bug acknowledged by developer.
(Fri, 17 May 2019 17:36:03 GMT) (full text, mbox, link).
To: 積丹尼 Dan Jacobson <jidanni@jidanni.org>,
929100-close@bugs.debian.org
Cc: Matthias Klose <doko@debian.org>
Subject: Re: Bug#929100: decompressing archive member: lzma error: compressed
data is corrupt
Date: Fri, 17 May 2019 18:32:27 +0100
On Fri, May 17, 2019 at 08:24:07PM +0800, 積丹尼 Dan Jacobson wrote:
>Get: 1 http://opensource.nchc.org.tw/debian experimental/main amd64 cpp-8 amd64 8.3.0-13 [8,909 kB]
>Get: 2 http://opensource.nchc.org.tw/debian experimental/main amd64 gcc-8-base amd64 8.3.0-13 [191 kB]
>Get: 3 http://opensource.nchc.org.tw/debian experimental/main amd64 rclone amd64 1.47.0+ex1-5 [6,431 kB]
>Fetched 15.5 MB in 1min 13s (211 kB/s)
>E: Invalid archive member header 9Ls...
>E: Prior errors apply to /var/cache/apt/archives/gcc-9-base_9.1.0-2_amd64.deb
>E: Prior errors apply to /var/cache/apt/archives/libgcc1_1%3a9.1.0-2_amd64.deb
>E: Prior errors apply to /var/cache/apt/archives/libstdc++6_9.1.0-2_amd64.deb
>E: Prior errors apply to /var/cache/apt/archives/dbus-x11_1.13.10-1_amd64.deb
This really looks like a local problem. I've just checked and
gcc-9-base looks just fine here.
host:/tmp/foo$ dpkg -x /mirror/debian/pool/main/g/gcc-9/gcc-9-base_9.1.0-2_amd64.deb .
host:/tmp/foo$
Dan, check your system for other signs of problems please. Do you have
error messages from the kernel about storage or memory issues?
Something is corrupting those files at your end.
--
Steve McIntyre, Cambridge, UK. steve@einval.com
Armed with "Valor": "Centurion" represents quality of Discipline,
Honor, Integrity and Loyalty. Now you don't have to be a Caesar to
concord the digital world while feeling safe and proud.
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian GCC Maintainers <debian-gcc@lists.debian.org>: Bug#929100; Package gcc-9-base.
(Sat, 18 May 2019 22:51:02 GMT) (full text, mbox, link).
Acknowledgement sent
to 積丹尼 Dan Jacobson <jidanni@jidanni.org>:
Extra info received and forwarded to list. Copy sent to Debian GCC Maintainers <debian-gcc@lists.debian.org>.
(Sat, 18 May 2019 22:51:02 GMT) (full text, mbox, link).
reopen 929100
reassign 929100 dpkg
retitle 929100 If tar is corrupt stop now
found 929100 1.19.6
reassign 929086 dpkg
forcemerge 929100 929086
thanks
Bug: if dpkg is given a corrupt .deb
# dpkg -c /tmp/gcc-9-base_9.1.0-2_amd64.deb
dpkg-deb (subprocess): decompressing archive member: lzma error: compressed data is corrupt
drwxr-xr-x root/root 0 2019-04-28 15:15 ./
drwxr-xr-x root/root 0 2019-04-28 15:15 ./usr/
drwxr-xr-x root/root 0 2019-04-28 15:15 ./usr/lib/
drwxr-xr-x root/root 0 2019-04-28 15:15 ./usr/lib/x86_64-linux-gnu/
-rw-r--r-- root/root 116696 2019-04-28 15:15 ./usr/lib/x86_64-linux-gnu/libobjc.so.4.0.0
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
dpkg-deb: error: tar subprocess returned error exit status 2
then it should quit out right away. Then the user will know he should
simply download it again.
For the deb attached below, dpkg proceeded much further, as shown in the
previous messages I posted in these reports, before finally quitting.
Bug reopened
Request was from 積丹尼 Dan Jacobson <jidanni@jidanni.org>
to control@bugs.debian.org.
(Sat, 18 May 2019 22:51:04 GMT) (full text, mbox, link).
Bug reassigned from package 'gcc-9-base' to 'dpkg'.
Request was from 積丹尼 Dan Jacobson <jidanni@jidanni.org>
to control@bugs.debian.org.
(Sat, 18 May 2019 22:51:04 GMT) (full text, mbox, link).
No longer marked as found in versions gcc-9/9.1.0-2.
Request was from 積丹尼 Dan Jacobson <jidanni@jidanni.org>
to control@bugs.debian.org.
(Sat, 18 May 2019 22:51:05 GMT) (full text, mbox, link).
Changed Bug title to 'If tar is corrupt stop now' from 'decompressing archive member: lzma error: compressed data is corrupt'.
Request was from 積丹尼 Dan Jacobson <jidanni@jidanni.org>
to control@bugs.debian.org.
(Sat, 18 May 2019 22:51:06 GMT) (full text, mbox, link).
Marked as found in versions dpkg/1.19.6.
Request was from 積丹尼 Dan Jacobson <jidanni@jidanni.org>
to control@bugs.debian.org.
(Sat, 18 May 2019 22:51:06 GMT) (full text, mbox, link).
Merged 929086929100
Request was from 積丹尼 Dan Jacobson <jidanni@jidanni.org>
to control@bugs.debian.org.
(Sat, 18 May 2019 22:51:10 GMT) (full text, mbox, link).
Disconnected #929086 from all other report(s).
Request was from Guillem Jover <guillem@debian.org>
to control@bugs.debian.org.
(Sat, 15 Oct 2022 02:21:02 GMT) (full text, mbox, link).
Changed Bug title to 'dpkg: Detect truncated .deb archives early on' from 'If tar is corrupt stop now'.
Request was from Guillem Jover <guillem@debian.org>
to control@bugs.debian.org.
(Sat, 15 Oct 2022 02:42:08 GMT) (full text, mbox, link).
Debbugs is free software and licensed under the terms of the GNU General
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.