无法更新 util-linux

无法更新 util-linux
sudo apt-get install util-linux 

 Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following package was automatically installed and is no longer required:
  libllvm3.8
Use 'sudo apt autoremove' to remove it.
Suggested packages:
  util-linux-locales
The following packages will be upgraded:
  util-linux
1 upgraded, 0 newly installed, 0 to remove and 38 not upgraded.
Checking index: http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial-updates_main_binary-amd64_Packages)(Trusted=1)
Need to get 0 B/849 kB of archives.
After this operation, 1,024 B of additional disk space will be used.
(Reading database ... 211924 files and directories currently installed.)
Preparing to unpack .../util-linux_2.27.1-6ubuntu3.3_amd64.deb ...
Unpacking util-linux (2.27.1-6ubuntu3.3) over (2.27.1-6ubuntu3) ...
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 /var/cache/apt/archives/util-linux_2.27.1-6ubuntu3.3_amd64.deb (--unpack):
 cannot copy extracted data for './sbin/ctrlaltdel' to '/sbin/ctrlaltdel.dpkg-new': unexpected end of file or stream
insserv: warning: script 'wildfly' missing LSB tags and overrides
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for systemd (229-4ubuntu21) ...
Errors were encountered while processing:
 /var/cache/apt/archives/util-linux_2.27.1-6ubuntu3.3_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

答案1

我已经通过此链接修复了这个问题

http://www.iasptk.com/ubuntu-fix-broken-package-best-solution/

相关内容