美文网首页
E: Package 'openswan' ha

E: Package 'openswan' ha

作者: yhyok | 来源:发表于2017-06-06 16:44 被阅读851次

    解决办法:
    1.vi /etc/apt/sources.list.d/lzu.list (没有lzu.list这个文件的话,会增加这个文件)
    编辑,添加如下内容,保存退出

    deb http://mirror.lzu.edu.cn/ubuntu/ precise main restricted universe multiverse
    deb http://mirror.lzu.edu.cn/ubuntu/ precise-security main restricted universe multiverse
    deb http://mirror.lzu.edu.cn/ubuntu/ precise-updates main restricted universe multiverse
    deb http://mirror.lzu.edu.cn/ubuntu/ precise-proposed main restricted universe multiverse
    deb http://mirror.lzu.edu.cn/ubuntu/ precise-backports main restricted universe multiverse
    deb-src http://mirror.lzu.edu.cn/ubuntu/ precise main restricted universe multiverse
    deb-src http://mirror.lzu.edu.cn/ubuntu/ precise-security main restricted universe multiverse
    deb-src http://mirror.lzu.edu.cn/ubuntu/ precise-updates main restricted universe multiverse
    deb-src http://mirror.lzu.edu.cn/ubuntu/ precise-proposed main restricted universe multiverse
    deb-src http://mirror.lzu.edu.cn/ubuntu/ precise-backports main restricted universe multiverse

    2.更新
    sudo apt-get update

    3.安装
    apt-get install openswan

    相关文章

      网友评论

          本文标题:E: Package 'openswan' ha

          本文链接:https://www.haomeiwen.com/subject/nufnfxtx.html