Linux 红帽 5.5

-5 linux

5

但是当我使用时 yum 不起作用

[root@localhost ~]# rpm -q yum yum-3.2.22-26.el5

当我跑步时

[root@localhost ~]# yum update
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Skipping security plugin, no data
Setting up Update Process
No Packages marked for Update
Run Code Online (Sandbox Code Playgroud)

当我尝试安装另一个版本的 yum 时,它给出了

[root@localhost ~]# rpm -ivh yum-3.2.29-30.el6.noarch.rpm 
warning: yum-3.2.29-30.el6.noarch.rpm: Header V4 DSA signature: NOKEY, key ID 192a7d7d
error: Failed dependencies:
        pygpgme is needed by yum-3.2.29-30.el6.noarch
        python(abi) = 2.6 is needed by yum-3.2.29-30.el6.noarch
        python-urlgrabber >= 3.9.0-8 is needed by yum-3.2.29-30.el6.noarch
        rpmlib(FileDigests) <= 4.6.0-1 is needed by yum-3.2.29-30.el6.noarch
        rpmlib(PayloadIsXz) <= 5.2-1 is needed by yum-3.2.29-30.el6.noarch
        yum-basearchonly conflicts with yum-3.2.22-26.el5.noarch
        yum-skip-broken conflicts with yum-3.2.22-26.el5.noarch
Run Code Online (Sandbox Code Playgroud)

请帮助我如何使用 yum

Sve*_*ven 5

它明确指出您的系统未在 RedHat 注册,这是获取安全更新所必需的。购买/注册支持许可证或切换到其他东西(如 CentOS)。