加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Linux > 正文

在做apt-get util-linux时我遇到了Segmentation故障

发布时间:2020-12-14 02:52:17 所属栏目:Linux 来源:网络整理
导读:我发现很多升级命令和我系统上的Apache都出现了Segmentation故障.我不知道这是否是主要的,但很多软件包依赖于util- linux: root@myUbuntuHardyHeronServer:~# apt-get install util-linuxReading package lists... DoneBuilding dependency treeReading sta
我发现很多升级命令和我系统上的Apache都出现了Segmentation故障.我不知道这是否是主要的,但很多软件包依赖于util- linux:
root@myUbuntuHardyHeronServer:~# apt-get install util-linux
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
  util-linux
1 upgraded,0 newly installed,0 to remove and 72 not upgraded.
20 not fully installed or removed.
Need to get 0B/441kB of archives.
After this operation,0B of additional disk space will be used.
(Reading database ... 20547 files and directories currently installed.)
Preparing to replace util-linux 2.13.1-5ubuntu2 (using .../util-linux_2.13.1-5ub
untu3.1_i386.deb) ...
Unpacking replacement util-linux ...
Segmentation fault
dpkg: warning - old post-removal script returned error exit status 139
dpkg - trying script from the new package instead ...
Segmentation fault
dpkg: error processing /var/cache/apt/archives/util-linux_2.13.1-5ubuntu3.1_i386
.deb (--unpack):
 subprocess new post-removal script returned error exit status 139
Segmentation fault
dpkg: error while cleaning up:
 subprocess post-removal script returned error exit status 139
Errors were encountered while processing:
 /var/cache/apt/archives/util-linux_2.13.1-5ubuntu3.1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

解决方法

第一种方式:
您必须从packages.ubuntu.com下载dpkg软件包并进行安装.

第二种方式:你必须从packages.ubuntu.com下载dpkg软件包,并在/usr/bin中将它和cp dpkg一起下载

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读