The Community Forums

Interact with an entire community of cPanel & WHM users.
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Help with YUM

Discussion in 'General Discussion' started by Mariusz Jokiel, Aug 17, 2008.

  1. Mariusz Jokiel

    Mariusz Jokiel Active Member

    Joined:
    Nov 8, 2004
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    When i am trying to run yum update:

    YumRepo Warning: not using ftp, http, or file for repos, skipping - $releasever is not a valid release or hasnt been released yet
    removing mirrorlist with no valid mirrors: //var/cache/yum/base/mirrorlist.txt
    Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again

    I have CentOS 5.
     
  2. modevps.com

    modevps.com Registered

    Joined:
    May 3, 2008
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    Do you have a VPS Provider ? or VPS cllinte ?


    if you have a node login ssh and type this command :
    Code:
    rpm -Uvh http://mirror.centos.org/centos-5/5/os/i386/CentOS/python-elementtree-1.2.6-5.i386.rpm
    rpm -Uvh http://mirror.centos.org/centos-5/5/os/i386/CentOS/python-iniparse-0.2.3-4.el5.noarch.rpm
    rpm -Uvh http://mirror.centos.org/centos-5/5/os/i386/CentOS/python-sqlite-1.1.7-1.2.1.i386.rpm
    rpm -Uvh http://mirror.centos.org/centos-5/5/os/i386/CentOS/rpm-python-4.4.2-48.el5.i386.rpm
    rpm -Uvh http://mirror.centos.org/centos-5/5/os/i386/CentOS/m2crypto-0.16-6.el5.2.i386.rpm
    rpm -Uvh http://mirror.centos.org/centos-5/5/os/i386/CentOS/python-urlgrabber-3.1.0-2.noarch.rpm
    rpm -Uvh http://mirror.centos.org/centos-5/5/os/i386/CentOS/yum-metadata-parser-1.1.2-2.el5.i386.rpm
    rpm -Uvh http://mirror.centos.org/centos-5/5/os/i386/CentOS/yum-3.2.8-9.el5.centos.1.noarch.rpm
    Code:
    yum -y update
    Regards,
    Mohamed
     
  3. Mariusz Jokiel

    Mariusz Jokiel Active Member

    Joined:
    Nov 8, 2004
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    I don't have VPS, but dedicates server.

    When i am trying to first RPM there is many errors about dependencies:

    root@f5 [~]# rpm -Uvh http://mirror.centos.org/centos-5/5/os/i386/CentOS/python-elementtree-1.2.6-5.i386.rpm
    Retrieving http://mirror.centos.org/centos-5/5/os/i386/CentOS/python-elementtree-1.2.6-5.i386.rpm
    error: Failed dependencies:
    libc.so.6 is needed by python-elementtree-1.2.6-5.i386
    libc.so.6(GLIBC_2.0) is needed by python-elementtree-1.2.6-5.i386
    libc.so.6(GLIBC_2.1.3) is needed by python-elementtree-1.2.6-5.i386
    libc.so.6(GLIBC_2.3.4) is needed by python-elementtree-1.2.6-5.i386
    libc.so.6(GLIBC_2.4) is needed by python-elementtree-1.2.6-5.i386
    libpthread.so.0 is needed by python-elementtree-1.2.6-5.i386
    python(abi) = 2.4 is needed by python-elementtree-1.2.6-5.i386
    python-abi = 2.4 is needed by python-elementtree-1.2.6-5.i386
    rtld(GNU_HASH) is needed by python-elementtree-1.2.6-5.i386
     
  4. SoftDux

    SoftDux Well-Known Member

    Joined:
    May 27, 2006
    Messages:
    983
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Johannesburg, South Africa
    cPanel Access Level:
    Root Administrator
    Mohamed, correct me if I'm wrong, but this won't fix his yum problems. This will only install certain python rpm, which he may not necessarily need, not could it be causing the problem.
     
  5. Wenters.com

    Wenters.com Member

    Joined:
    Nov 8, 2004
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Could you post your /var/cache/yum/base/mirrorlist.txt file?
     
  6. nixell

    nixell Active Member

    Joined:
    Sep 24, 2007
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    1
    I have same problem anyone can help?
     
  7. Freezer

    Freezer Well-Known Member

    Joined:
    Jun 13, 2005
    Messages:
    120
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Den Haag
    Use the steps above you
     
  8. nixell

    nixell Active Member

    Joined:
    Sep 24, 2007
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    1
    that step cant resolve my prblem
     
  9. Freezer

    Freezer Well-Known Member

    Joined:
    Jun 13, 2005
    Messages:
    120
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Den Haag
    Speaking in riddles will solve your problem.

    So if you want to receive any help, please be very specific and clear. If it's urgent, use the cpanel support system instead of the forums.
     
Loading...

Share This Page