LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-25-2010, 01:44 AM   #1
gilcpd
LQ Newbie
 
Registered: Mar 2010
Posts: 6

Rep: Reputation: 0
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.

Last edited by gilcpd; 03-25-2010 at 01:45 AM. Reason: .
 
Old 03-25-2010, 05:13 PM   #2
gilcpd
LQ Newbie
 
Registered: Mar 2010
Posts: 6

Original Poster
Rep: Reputation: 0
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
 
Old 03-25-2010, 05:35 PM   #3
gilcpd
LQ Newbie
 
Registered: Mar 2010
Posts: 6

Original Poster
Rep: Reputation: 0
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!
 
Old 03-25-2010, 06:31 PM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
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/
 
Old 03-25-2010, 08:18 PM   #5
gilcpd
LQ Newbie
 
Registered: Mar 2010
Posts: 6

Original Poster
Rep: Reputation: 0
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

Last edited by gilcpd; 03-26-2010 at 01:12 AM.
 
Old 03-25-2010, 08:28 PM   #6
gilcpd
LQ Newbie
 
Registered: Mar 2010
Posts: 6

Original Poster
Rep: Reputation: 0
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
 
Old 03-26-2010, 03:04 AM   #7
gilcpd
LQ Newbie
 
Registered: Mar 2010
Posts: 6

Original Poster
Rep: Reputation: 0
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?
 
Old 03-26-2010, 02:17 PM   #8
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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
 
  


Reply

Tags
fedora, redhat, yum



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
yum config file for installing Fedora 9 foampile Linux - Server 4 02-23-2009 11:08 PM
yum update conflict hattori.hanzo Linux - Newbie 2 10-06-2008 09:04 PM
Trouble installing firefox in fedora 8 using yum sugantha Linux - Newbie 9 02-10-2008 12:58 PM
installing k3b via yum on fedora core 3 linuxmandrake Linux - Software 1 06-18-2005 09:33 AM
installing packages using yum in fedora sven_p Linux - Software 1 03-16-2004 06:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration