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.

yum help

Discussion in 'General Discussion' started by cooldude7273, Feb 14, 2005.

  1. cooldude7273

    cooldude7273 Well-Known Member

    Joined:
    Jan 11, 2004
    Messages:
    363
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Roswell, GA
    I am using yum to upgrade from RH9 to Fedora Core 1 (then to Core 2).

    It all works fine until it gets to "Resolving dependencies" and it stays there for a long time then eventually times out!

    Whats going on? :confused:
     
  2. Blue|Fusion

    Blue|Fusion Well-Known Member

    Joined:
    Sep 12, 2004
    Messages:
    378
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Cleveland, Ohio
  3. cooldude7273

    cooldude7273 Well-Known Member

    Joined:
    Jan 11, 2004
    Messages:
    363
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Roswell, GA
    Bah!

    I'll pay someone here $10 to upgrade my server to Core 2... PM or IM me please!!

    I need help!!
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Why are you going to Fedora? And why to FC1 or FC2 which are no longer supported? I'd suggest going to a support enterprise OS such as RHE or CentOS.
     
  5. cooldude7273

    cooldude7273 Well-Known Member

    Joined:
    Jan 11, 2004
    Messages:
    363
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Roswell, GA
    I am getting mad. I think I am running Fedora Core 1 right now.

    Can somebody just get me to some freaking good OS?? I want Fedora 3, thats all I want!!!

    Ok, maybe RHE what ever is current version!! JUST HELP ME PLEASE! :eek:

    :confused:
     
  6. cooldude7273

    cooldude7273 Well-Known Member

    Joined:
    Jan 11, 2004
    Messages:
    363
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Roswell, GA
    WHM says I am running fedora, but I don't think the yum upgrade ever completed yesterday.

    how can i tell which core i am running?
     
  7. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
  8. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    To find out what you are running:

    cat /etc/redhat-release
     
  9. cooldude7273

    cooldude7273 Well-Known Member

    Joined:
    Jan 11, 2004
    Messages:
    363
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Roswell, GA
    I'm running Core 2 right now. What are my options without having me to reinstall any of cpanel/ my sites, etc.

    Thanks
     
  10. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    If you don't want to migrate your data to a new OS disk, then you're stuck on FC2 until such time as/when/if cPanel support FC3.
     
  11. cooldude7273

    cooldude7273 Well-Known Member

    Joined:
    Jan 11, 2004
    Messages:
    363
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Roswell, GA
    Okay, I guess I'll stick with Fedora then! Next challenge: get yum and up2date to work!

    When I try yum update:

    Code:
    root@tagging [~]# yum update
    Traceback (most recent call last):
      File "/usr/bin/yum", line 6, in ?
        import yummain
      File "/usr/share/yum-cli/yummain.py", line 23, in ?
        import yum
    ImportError: No module named yum
    and up2date:
    Code:
    There was an SSL error: [('SSL routines', 'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')]
    A common cause of this error is the system time being incorrect. Verify that the time on this system is correct.
     
  12. Blue|Fusion

    Blue|Fusion Well-Known Member

    Joined:
    Sep 12, 2004
    Messages:
    378
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Cleveland, Ohio
    up2date in Fedora is useless IMO. yum works much better in FC. As for FC3 and cPanel, I have been running it on 2 servers for a month now. Only problem I had was one of the servers had a bad harddrive and the kernel didn't recognize the errors in RH9, so the day after I updated to FC3, then kernel was giving me lot's of errors and I had managed replace it immediately. Everything has been running fine, and just tonight updated both servers with the latest FC3 kernel, rebooted, and no problems.

    To see them in action: www.chromehost.com

    I don't own the servers, I just admin them, which I find very interesting with running FC3 as servers. Gotta keep the game face on. But it's easy to relate it to my own PC running FC3 :cool: . But of course, RHEL (or CentOS) is best for servers.
     
  13. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    I'd suggest looking for an official FC2 mirror and reinstalling yum through rpm with --force.
     
  14. cooldude7273

    cooldude7273 Well-Known Member

    Joined:
    Jan 11, 2004
    Messages:
    363
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Roswell, GA
    I installed it from http://download.fedora.redhat.com/pub/fedora/linux/core/2/i386/os/Fedora/RPMS/

    But now I get:

    Code:
    root@tagging [~]# yum check-update
    Gathering header information file(s) from server(s)
    Server: Red Hat Linux 2 base
    retrygrab() failed for:
      http://mirror.physics.ncsu.edu/mirror/download.fedoralegacy.org/redhat/2/os/i386/headers/header.info
      Executing failover method
    failover: out of servers to try
    Error getting file http://mirror.physics.ncsu.edu/mirror/download.fedoralegacy.org/redhat/2/os/i386/headers/header.info
    [Errno 4] IOError: <urlopen error >
    :confused:
     
  15. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Looks like that fedoralegacy mirror doesn't work - there should be plenty of others to choose from on their site.
     
  16. cooldude7273

    cooldude7273 Well-Known Member

    Joined:
    Jan 11, 2004
    Messages:
    363
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Roswell, GA
    Ah ha! For some reason it was looking for redhat packages.

    I'm ran yum update and it:

    Code:
    root@tagging [~]# yum update
    Gathering header information file(s) from server(s)
    Server: Fedora Core 2 - i386 - Base
    Server: Fedora Core 2 - i386 - Released Updates
    Finding updated packages
    Downloading needed headers
    Resolving dependencies
    ..Package redhat-config-mouse needs /usr/bin/python2.2, this is not available.
    Package redhat-config-network-tui needs /usr/bin/python2.2, this is not available.
    Package redhat-config-bind needs /usr/bin/python2.2, this is not available.
    Package redhat-config-nfs needs /usr/bin/python2.2, this is not available.
    Package redhat-config-samba needs /usr/bin/python2.2, this is not available.
    Package redhat-config-securitylevel needs /usr/bin/python2.2, this is not available.
    Package redhat-config-date needs /usr/bin/python2.2, this is not available.
    Package redhat-config-keyboard needs /usr/bin/python2.2, this is not available.
    Package redhat-config-kickstart needs /usr/bin/python2.2, this is not available.
    Package redhat-config-language needs /usr/bin/python2.2, this is not available.
    Package redhat-config-rootpassword needs /usr/bin/python2.2, this is not available.
    Package redhat-config-users needs /usr/bin/python2.2, this is not available.
    Package redhat-config-soundcard needs /usr/bin/python2.2, this is not available.
    Package redhat-config-xfree86 needs /usr/bin/python2.2, this is not available.
    Package imap needs libcom_err.so.3, this is not available.
    Package pine needs libcom_err.so.3, this is not available.
    root@tagging [~]
     
  17. cooldude7273

    cooldude7273 Well-Known Member

    Joined:
    Jan 11, 2004
    Messages:
    363
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Roswell, GA
    bump? i need some help please!
     
  18. cooldude7273

    cooldude7273 Well-Known Member

    Joined:
    Jan 11, 2004
    Messages:
    363
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Roswell, GA
    Chirpy fixed it all for me! *bows down to Chirpy*

    But now:

    Code:
    root@tagging [~]# yum update
    Gathering header information file(s) from server(s)
    Server: Fedora Core 2 - i386 - Base
    Server: Fedora Core 2 - i386 - Released Updates
    Finding updated packages
    Downloading needed headers
    Resolving dependencies
    ......Unable to satisfy dependencies
    Package mod_python needs httpd >= 2.0.40, this is not available.
    Package mod_python needs httpd-mmn = 20020903, this is not available.
    Package gkrellm needs kernel >= 2.6.2, this is not available.
    Package namazu-cgi needs webserver, this is not available.
    Package mod_auth_mysql needs httpd >= 2.0.40, this is not available.
    Package mod_auth_mysql needs httpd-mmn = 20020903, this is not available.
    Package mod_auth_pgsql needs httpd >= 2.0.40, this is not available.
    Package mod_auth_pgsql needs httpd-mmn = 20020903, this is not available.
    Package jcode.pl needs perl(:MODULE_COMPAT_5.8.3), this is not available.
    Package vim-enhanced needs perl >= 5.8.3, this is not available.
    Package htdig-web needs webserver, this is not available.
    Package foomatic needs perl >= 3:5.8.1, this is not available.
    Package foomatic needs perl(:MODULE_COMPAT_5.8.3), this is not available.
    Package nut-cgi needs webserver, this is not available.
    Package xchat needs /usr/lib/perl5/5.8.3/i386-linux-thread-multi, this is not available.
    Package jdkgcj needs gcc-java = 3.2.2, this is not available.
    Package qt-Xt needs qt = 1:3.1.1-6, this is not available.
    Package jdkgcj needs libgcj = 3.2.2, this is not available.
    Package db4-java needs db4 = 4.0.14-20, this is not available.
    Package galeon needs mozilla = 35:1.2.1, this is not available.
    root@tagging [~]# 
    What do I do?
     
  19. katz_global

    katz_global Well-Known Member
    PartnerNOC

    Joined:
    Oct 18, 2003
    Messages:
    69
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Hosting from: Panama, Hong Kong, Singapore, Malays
    just create a file called etc/yum.conf and dump this into it if you dont have one: this is a valuable file for fedora two especially if you want cpanel and apache to work and compile properly.


    [main]
    cachedir=/var/cache/yum
    debuglevel=2
    logfile=/var/log/yum.log
    pkgpolicy=newest
    distroverpkg=redhat-release
    tolerant=1
    exactarch=1
    retries=20

    [base]
    name=Fedora Core $releasever - $basearch - Base
    baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/

    [updates-released]
    name=Fedora Core $releasever - $basearch - Released Updates
    baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/

    #[updates-testing]
    #name=Fedora Core $releasever - $basearch - Unreleased Updates
    #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/testing/$releasever/$basearch/

    #[development]
    #name=Fedora Core $releasever - Development Tree
    #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/development/$basearch/
     
  20. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    No, that isn't the problem in this case (btw, you have missed out the essential exclude list from your yum.conf).

    The problem here relates to the packages installed before cPanel was added. Most likely it wasn't a minimal server OS install.
     
Loading...

Share This Page