在 Ubuntu 13.04 中安装 DraftSight 时出现读取错误

在 Ubuntu 13.04 中安装 DraftSight 时出现读取错误
root@porjecta:/# gdebi draftSight.deb 
Reading package lists... Done
Building dependency tree        
Reading state information... Done
Building data structures... Done 
Building data structures... Done 

With DraftSight, you can easily create professional CAD drawings. Supported file formats are DWT, DXF and DWG.
Do you want to install the software package? [y/N]:y
(Reading database ... 213876 files and directories currently installed.)
Unpacking dassault-systemes-draftsight (from draftSight.deb) ...
access control disabled, clients can connect from any host
access control disabled, clients can connect from any host
access control disabled, clients can connect from any host
access control enabled, only authorized clients can connect
access control enabled, only authorized clients can connect
access control enabled, only authorized clients can connect
dpkg-deb (subprocess): decompressing archive member: internal gzip read error: '<fd:4>: invalid stored block lengths'
dpkg-deb (subprocess): cannot copy archive member from 'draftSight.deb' to decompressor pipe: failed to write (Broken pipe)
dpkg-deb: error: subprocess <decompress> returned error exit status 2
dpkg: error processing draftSight.deb (--install):
 cannot copy extracted data for './opt/dassault-systemes/draftsight/Help/korean/korean.qch' to '/opt/dassault-systemes/draftsight/Help/korean/korean.qch.dpkg-new': unexpected end of file or stream
Errors were encountered while processing:
 draftSight.deb

答案1

在终端上尝试这两个命令,

sudo apt-get clean
gdebi draftSight.deb 

如果不起作用,请尝试draftSight.deb运行后重新下载文件 sudo apt-get clean

相关内容