我已经尝试了这个问题中的所有方法在 16.04 LTS 上安装 teamviewer 时出现问题但它仍然没有安装。
$ sudo dpkg -i /home/will/Downloads/teamviewer_12.0.76279_i386.deb
(Reading database ... 229286 files and directories currently installed.)
Preparing to unpack .../teamviewer_12.0.76279_i386.deb ...
Unpacking teamviewer:i386 (12.0.76279) ...
dpkg-deb (subprocess): cannot copy archive member from '/home/will/Downloads/teamviewer_12.0.76279_i386.deb' to decompressor pipe: unexpected end of file or stream
dpkg-deb (subprocess): decompressing archive member: internal bzip2 read error: 'UNEXPECTED_EOF'
dpkg-deb: error: subprocess <decompress> returned error exit status 2
dpkg: error processing archive /home/will/Downloads/teamviewer_12.0.76279_i386.deb (--install):
cannot copy extracted data for './opt/teamviewer/tv_bin/wine/lib/wine/winex11.drv.so' to '/opt/teamviewer/tv_bin/wine/lib/wine/winex11.drv.so.dpkg-new': unexpected end of file or stream
Errors were encountered while processing:
/home/will/Downloads/teamviewer_12.0.76279_i386.deb
答案1
讯息
internal bzip2 read error: 'UNEXPECTED_EOF'
表示文件比预期的要小。对于你的情况,我假设你的下载文件损坏了。
发生这种情况的原因有多种,但我建议稍后再次下载。