[root@LibertysLastArmy ~]# sudo yum -v update
Loading "fastestmirror" plugin
Config time: 0.067
Yum Version: 3.2.22
Setting up Package Sacks
Loading mirror speeds from cached hostfile
Exiting on user cancel
[root@LibertysLastArmy ~]# su root
[root@LibertysLastArmy ~]# su
[root@LibertysLastArmy ~]# su root
[root@LibertysLastArmy ~]# yum -v update
Loading "fastestmirror" plugin
Config time: 0.053
Yum Version: 3.2.22
Setting up Package Sacks
Loading mirror speeds from cached hostfile
Exiting on user cancel
[root@LibertysLastArmy ~]# yum --noplugins -v update
Config time: 0.076
Yum Version: 3.2.22
Setting up Package Sacks
Exiting on user cancel每当我尝试使用yum时,就会发生这种情况。我试过用yum clear all
我试过了所有的方法:
su -c 'rm -rf /var/lib/rpm/__db*‘su -c 'rpm --rebuilddb’su -c 'yum check-update‘
以及它们的变种。到目前为止,还没有任何东西可以修复它。我也尝试过重启VPS,但没有成功。
它目前运行的是CentOS 5.6 (最终版)。任何帮助都将不胜感激。我的目标是最终安装GCC,因为我缺乏针对gcc源代码的编译器。
谢谢。
发布于 2012-11-16 09:48:36
您在VPS上有多少内存,以及哪些进程正在运行?Yum不能在内存较低的VPS上运行。它会死的。
https://stackoverflow.com/questions/13369268
复制相似问题