2 liuzhen6835 liuzhen6835 于 2016.04.26 09:41 提问

Centos7最新版本添加mosquito源失败,求指点

根据https://github.com/1dot75cm/myrepo中Centos7

RHEL/CentOS 6/7 不包含 dnf 软件包,使用以下命令添加源:

yum-config-manager --add-repo=https://copr.fedoraproject.org/coprs/mosquito/myrepo/repo/epel-$(rpm -E %?rhel)/mosquito-myrepo-epel-$(rpm -E %?rhel).rep

执行这个的时候Could not fetch/save url https://copr.fedoraproject.org/coprs/mosquito/myrepo/repo/epel-7/mosquito-myrepo-epel-7.repo to file /etc/yum.repos.d/mosquito-myrepo-epel-7.repo: [Errno 14] HTTPS Error 404 - Not Found

yum install epel-release

执行后是Package epel-release-7-6.noarch already installed and latest version,说明我曾经已经安装了

yum localinstall http://li.nux.ro/download/nux/dextop/el$(rpm -E %rhel)/x86_64/nux-dextop-release-0-2.el$(rpm -E %rhel).nux.noarch.rpm http://download1.rpmfusion.org/nonfree/el/updates/$(rpm -E %rhel)/x86_64/rpmfusion-nonfree-release-$(rpm -E %rhel)-1.noarch.rpm http://download1.rpmfusion.org/free/el/updates/$(rpm -E %rhel)/x86_64/rpmfusion-free-release-$(rpm -E %rhel)-1.noarch.rpm

执行结果是Cannot open: http://download1.rpmfusion.org/nonfree/el/updates/7/x86_64/rpmfusion-nonfree-release-7-1.noarch.rpm. Skipping.
Cannot open: http://download1.rpmfusion.org/free/el/updates/7/x86_64/rpmfusion-free-release-7-1.noarch.rpm. Skipping.

1个回答

CSDNXIAON
CSDNXIAON   2016.04.26 17:52

centos 升级内核到最新版本
----------------------同志你好,我是CSDN问答机器人小N,奉组织之命为你提供参考答案,编程尚未成功,同志仍需努力!

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!