Server 16.04 更新问题

Server 16.04 更新问题

Linux 新手…这是读数

Unpacking util-linux (2.27.1-6ubuntu3.4) over (2.27.1-6ubuntu3.3) ...
dpkg: error processing archive /var/cache/apt/archives/util-linux_2.27.1-6ubuntu3.4_amd64.deb (--unpack):
 unable to move aside './usr/bin/whereis' to install new version: Structure needs cleaning
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for systemd (229-4ubuntu21.1) ...
Processing triggers for ureadahead (0.100.0-19) ...
Errors were encountered while processing:
 /var/cache/apt/archives/util-linux_2.27.1-6ubuntu3.4_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

任何帮助和理由都将不胜感激。

答案1

我只知道一个paste可执行文件(/usr/bin/paste),它包含在coreutils包中。你可以使用以下命令重新安装它:

sudo apt-get install --reinstall coreutils

如果此方法无效,您可以尝试以下操作。
通常绝对不建议这样做,但在极少数情况下,我建议您使用以下命令手动解压 deb 包的内容:

sudo dpkg -x /var/cache/apt/archives/util-linux_2.27.1-6ubuntu3.4_amd64.deb /

相关内容