我正在尝试安装 Microsoft Edge,但收到此错误:
sudo dpkg -i microsoft-edge-stable_97.0.1072.55-1_amd64.deb
(Reading database ... 200165 files and directories currently installed.)
Preparing to unpack microsoft-edge-stable_97.0.1072.55-1_amd64.deb ...
Unpacking microsoft-edge-stable (97.0.1072.55-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 microsoft-edge-stable_97.0.1072.55-1_amd64.deb (--install):
cannot copy extracted data for './opt/microsoft/msedge/locales/vi.pak' to '/opt/microsoft/msedge/locales/vi.pak.dpkg-new': unexpected end of file or stream
Errors were encountered while processing:
microsoft-edge-stable_97.0.1072.55-1_amd64.deb
我如何安装该浏览器?
答案1
看一下关键错误信息的结尾:
dpkg: error processing archive microsoft-edge-stable_97.0.1072.55-1_amd64.deb (--install):
cannot copy extracted data for './opt/microsoft/msedge/locales/vi.pak' to '/opt/microsoft/msedge/locales/vi.pak.dpkg-new': unexpected end of file or stream
用通俗的语言来说就是:“文件或流意外结束“
您下载的 .deb 包不完整。
删除您已有的内容,然后再次下载.deb。