gpt4 book ai didi

linux - Yum 在 'Loading mirror speeds' 或 'Setting package sacks' 卡住

转载 作者:塔克拉玛干 更新时间:2023-11-03 01:37:57 25 4
gpt4 key购买 nike

[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 检查更新'

以及这些的变体。到目前为止还没有解决它。我也试过重启 VPS 但没有成功。

目前运行的是 CentOS 5.6(最终版)。任何帮助,将不胜感激。我的目标是最终安装 GCC,因为我缺少 gcc 源代码的编译器。

谢谢。

最佳答案

您在 VPS 上有多少内存,正在运行哪些进程? Yum 不能在低内存的 VPS 上运行。它会死的。

关于linux - Yum 在 'Loading mirror speeds' 或 'Setting package sacks' 卡住,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13369268/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com