centos 安装gcc时,出错:Found 10 pre-existing rpmdb problem(s), 'yum check' output follows:

别人折腾的系统。

刚开始,准备安装下tornado,报错,需要安装 gcc 和 python-devel

gcc安装报错,如标题所示:

谷歌了一把:

http://stackoverflow.com/questions/26484593/having-problems-installing-bzr-on-centos-6-5

发现上面这个描述比较接近,貌似是版本库不对,于是看下版本库的配置( /etc/yum.repos.d/),

发现  CentOS-Base.repo 被给重命名为了 CentOS-Base.repo.back, 大概之前的大侠是脱机安装的系统。于是给改了回来。

yum update 了一把(因为系统版本比要求的低),于是乎,系统版本和安装问题全部搞定,好木有成就感。

其他的有一些资源:

https://www.centos.org/forums/viewtopic.php?t=2576

貌似不错,不过没有绕那么大的圈子来折腾。

附带中科大的镜像站:http://centos.ustc.edu.cn/

centos 安装gcc时,出错:Found 10 pre-existing rpmdb problem(s), 'yum check' output follows:

时间: 2024-08-02 17:36:16

centos 安装gcc时,出错:Found 10 pre-existing rpmdb problem(s), 'yum check' output follows:的相关文章

CentOS 安装软件时,错误Transaction check error ... file...conflicts with file from package zzz的解决

CentOS 安装软件时(比如:# yum install subversion),有时候会碰到类似如下的错误: Transaction check error: file /usr/lib64/libsvn_client-1.so.0.0.0 from install of subversion-1.8.11-1.x86_64 conflicts with file from package subversion-libs-1.7.14-7.el7_0.x86_64 file /usr/lib

关于在64位win7下运行Virtualbox安装系统时出错(提示VBoxDD.DLL错误)的解决方案

转载自:http://blog.sina.com.cn/s/blog_4dc988240102vj8a.html 安装没有问题,安装了最新版VirtualBox-4.3.18-96516-Win,一点运行想安装系统时就出错. 这是提示的错误: 运行Virtualbox去安装系统时出错:Failed to open a session for the virtual machine,Unable to load R3 module xxxx/VBoxDD.DLL(VBoxDD),GetLastEr

linux安装phpmyadmin时出错

linux安装phpmyadmin时出错, 提示 无法载入 mysql 扩展,请检查 PHP 配置 - 文档 解决方法: #yum -y install php-mysql #service httpd restart linux安装phpmyadmin时出错

【Error】Python安装gevent时出错:“致命错误: Python.h:没有那个文件或目录”

Python Web开发时,为了获得极高的并发性能,需要使用gevent,在Linux下用python的包安装工具pip安装gevent时:sudo pip install gevent,出现如下错误: 致命错误: Python.h:没有那个文件或目录 这种情况是因为没有安装python-dev,所以只需要安装python-dev之后再安装gevent就不会出错了. 安装python-dev命令:sudo apt-get install python-dev 最近在用gunicorn+geven

运行Virtualbox去安装系统时出错:Failed to open a session for the virtual machine,Unable to load R3 module xxxx/VBoxDD.DLL(VBoxDD)

貌似看到不少人(1,2,3),在使用Virtualbox去安装系统时,都遇到这个错误: 比如这里遇到的: 截图: 和另外这里的截图: 加文字描述: Failed to open a session for the virtual machine windows XP. Unable to load R3 module D:\C语言\New Folder/VBoxDD.DLL (VBoxDD): GetLastError=126 (VERR_MODULE_NOT_FOUND). Result Co

CentOS安装系统时硬盘分区建议

一.常见挂载点的情况说明一般来说,在linux系统中都有最少两个挂载点,分别是/ (根目录)及 swap(交换分区),其中,/ 是必须的: 详细内容见下文: 安装系统时选择creat custom layout 自定义分区建议挂载的几大目录: /  根目录,存放系统命令和用户数据等  /boot    boot loader 的静态链接文件,存放与Linux启动相关的程序 /home    用户目录,存放普通用户的数据 /tmp    临时文件 /usr    是Red Hat Linux系统存

安装appach时出现没有安装gcc的错误,用yum安装gcc时yum出现错误(修改yum配置)

yum的作用是从源读取软件列表,然后安装. yum首先需要我们自己更换可用的源,并且配置好才能方便地使用. 在自己安装的CentOS6.5中使用yum安装软件,总是提示404错误信息,百度后发现原来要设置yum源. 设置yum源按照网上的步骤终于成功啦,这里的得出的一点结论是新装的centos系统还要做更换修改yum源的操作,原因是系统自带的源基本是为了服务器的稳定,所以软件版本很旧(但是的却很稳定).可是程序更新换代并不只是版本号的变化,很多新功能.新技术.安全更新被添加进去,适当的使用新版软

安装mysql时出错。无法初始化。 libstdc++.so.5

./bin/mysqld: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or dire 可以看出缺少库文件 libstdc++.so.5. 到官方下载:wget http://mirror.centos.org/centos/ ... 3-69.el6.x86_64.rpm 安装:rpm -ivh compat-libstdc++-33-3.2

CentOS安装gcc报错的问题

安装记录: 系统:centos5.4 分别执行如下命令: 命令代码 yum -y install gcc yum -y install-c++ www.ahlinux.com yum install make 会报错: Loaded plugins: fastestmirror Determining fastest mirrors 解决办法: 命令代码 echo "alias yum='yum --disableplugin=fastestmirror'" >> /roo