CentOS 7 yum update 报错 Failed to connect to 2404:6800:4012::200e: Network is unreachable
CentOS 7 安装了k8s之后,在/etc/yum.repos.d 会生成一个kubernetes.repo文件,这样就导致代理链接到了google;
所以在使用yum 指令安装或更新时就会报错:
解决方法:
步骤1:在利用yum安装或更新之前,先对kubernetes.repo文件进行修改,将kubernetes.repo修改为kubernetes.repo.bak
mv kubernetes.repo kubernetes.repo.bak
结果如图:
步骤2:修改之后就可以用yum安装或更新了
步骤3:利用yum安装或更新完之后,需要将kubernetes.repo.bak文件还原回kubernetes.repo,否则k8s就无法使用了
CentOS 7 yum update 报错 Failed to connect to 2404:6800:4012::200e: Network is unreachable相关推荐
- centos在yum install报错:Another app is currently holding the yum lock解决方法
centos在yum install报错:Another app is currently holding the yum lock解决方法 参考文章: (1)centos在yum install报错 ...
- mycat重启报错Failed to connect to the Wrapper at port解决方法
mycat重启报错Failed to connect to the Wrapper at port解决方法 参考文章: (1)mycat重启报错Failed to connect to the Wra ...
- Fedora或CentOS运行dnf update报错
今天我照常打开电脑,随手运行了一句sudo dnf update,然后屏幕输出了一堆错误信息,我挨个删除仓库,最后事情越搞越乱,只好把除了NVIDIA以外的更新源全删了. 这下芭比Q了,虽然现在执行更 ...
- 登录mysql报错Failed to connect to backoff 或 Failed to get D-Bus connection: Operation not permitted解决方法
报错: Failed to get D-Bus connection: Operation not permitted 或 mysql -u root -p 登录mysql时报错 2020-09-16 ...
- 解决 github 报错 Failed to connect to github.com port 443:connection timed out
一.前言 你在使用github的时候,是不是会经常出现Failed to connect to github.com port 443:connection timed out报错,这是什么原因造成的 ...
- Github报错——Failed to connect to github.com port 443: Timed out
出现的问题 用 github 上传文件,已经很久没出过错了,今天上传的时候,出现了超时的错误.就是下面这样 fatal: unable to access 'https://github.com/pr ...
- jenkins打包报错Failed to connect to repository : Command “/usr/bin/git ls-remote -h -- http://git.c5game
Failed to connect to repository : Command "/usr/bin/git ls-remote -h -- http://git.c5game.com/c ...
- centos yum update 报错 Delta RPMs disabled because /usr/bin/applydeltarpm not installed 解决方法
解决方法:yum install deltarpm -y 问题原因:需要安装 applydeltarpm 解决过程:先使用provides命令,查看是哪个包提供applydeltarpm [root@ ...
- centos执行yum命令报错,There are no enable repos
综合各种答案,归结原因有两大类 一:当前系统不支持yum工具 Linux系统分为两大类 RedHat系列:Redhat.Centos.Fedora.... 使用yum管理包,使用rpm命令安装rpm包 ...
- LSF - 提交GUI应用到LSF无法运行,报错Failed to connect to socket /tmp/dbus-xxxxxxxxx: Connection refused
问题描述 提交GUI应用到LSF无法运行,如下所示 问题分析 这种GUI应用,不能以交互式的方式提交.提交命令换成bsub firefox即可.
最新文章
- java中final关键字的使用
- a55 matlab排列组合_matlab常用的排列组合
- wxWidgets:wxConfig 概述
- c#怎么做windows窗体小程序_个人想做微信小程序怎么做?
- 解决echart中:Cannot read property ‘queryComponents‘ of undefined
- 2017.3.16 聪聪可可 思考记录(非常不容易)
- 前端开发人员需知——浏览器详解
- Java网络编程——Socket
- JavaScript学习(八十九)—数组练习题
- 初学Java,第一段代码
- 计算机网络网络层之层次路由
- Unix/Linux的内存映射
- windows 系统新建 vue 项目的坑
- 嵌入式开发--Altuim Designer生成的PCB文件过大,及其他日常技巧
- 用matlab如何求导,matlab如何求导 matlab求导 matlab如何求导
- Android Lolipop AssetAtlasService引起的系统崩溃
- 【bioinfo】bbtools:bbmerge 二代测序reads合并工具了解
- 定制Android模拟器skin
- 使用excel进行数据挖掘(4)---- 突出显示异常值
- 关于启动 vue 项目出现 98% after emitting CopyPlugin 问题的出现