• wget 经常无法正常安装?什么鬼


    执行:yum -y install wget,无法正常安装。

    Package wget-1.14-18.el7_6.1.x86_64 already installed and latest version
    Nothing to do

    卸载重新安装下,即可,执行:

    #先卸载
    yum remove wget
    #再安装
    yum -y install wget

    再执行:

    [root@VM-0-10-centos fast]# wget https://github.com/happyfish100/libfastcommon/archive/V1.0.7.tar.gz
    --2021-04-27 11:07:56--  https://github.com/happyfish100/libfastcommon/archive/V1.0.7.tar.gz
    Resolving github.com (github.com)... 192.30.255.112
    Connecting to github.com (github.com)|192.30.255.112|:443... connected.
    Unable to establish SSL connection.

    发现还是无法安装:

    解决方法

    加上跳过验证证书的参数“--no-check-certificate

    [root@VM-0-10-centos fast]# wget --no-check-certificate  https://github.com/happyfish100/libfastcommon/archive/V1.0.7.tar.gz
    --2021-04-27 11:15:53--  https://github.com/happyfish100/libfastcommon/archive/V1.0.7.tar.gz
    Resolving github.com (github.com)... 192.30.255.112
    Connecting to github.com (github.com)|192.30.255.112|:443... connected.
    ...                                                                                                                                                                                                                         ] 73,148       154KB/s   in 0.5s   
    2021-04-27 11:15:56 (154 KB/s) - ‘V1.0.7.tar.gz’ saved [73148]
    
    [root@VM-0-10-centos fast]# ll
    total 72
    -rw-r--r-- 1 root root 73148 Apr 27 11:15 V1.0.7.tar.gz
    [root@VM-0-10-centos fast]# 
    
  • 相关阅读:
    做了点数论的题
    2016日报总结
    2016在H3C
    2017春节小目标
    2016项目小总结
    明明的随机数
    计算字符个数
    字符串最后一个单词的长度
    字符串分隔
    考研回忆
  • 原文地址:https://www.cnblogs.com/dk1024/p/14708122.html
Copyright © 2020-2023  润新知