Find the answer to your Linux question:
Results 1 to 8 of 8
Hey guys, I hope someone can help me, I'm about 2 weeks working on this server to install yum :'(... I know lame but I'm LAME in Linux. Im almost ...
  1. #1
    Just Joined!
    Join Date
    Mar 2010
    Posts
    6

    POPT conflict when installing YUM on Fedora 6

    Hey guys,
    I hope someone can help me, I'm about 2 weeks working on this server to install yum :'(... I know lame but I'm LAME in Linux.

    Im almost getting there, the dependencies are reduced to 2: rpm-python and yum-fastestmirror.

    But installing rpm-python its driving me crazy... it keeps saying:

    Code:
    [root@03044f2 ~]# rpm -Uhv popt-1.10.2.3-18.el5.i386.rpm
    warning: popt-1.10.2.3-18.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID e8562897
    Preparing...                
            file popt.h from install of popt-1.10.2.3-18.el5 conflicts with file from package popt-1.10.2-32
    I found the package (popt-1.10.2-32) and it says it's already installed:

    Code:
    [root@03044f2 ~]# rpm -Uhv popt-1.10.2-32.i386.rpm
    warning: popt-1.10.2-32.i386.rpm: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2
    Preparing...                
            package popt-1.10.2-32 is already installed
    I don't know what to do know.. I read somethings about forcing rpm --force but I'm afraid it will trigger another error... since this is a server I prefer not to play smart with it.

    PLEASE can someone help me?
    Thanks in advance.

  2. #2
    Trusted Penguin Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,393
    You're trying to install conflicing versions of popt, try doing:

    Code:
    rpm -e popt-1.10.2-32
    rpm -ivh popt-1.10.2.3-18.el5
    If this is a CentOS or RedHat server, shouldn't it already have been installed with yum during the system setup?
    Linux user #126863 - see http://linuxcounter.net/

  3. #3
    Just Joined!
    Join Date
    Mar 2010
    Posts
    6
    I wish!
    This is a VPS from NetSol and they don't make your life not a bit easier.
    I'm gonna try your suggestion and get back here!

    Thank you very much

  4. #4
    Just Joined!
    Join Date
    Mar 2010
    Posts
    6
    I was finally able to install it .
    I reseted the server to a "virgin" state and reinstalled all the packages as fc6.i386.rpm packs.

    Buuuuuuuuuut:

    [root@03044f2 ~]# yum
    There was a problem importing one of the Python modules
    required to run yum. The error leading to this problem was:

    /usr/lib/python2.4/site-packages/rpm/_rpmmodule.so: wrong ELF class: ELFCLASS32

    Please install a package which provides this module, or
    verify that the module is installed correctly.

    It's possible that the above module doesn't match the
    current version of Python, which is:
    2.4.3 (#1, Oct 1 2006, 17:59:36)
    [GCC 4.1.1 20060928 (Red Hat 4.1.1-2]

    If you cannot solve this problem yourself, please go to
    the yum faq at:
    YumFaq

  5. #5
    Just Joined!
    Join Date
    Mar 2010
    Posts
    6
    AHAAAAAAA!!! Lol just had an "AHA" moment!
    I've been installing i386 packages and my CPU is X86_64.
    So I'm going to recover the "virgin" state backup and install all the packages as 64!

    Xssin fingers!

  6. #6
    Just Joined!
    Join Date
    Mar 2010
    Posts
    6
    WOHOOO! Got it!
    I was really instally all wrong, wrong distro packs and types.
    Now that I installed the X86_64 packs it installed with noooo errors.
    I spent sometime updating the repositories, but now it works...

    The last part is to update my HPHP but its stuck on a library that doesnt install:
    libcurl.so.3()(64bit).
    I found a package that has it... but it says that its already installed:

    [root@03044f2 packs]# rpm -Uhv curl-7.15.5-1.fc6.x86_64.rpm
    warning: curl-7.15.5-1.fc6.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2
    Preparing... ########################################### [100%]
    package curl-7.15.5-1.fc6 is already installed

  7. #7
    Just Joined!
    Join Date
    Mar 2010
    Posts
    6
    Geez! Im still stuck on this part now!
    I cant update PHP to PHP-5.2 because of this library... one thing that might me screwing up the whole thing is that when I installed yum I had to update the Repos files and since I couldn't find any Fedora6 repo I added the Fedora 7 URL...
    Is it what is not allowing me to update?
    Does anybody knows how to upgrade from FC6 to FC7 on a VPS using YUM?

    I'm reading the tutto on Fedora.org but there seems to have lots of dependencies not working.

    Any suggestion?

  8. #8
    Trusted Penguin Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,393
    Both Fedora 6 and 7 are no longer supported. You may find yum repositories to support them, but most will not exist any more. You could get hold of an installer DVD image, upload the rpm's, create a local repository and upgrade from there. But this is very complicated, and it's something I wouldn't do.

    Can you not reset to a 'virgin' state using a newer version of Fedora? 12 is the current version, 11 is still supported, while 10 is available in the repositories but unsupported.
    Linux user #126863 - see http://linuxcounter.net/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...