linux yum安装lsof命令

[root@ITC-MCC ~]# yum install lsof
[USM] permission denied
^C
[root@ITC-MCC ~]#
[root@ITC-MCC ~]#文章来源地址:https://www.yii666.com/article/756006.html

[root@ITC-MCC ~]# sudo yum install lsof
Loaded plugins: fastestmirror
Determining fastest mirrors
epel/x86_64/metalink | 6.0 kB 00:00:00
* epel: mirrors.tuna.tsinghua.edu.cn
base | 3.6 kB 00:00:00
epel | 4.7 kB 00:00:00
extras | 3.4 kB 00:00:00
mysql-connectors-community | 2.5 kB 00:00:00
mysql-tools-community | 2.5 kB 00:00:00
mysql57-community | 2.5 kB 00:00:00
updates | 3.4 kB 00:00:00
(1/4): extras/7/x86_64/primary_db | 180 kB 00:00:00
(2/4): updates/7/x86_64/primary_db | 2.5 MB 00:00:00
(3/4): epel/x86_64/updateinfo | 961 kB 00:00:00
epel/x86_64/primary_db FAILED
https://ftp.yz.yamagata-u.ac.jp/pub/linux/fedora-projects/epel/7/x86_64/repodata/20aebf15392d80a9764fa07643e092958e3db317e95b2f894b5e5df247935411-primary.sqlite.bz2: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below wiki article

https://wiki.centos.org/yum-errors

If above article doesn't help to resolve this issue please use https://bugs.centos.org/.

(4/4): epel/x86_64/primary_db | 6.6 MB 00:00:00
Resolving Dependencies
--> Running transaction check
---> Package lsof.x86_64 0:4.87-6.el7 will be installed
--> Finished Dependency Resolution文章来源地址https://www.yii666.com/article/756006.html

Dependencies Resolved网址:yii666.com<

=======================================================================================================================================
Package Arch Version Repository Size
=======================================================================================================================================
Installing:
lsof x86_64 4.87-6.el7 base 331 k

Transaction Summary
=======================================================================================================================================
Install 1 Package

Total download size: 331 k
Installed size: 927 k
Is this ok [y/d/N]: y
Downloading packages:
lsof-4.87-6.el7.x86_64.rpm | 331 kB 00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
** Found 2 pre-existing rpmdb problem(s), 'yum check' output follows:
2:postfix-2.10.1-7.el7.x86_64 has missing requires of libmysqlclient.so.18()(64bit)
2:postfix-2.10.1-7.el7.x86_64 has missing requires of libmysqlclient.so.18(libmysqlclient_18)(64bit)
Installing : lsof-4.87-6.el7.x86_64 1/1
Verifying : lsof-4.87-6.el7.x86_64 1/1文章地址https://www.yii666.com/article/756006.html

Installed:
lsof.x86_64 0:4.87-6.el7

Complete!网址:yii666.com

版权声明:本文内容来源于网络,版权归原作者所有,此博客不拥有其著作权,亦不承担相应法律责任。文本页已经标记具体来源原文地址,请点击原文查看来源网址,站内文章以及资源内容站长不承诺其正确性,如侵犯了您的权益,请联系站长如有侵权请联系站长,将立刻删除

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信图片_20190322181744_03.jpg

微信扫一扫打赏

请作者喝杯咖啡吧~

支付宝扫一扫领取红包,优惠每天领

二维码1

zhifubaohongbao.png

二维码2

zhifubaohongbao2.png