LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   POPT conflict when installing YUM on Fedora 6 (http://www.linuxquestions.org/questions/linux-newbie-8/popt-conflict-when-installing-yum-on-fedora-6-a-797719/)

gilcpd 03-25-2010 01:44 AM

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...                ########################################### [100%]
        file /usr/include/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...                ########################################### [100%]
        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.

gilcpd 03-25-2010 05:13 PM

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 from ftp://ftp.pbone.net/mirror/archive.f...s/Fedora/RPMS/.

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-28)]

If you cannot solve this problem yourself, please go to
the yum faq at:
http://wiki.linux.duke.edu/YumFaq

gilcpd 03-25-2010 05:35 PM

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! :D

chrism01 03-25-2010 06:31 PM

Just FYI; F6 hasn't been updated in years; current is F12, soon to be F13. Fedora has a new version roughly every year..
Highly recommend you use a current/updatable distro, or go for Centos (free RHEL). Has updates for 7 yrs http://www.redhat.com/security/updates/errata/

gilcpd 03-25-2010 08:18 PM

WOHOOO! Got it!
I was really installed all wrong distro packs.
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 PHP but its stuck on a library that doesnt install:
Code:

Error: Missing Dependency: libcurl.so.3()(64bit) is needed by package psa
[root@03044f2 packs]#
[root@03044f2 packs]# rpm -Uhv libc-client.x86_64
error: open of libc-client.x86_64 failed: No such file or directory

I found a package that has it... but it says that its already installed:

Code:

[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


gilcpd 03-25-2010 08:28 PM

Hi Chris
Thank you for the tip but Im working on a VPS and I would prefer to update tp F10 or F11 because I realised that is very hard to find the packages to F6, but I have no idea on how to do that on a VPS...
I read a few articles about updating the core with YUM but is unadvisable on the fedora page, and since I dont have phisical access to the server I feel with my hands tied :(

gilcpd 03-26-2010 03:04 AM

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?

John VV 03-26-2010 02:17 PM

Does anybody knows how to upgrade from FC6 to FC7 on a VPS using YUM?

you DO NOT
that is an impossibility with fedora
you NEED to do a reformat of the drive and do CLEAN installs of the new fedora every 6 months

or use a long life like CentOS


All times are GMT -5. The time now is 09:08 AM.