LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-19-2004, 12:34 AM   #1
maybbach
Member
 
Registered: Feb 2004
Location: Cincinnati, OH
Distribution: SimplyMepis 3.3
Posts: 68

Rep: Reputation: 15
problems with yum


ive just installed fedora core 2 and im having some problems. i installed yum-2.1.8-1.noarch.rpm and i keep getting this error:

[root@FC2 rpm]# yum
Traceback (most recent call last):
File "/usr/bin/yum", line 6, in ?
import yummain
ImportError: No module named yummain

im not exactly sure what this error means. i tried installing apt4rpm, but i keep getting dependency problems. any help'll be appreciated
 
Old 10-19-2004, 01:01 AM   #2
UsualTuxpect
Member
 
Registered: Aug 2004
Location: New York
Distribution: --------- Gentoo-2004.2 [2.6.8] Redhat-9 [2.6.6]
Posts: 545

Rep: Reputation: 31
how did the yum installation go???

did it have any dependency problems while installing........

try uninstalling it and satisfy all the dependencies it asks for .........

without satisfying dependencies .. you cant get the s/w to work correctly.
 
Old 10-19-2004, 03:27 AM   #3
maybbach
Member
 
Registered: Feb 2004
Location: Cincinnati, OH
Distribution: SimplyMepis 3.3
Posts: 68

Original Poster
Rep: Reputation: 15
no dependency problems came up, i typed rpm ivh --force yum...... afterwards i tried running yum and the error came up.
 
Old 10-19-2004, 04:09 AM   #4
UsualTuxpect
Member
 
Registered: Aug 2004
Location: New York
Distribution: --------- Gentoo-2004.2 [2.6.8] Redhat-9 [2.6.6]
Posts: 545

Rep: Reputation: 31
why did u use the --force option ???
Never use it ..

when u use --force , ur not allowing it to check for dependencies....... which are needed by it to run properly..

Try uninstalling yum

#rpm -qa | grep yum

eg. output--->yum_blah_blah

#rpm -ev yum_blah_blah

then try #rpm -ivh yum_xxx_yyy.rpm

see what it needs to install properly.. get those rpm's and install them first..

Last edited by UsualTuxpect; 10-19-2004 at 04:10 AM.
 
Old 10-19-2004, 06:06 PM   #5
maybbach
Member
 
Registered: Feb 2004
Location: Cincinnati, OH
Distribution: SimplyMepis 3.3
Posts: 68

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by UsualTuxpect
why did u use the --force option ???
Never use it ..

when u use --force , ur not allowing it to check for dependencies....... which are needed by it to run properly..

Try uninstalling yum

#rpm -qa | grep yum

eg. output--->yum_blah_blah

#rpm -ev yum_blah_blah

then try #rpm -ivh yum_xxx_yyy.rpm

see what it needs to install properly.. get those rpm's and install them first..
from what i learned (learned from cbt nugget video) i thought rpm -ivh --force was the normal way to install an rpm. ima do what you said and see if it helps, thanks.

i know rpm -q means query, but what does the a and |grep mean?

thanks
 
Old 10-19-2004, 06:27 PM   #6
UsualTuxpect
Member
 
Registered: Aug 2004
Location: New York
Distribution: --------- Gentoo-2004.2 [2.6.8] Redhat-9 [2.6.6]
Posts: 545

Rep: Reputation: 31
#rpm -qa | grep yum

-qa [queries all the installed packages in ur system it is usually very long]

| is called a pipe [ie. it gets the output of one command and gives it as an input to the next command]

grep --->gets the package name which have the string "yum" in them

for more -->#man grep

"Grep searches the named input FILEs (or standard input if no files are named, or the file name - is given) for lines containing a match to the given PATTERN. By default, grep prints the matching lines."
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Problems with yum monkiidansu Fedora 8 01-14-2006 07:48 PM
problems with yum realcr Linux - Software 3 09-01-2005 04:31 PM
yum problems canyon289 Linux - Software 4 12-02-2004 11:11 AM
more yum problems canyon289 Linux - Software 1 11-13-2004 02:59 PM
Problems with yum Dreamcatcher Linux - Software 6 10-18-2004 07:00 AM


All times are GMT -5. The time now is 05:02 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration