无法安装 ubuntu 14.04 软件包

无法安装 ubuntu 14.04 软件包

我尝试安装网络管理器,因为 2016 年 5 月 13 日的更新破坏了它。无论如何,几乎没有问题。我从另一台计算机下载了网络管理器network-manager_0.9.8.8-0ubuntu7.3_amd64.deb,并将其传输到 ubuntu 机器上,当我尝试安装它时,它抛出了这些错误:嗯,无法上传图片,所以这里输入错误消息

    Selecting previously unselected package network-manager.
(Reading database ... 437422 files and directories currently installed.)
Preparing to unpack network-manager_0.9.8.8-0ubuntu7.3_amd64.deb ...
Unpacking network-manager (0.9.8.8-0ubuntu7.3) ...
dpkg: dependency problems prevent configuration of network-manager:
 network-manager depends on libmm-glib0 (>= 0.7.991); however:
  Package libmm-glib0:amd64 is not installed.
 network-manager depends on dnsmasq-base; however:
  Package dnsmasq-base is not installed.

dpkg: error processing package network-manager (--install):
 dependency problems - leaving unconfigured
Processing triggers for ureadahead (0.100.0-16) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Errors were encountered while processing:
 network-manager

然后我下载了这些软件包并将它们传输到 ubuntu 机器上,当我尝试安装它们时,出现了以下错误:

尝试安装 lidmm 时出错:

(Reading database ... 437460 files and directories currently installed.)
Preparing to unpack libmm-glib0_1.0.0-2ubuntu1_amd64.deb ...
Unpacking libmm-glib0:amd64 (1.0.0-2ubuntu1) ...
dpkg-deb (subprocess): cannot copy archive member from 'libmm-glib0_1.0.0-2ubuntu1_amd64.deb' to decompressor pipe: unexpected end of file or stream
dpkg-deb (subprocess): decompressing archive member: lzma error: unexpected end of input
dpkg-deb: error: subprocess <decompress> returned error exit status 2
dpkg: error processing archive libmm-glib0_1.0.0-2ubuntu1_amd64.deb (--install):
 subprocess dpkg-deb --fsys-tarfile returned error exit status 2
Errors were encountered while processing:
 libmm-glib0_1.0.0-2ubuntu1_amd64.deb

尝试安装 DNS 时出错:

(Reading database ... 437460 files and directories currently installed.)
Preparing to unpack dnsmasq-base_2.68-1ubuntu0.1_amd64.deb ...
Unpacking dnsmasq-base (2.68-1ubuntu0.1) ...
dpkg-deb (subprocess): decompressing archive member: lzma error: compressed data is corrupt
dpkg-deb: error: subprocess <decompress> returned error exit status 2
dpkg: error processing archive dnsmasq-base_2.68-1ubuntu0.1_amd64.deb (--install):
 cannot copy extracted data for './usr/sbin/dnsmasq' to '/usr/sbin/dnsmasq.dpkg-new': unexpected end of file or stream
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Errors were encountered while processing:
 dnsmasq-base_2.68-1ubuntu0.1_amd64.deb

2016 年 5 月 13 日更新后,Ubuntu 开始一直抛出错误。感谢您的回复!

答案1

软件包文件libmm-glib0_1.0.0-2ubuntu1_amd64.debdnsmasq-base_2.68-1ubuntu0.1_amd64.deb已损坏。请确保它们已正确传输,然后重试。

相关内容