centos losf 安装_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!

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值