[mythtv-users] deb package error on install

Jim Abernathy jfabernathy at gmail.com
Tue Feb 19 16:09:10 UTC 2019


On 2/19/19 10:18 AM, Jim Abernathy wrote:
> On my Ubuntu 18.04 test system I was installing mythtv-frontend and 
> got an error:
>
> jim at jim-build-machine:~$ sudo apt install mythtv-frontend
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following additional packages will be installed:
>   mythtv-common mythtv-dbg
> Suggested packages:
>   mythtv-doc mythtv-backend mythmusic mythweather mythgame ntp | 
> time-daemon
>   | ntp-simple
> The following NEW packages will be installed:
>   mythtv-common mythtv-dbg mythtv-frontend
> 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
> Need to get 0 B/182 MB of archives.
> After this operation, 222 MB of additional disk space will be used.
> Do you want to continue? [Y/n]
> Preconfiguring packages ...
> (Reading database ... 170686 files and directories currently installed.)
> Preparing to unpack 
> .../mythtv-common_2%3a30.0+fixes.201902190256.2603424~ubuntu18.04.1_amd64.deb 
> ...
> Unpacking mythtv-common 
> (2:30.0+fixes.201902190256.2603424~ubuntu18.04.1) ...
> 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/mythtv-common_2%3a30.0+fixes.201902190256.2603424~ubuntu18.04.1_amd64.deb 
> (--unpack):
>  dpkg-deb --fsys-tarfile subprocess returned error exit status 2
> Selecting previously unselected package mythtv-frontend.
> Preparing to unpack 
> .../mythtv-frontend_2%3a30.0+fixes.201902190256.2603424~ubuntu18.04.1_amd64.deb 
> ...
> Unpacking mythtv-frontend 
> (2:30.0+fixes.201902190256.2603424~ubuntu18.04.1) ...
> Preparing to unpack 
> .../mythtv-dbg_2%3a30.0+fixes.201902190256.2603424~ubuntu18.04.1_amd64.deb 
> ...
> Unpacking mythtv-dbg (2:30.0+fixes.201902190256.2603424~ubuntu18.04.1) 
> ...
> 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/mythtv-dbg_2%3a30.0+fixes.201902190256.2603424~ubuntu18.04.1_amd64.deb 
> (--unpack):
>  cannot copy extracted data for 
> './usr/lib/debug/.build-id/67/2ca3c3eaba0502dbc8be4c8fa1ff418281bad5.debug' 
> to 
> '/usr/lib/debug/.build-id/67/2ca3c3eaba0502dbc8be4c8fa1ff418281bad5.debug.dpkg-new': 
> unexpected end of file or stream
> Errors were encountered while processing:
>  /var/cache/apt/archives/mythtv-common_2%3a30.0+fixes.201902190256.2603424~ubuntu18.04.1_amd64.deb 
>
>  /var/cache/apt/archives/mythtv-dbg_2%3a30.0+fixes.201902190256.2603424~ubuntu18.04.1_amd64.deb 
>
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
To fix this I had to clear the /var/cache/apt/myth* files out and 
reinstall.  It must have been a bad download.

Jim A



More information about the mythtv-users mailing list