linux yum安装lsof命令

[root@ITC-MCC ~]# yum install lsof
[USM] permission denied
^C
[root@ITC-MCC ~]#
[root@ITC-MCC ~]#

[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

Dependencies Resolved

=======================================================================================================================================
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

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

Complete!

posted @ 2019-03-14 12:18 祺祺怪怪的 阅读(...) 评论(...) 编辑 收藏