Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 9 of 9
  1. #1
    Member
    Join Date
    Nov 2004
    Posts
    27

    Default Help with YUM

    When i am trying to run yum update:

    YumRepo Warning: not using ftp, http[s], 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. #2
    Registered User
    Join Date
    May 2008
    Posts
    2

    Default

    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. #3
    Member
    Join Date
    Nov 2004
    Posts
    27

    Default

    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/...2.6-5.i386.rpm
    Retrieving http://mirror.centos.org/centos-5/5/...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. #4
    Member
    Join Date
    May 2006
    Location
    Johannesburg, South Africa
    Posts
    944
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by modevps.com View Post
    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
    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.
    • cPanel :: Fantastico :: RVSkin :: WHM :: ModernBill
    • Reseller Hosting :: SSL Certificates :: Domain Registrations :: Affiliate Program
    • Blog Hosting :: CMS Hosting :: Forum Hosting :: E-Commerce Hosting
    SoftDux- The Leaders in Software
    Use the coupon: cpanel-06 to get 20% off our packages

  5. #5
    Member
    Join Date
    Nov 2004
    Posts
    7

    Default

    Could you post your /var/cache/yum/base/mirrorlist.txt file?

  6. #6
    Member
    Join Date
    Sep 2007
    Posts
    29

    Default

    I have same problem anyone can help?

  7. #7
    Member
    Join Date
    Jun 2005
    Location
    Den Haag
    Posts
    120

    Default

    Use the steps above you
    Did you know that cPanel doesn't count ftp traffic from and to an users account? Do you want it fixed? Vote for this bug http://bugzilla.cpanel.net/show_bug.cgi?id=6463

  8. #8
    Member
    Join Date
    Sep 2007
    Posts
    29

    Default

    that step cant resolve my prblem

  9. #9
    Member
    Join Date
    Jun 2005
    Location
    Den Haag
    Posts
    120

    Default

    Quote Originally Posted by nixell View Post
    that step cant resolve my prblem
    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.
    Did you know that cPanel doesn't count ftp traffic from and to an users account? Do you want it fixed? Vote for this bug http://bugzilla.cpanel.net/show_bug.cgi?id=6463

Similar Threads & Tags
Similar threads

  1. CentOS 5.5 > 5.6 via yum
    By radeonpower in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 04-16-2011, 07:50 AM
  2. YUM ....Please assist !!!
    By furquan in forum Security
    Replies: 0
    Last Post: 01-19-2011, 12:43 AM
  3. yum error
    By Zion Ahead in forum cPanel and WHM Discussions
    Replies: 14
    Last Post: 04-27-2007, 05:05 PM
  4. RHEL with Yum
    By dee_at_candl in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 05-13-2005, 12:27 PM
  5. yum help
    By cooldude7273 in forum cPanel and WHM Discussions
    Replies: 19
    Last Post: 03-02-2005, 03:36 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube