Bug#906669: cpp-6: Upgrading gcc-6 and vim-runtime gives unpacking error
On Sun, 19 Aug 2018 12:33:32 +0200 Freek de Kruijf <f.de.kruijf@gmail.com>
wrote:
> Package: cpp-6
> Version: 6.3.0-18+deb9u1
> Severity: important
> Tags: a11y
>
> Dear Maintainer,
>
>
> * What led up to the situation?
> I tried to upgrade the system
>
> * What exactly did you do (or not do) that was effective (or
> ineffective)?
> I ran "apt update" and "apt upgrade"
> * What was the outcome of this action?
> I got the following error messages:
>
> Unpacking vim-runtime (2:8.1.0229-1) over (2:8.0.0197-4+deb9u1) ...
> 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/vim-
runtime_2:8.1.0229-1_all.deb (--unpack):
> cannot copy extracted data for './usr/share/vim/vim81/doc/index.txt' to '/
usr/share/vim/vim81/doc/index.txt.dpkg-new': unexpected end of file or stream
> Preparing to unpack .../cpp-6_6.4.0-19_arm64.deb ...
> Unpacking cpp-6 (6.4.0-19) over (6.3.0-18+deb9u1) ...
> 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/
cpp-6_6.4.0-19_arm64.deb (--unpack):
> cannot copy extracted data for './usr/lib/gcc/aarch64-linux-gnu/6/cc1' to
'/usr/lib/gcc/aarch64-linux-gnu/6/cc1.dpkg-new': unexpected end of file or
stream
I deleted a number of files starting with the problematic package names:
/usr/cache/apt/archives/{vim-runtime_*,gcc-6-base_6.*,cpp-6_6.*}
and did the above mentioned apt commands again. Now the problem was gone and I
ended up with an upgraded system.
Problem SOLVED.
--
fr.gr.
Freek de Kruijf
Reply to: