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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-18-2004, 11:34 PM
|
#1
|
Member
Registered: Feb 2004
Location: Cincinnati, OH
Distribution: SimplyMepis 3.3
Posts: 68
Rep:
|
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
|
|
|
10-19-2004, 12:01 AM
|
#2
|
Member
Registered: Aug 2004
Location: New York
Distribution: --------- Gentoo-2004.2 [2.6.8] Redhat-9 [2.6.6]
Posts: 545
Rep:
|
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.
|
|
|
10-19-2004, 02:27 AM
|
#3
|
Member
Registered: Feb 2004
Location: Cincinnati, OH
Distribution: SimplyMepis 3.3
Posts: 68
Original Poster
Rep:
|
no dependency problems came up, i typed rpm ivh --force yum...... afterwards i tried running yum and the error came up.
|
|
|
10-19-2004, 03:09 AM
|
#4
|
Member
Registered: Aug 2004
Location: New York
Distribution: --------- Gentoo-2004.2 [2.6.8] Redhat-9 [2.6.6]
Posts: 545
Rep:
|
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 03:10 AM.
|
|
|
10-19-2004, 05:06 PM
|
#5
|
Member
Registered: Feb 2004
Location: Cincinnati, OH
Distribution: SimplyMepis 3.3
Posts: 68
Original Poster
Rep:
|
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
|
|
|
10-19-2004, 05:27 PM
|
#6
|
Member
Registered: Aug 2004
Location: New York
Distribution: --------- Gentoo-2004.2 [2.6.8] Redhat-9 [2.6.6]
Posts: 545
Rep:
|
#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."
|
|
|
All times are GMT -5. The time now is 10:00 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|