zoukankan      html  css  js  c++  java
  • 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!

  • 相关阅读:
    微软算法100题25 查找连续最长的数字串
    微软算法100题24 就地逆序单链表
    微软算法100题21 数列中所有和为特定值的组合
    微软算法100题20 字符串转整数 atoi
    约瑟夫环
    微软算法100题17 字符串中找到第一个只出现一次的字符
    微软算法100题16 按层遍历二叉树
    微软算法100题15 求二元查找树的镜像
    微软算法100题14 在排序数组中找到和为指定数的任意两个元素
    NLP(十) 主题识别
  • 原文地址:https://www.cnblogs.com/qima/p/10529498.html
Copyright © 2011-2022 走看看