解决yum错误Error: requested datatype primary not available
服务器信息:
[mvj3@sdk2 ~]$ cat /proc/version
Linux version 2.6.18-194.el5 (mockbuild@ca-build10.us.oracle.com) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-48)) #1 SMP Mon Mar 29 22:10:29 EDT 2010
出错信息:
[mvj3@sdk2 ~]$ sudo yum install gettext-devel httpd-devel openssl-devel zlib-devel gcc gcc-c++ curl-devel expat-devel gettext-devel mysql-server mysql-devel libevent-devel mysql-devel mysql pcre pcre-devel libxml2-devel sqlite-devel ruby-devel -y
Loaded plugins: security
Error: requested datatype primary not available
[mvj3@sdk2 ~]$ sudo yum upgrade
Loaded plugins: security
Error: requested datatype primary not available
解决方案:
[mvj3@sdk2 ~]$ sudo yum clean all
Loaded plugins: security
Cleaning up Everything
[mvj3@sdk2 ~]$ sudo rpm --rebuilddb
转载于:https://www.cnblogs.com/kluan/p/4810346.html
解决yum错误Error: requested datatype primary not available相关推荐
- CentOS 7——yum错误[Error: rpmdb open failed]解决方案
问题描述 错误:rpmdb: BDB0113 Thread/process 12846/139645757323072 failed: BDB1507 Thread died in Berkeley ...
- Mysql1819_解决 MySQL 错误 - ERROR 1819 (HY000)
MySQL 5.7 为了增加系统安全性, 加入了 validate_password plugin, 可以自定 MySQL 使用者帐号密码的强度, 当建立 MySQL 帐号或者修改密码时, 密码强度不 ...
- 解决 yum时 Error: Protected multilib versions报错
CentOS下一键安装OpenStack时,在进行到 yum update 时提示有几个错误,按照提示 yum update --skip-broken 后,还有错误提示:Error: Protec ...
- 解决git错误: error: The following untracked working tree files would be overwritten by merge
在我本地上进行git pull的时候,出现这个错误: error: The following untracked working tree files would be overwritten by ...
- 解决git 错误error: failed to push some refs to......
错误信息: error: failed to push some refs to 'git@github.com:....." Updates were rejected because t ...
- 解决LinuxMysql1045错误ERROR 1045 (28000): Accessdenied for user ‘root‘@‘localhost‘ (using password: YES)
错误截图 解决方法 1.打开 vi /etc/my.cnf 找到[mysqld]段,并加入一行"skip-grant-tables" 2 . 输入:wq保存并退出 重启数据库 ...
- 解决pip错误ERROR: Cannot unpack file C:\Users\Administrator\AppData\Local\Temp\pip-unpack-gqvvcmix\simp
一.报错信息 博主使用清华源安装 sphinx包时,出现:ERROR: Cannot unpack file C:\Users\Administrator\AppData\Local\Temp\pip ...
- 解决yarn错误error An unexpected error occurred: “https://registry.yarnpkg.com/hardhat: ETIMEDOUT“.
在使用yarn安装依赖包时报错,提示信息:error An unexpected error occurred: "https://registry.yarnpkg.com/hardhat: ...
- Yum出错Error: Cannot find a valid baseurl for repo: addons
centos yum 错误 Error: Cannot find a valid baseurl for repo: addons 装了个CentOS 5.x,使用yum时出现了下面的错误提示. Lo ...
最新文章
- kali系统破解WPA密码实战
- MFC消息响应函数OnPaint
- 三招让你从求职者中脱颖而出(转)
- linux centos7 设置 grub2
- tomcat的访问日志
- WSAAccept()函数使用解析
- Linux ping ipv66,IPV6的测试-ipv6网卡配置-ipv6的nginx配置-ipv6的ping测试-ipv6的curl测试...
- c语言的point函数,C语言中friend友元函数详细解析
- WARNING:tensorflow:Entity <bound method GRUCell.call of <tensorflow.python.ops.rnn_cell_impl.GRUCell
- MATLAB中特殊图形的绘制
- bzoj 1013: [JSOI2008]球形空间产生器sphere(高斯消元)
- win10电脑显示无法自动修复此计算机,win10系统无法自动修复此计算机的操作步骤...
- 分布式Restful SpringBoot骨架搭建
- 长期有效的Google Adsense英文高单价关键词
- 动态规划——钢条切割
- app提示已到期_有了这个App的提醒,再也不用担心商品什么时候过期啦
- 【分布式版本控制系统】GIT 托管网站 客户端
- Ubuntu指令失效解决问题之一——错误配置环境变量
- A005:python 时间处理
- 记一次图片压缩内存溢出的问题
热门文章
- C++ 画星号图形——空心矩形(核心代码记录)
- 对天天开心消消乐(订餐系统)的建议
- 阻止表中出现重复项——SQL UNIQUE 约束
- 用VB.net开发.NET Micro Framework
- idea自动生成方法注释(含参数及返回值)
- C++实现平衡二叉树
- Git_Eclipse:[7]Git解决冲突
- iOS 多线程的简单理解(3)执行方式 + 执行对列 的组合
- Hibernate n+1问题
- 条款20 :宁以pass-by-reference-to-const 替换pass-by-value