Yum
centos 4升级yum后yum不能使用解决办法。 Yum fails "GLib-CRITICAL" yum check-update (process:25406): GLib-CRITICAL **: file gtimer.c: line 106 (g_timer_stop): assertion `timer != NULL' failed (process:25406): GLib-CRITICAL **: file gtimer.c: line 88 (g_timer_destroy): assertion `timer != NULL' failed TypeError: Can not create index on requires table: near "NOT": syntax error 方法: rpm -Uvh http://mirrors.sohu.com/centos/4.8/os/i386/CentOS/RPMS/sqlite-3.3.6-2.i386.rpm rpm -Uvh http://mirrors.sohu.com/centos/4.8/os/i386/CentOS/RPMS/sqlite-devel-3.3.6-2.i386.rpm 然后 mv /etc/yum.repos.d/CentOS-Base.repo [...]
yum search fastestmirror yum install yum-fastestmirror* -y yum update yum* yum update kernel* yum update CentOS 中国科学技术大学 USTC mirror(每小时更新一次) http://centos.ustc.edu.cn/ cd /etc/yum.repos.d mv CentOS-Base.repo CentOS-Base.repo.save-`date +%F` wget http://centos.ustc.edu.cn/CentOS-Base.repo.5 mv CentOS-Base.repo.5 CentOS-Base.repo centos 4: cd /etc/yum.repos.d mv CentOS-Base.repo CentOS-Base.repo.save wget http://centos.ustc.edu.cn/CentOS-Base.repo sohu开源镜像站 http://mirrors.sohu.com/help/centos.html wget http://mirrors.sohu.com/help/CentOS-Base-sohu.repo yum makecache 生成缓存 网易开源镜像站 http://mirrors.163.com/.help/centos.html wget http://mirrors.163.com/.help/CentOS-Base-163.repo yum makecache 生成缓存 * [...]
近期评论