CRITICAL:yum.cli:Config Error: Error accessing file for config file:///etc/yum.conf

1,下载最新的yum-3.2.28.tar.gz并解压

#wget http://yum.baseurl.org/download/3.2/yum-3.2.28.tar.gz
#tar xvf yum-3.2.28.tar.gz

2,进入目录,运行安装

#cd yum-3.2.28
#./yummain.py install yum
如果提示错误: CRITICAL:yum.cli:Config Error: Error accessing file for config file:///etc/

是缺少配置文件。在etc目录下面新建yum.conf文件,然后再次运行 yummain.py install yum,顺利完成安装。

3,最后更新系统

#yum check-update
#yum update
#yum clean all

时间: 2024-10-08 10:53:24

CRITICAL:yum.cli:Config Error: Error accessing file for config file:///etc/yum.conf的相关文章

yum损坏报错: Error accessing file for config file:///h

yum损坏报错: CRITICAL:yum.cli:Config Error: Error accessing file for config file:///home/linux/+ wget http://yum.baseurl.org/download/3.2/yum-3.2.28.tar.gz 下载完成之后解压 tar -zxvf yum-3.2.28.tar.gz -C ./ 进入到 yum目录 cd yum-3.2.28 创建配置文件 touch /etc/yum.conf 安装yu

yum安装报错error: unpacking of archive failed on file /usr/bin/xxxx: cpio: open Failed

Bash漏洞爆出来了,赶紧更新一下补丁,#yum -y update bash 报错了 error: unpacking of archive failed on file /usr/bin/bashbug-64;54254708: cpio: open 参考了网上资料,原来是以前加固时给/usr/bin加了i权限 # lsattr /usr | grep bin ----i-----I-- /usr/bin # chattr -i /usr/bin 然后yum安装就OK了 参考资料:http:

error: readline/readline.h: No such file or directory

报如下错: [[email protected] rpy2-2.8.5]# python setup.py install R version 3.3.2 (2016-10-31) -- "Sincere Pumpkin Patch" /usr/lib64/R/bin/R CMD config --ldflags /usr/lib64/R/bin/R CMD config --cppflags Compilation parameters for rpy2's C components

出错mlogc.c:32:23: error: curl/curl.h: No such file or directory

出现下列错误: mlogc.c:32:23: error: curl/curl.h: No such file or directory mlogc.c:1091: error: expected ')' before '*' token mlogc.c: In function 'logc_init': 出错原因:缺少libcurl-dev or libcurl-devel centOS上安装依赖包: yum install libcurl-dev libcurl-devel 出错mlogc.

启动MongoDB时,提示:error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

启动MongoDB时,提示: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory [[email protected] ~]# /usr/local/mongodb/bin/mongod --dbpath=/usr/local/mongodb/data --logpath /usr/local/mongodb/logs/mon

lua.c:80:31: fatal error: readline/readline.h: No such file or directory

make linuxcd src && make linuxmake[1]: Entering directory `/root/lua/lua-5.3.2/src'make all SYSCFLAGS="-DLUA_USE_LINUX" SYSLIBS="-Wl,-E -ldl -lreadline"make[2]: Entering directory `/root/lua/lua-5.3.2/src'gcc -std=gnu99 -O2 -Wa

centos6.9安装xampp后报错:egrep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory

1.centos6.9安装xampp(xampp-linux-x64-7.0.21-0-installer.run)后启动的时候,报错: egrep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directoryegrep: error while loading shared libraries: libc.so.6: cannot open

error: openssl/md5.h: No such file or directory

出现:error: openssl/md5.h: No such file or directory 原因是openssl-devel没有安装,运行: yum install libssl-dev 就能够了 我用的Fodera找不到libssl-dev,就运行yum install openssl openssl-devel linux下apache+php安装常见问题 http://hi.baidu.com/easyphp/item/f0e4064c21679deea4c066c9 2) Ch

Fixed: The Windows Process Activation Service service terminated with the following error: The system cannot find the file specified

I'm not yet clear what I did, but I'm blogging it so it can be found if someone else has this issue. For whatever reason, last week both of my Vista 64-bit machines suddenly stopped being able to start IIS (Internet Information Server). The service j