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.

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.

Introduction to Linux - A Hands on Guide

This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.

@localhost ~]$ yum
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
No module named cElementTree
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, Jun 13 2006, 11:46:08)
[GCC 4.1.1 20060525 (Red Hat 4.1.1-1)]
If you cannot solve this problem yourself, please go to
the yum faq at:
http://wiki.linux.duke.edu/YumFaq

when i went to the YumFaq, i found related info, and upon executing the suggestions there:

You can find the latest installed software with "rpm -qa --last" and uninstall it(if rpm packages were installed)
OR
You could try removing yum with rpm -e yum, then downloading the latest package from http://rpm.pbone.net/index.php3/stat...oarch.rpm.html
and installing it with rpm -i yum-2.6.1-0.fc5.noarch.rpm
If it doesn't install, atleast it will tell you what dependencies it is missing, which again could be downloaded & installed

Edit -(Got from another forum) to get yum to work install these from same repository

Edit -(Got from another forum) to get yum to work install these from same repository

yum
python-urlgrabber
python-sqlite
python-elementtree

how does one go about "[installing] these from same repository"?
i don't know the syntax... it may look like i do from things i've quoted here, but those are usually directly copied from other sites. i'm not sure how to just do it based on the names of the files. (sorry. it's the thickness of my skull getting in the way...)

To uninstall yum you will need to uninstall yumex, pirut, kyum & mach (these can be installed once you get your yum going) so once you uninstall these and python-urlgrabber, python-sqlite, python-elementtree, you can download these packages from fedora download site or http://rpm.pbone.net and install with rpm.
(rpm -e packagename, do man rpm at terminal to get more info & press q to exit man pages)
Before you start working with yum, you will need to disable one of the conflicting repositories.Can you post what all repositories you have installed? (contents of /etc/yum.repos.d/)

sorry about the permissions and all-- but i thought perhaps the dates there would serve to show what i've customized since i installed this drive after my primary drive became inaccessible not even a week ago.
since my last post here, i've done the following, and am currently in this state at the time of posting:

cool...gotcha! hey, sn68, you do a real good job of helping. maybe it's coincidence, but maybe it's instinct too. what i mean is-- something about your inquiry and assessment allowed us to put aside whether i was educated enough about this stuff to pull it off or not (albeit, i suppose a real beginner might not have known how to post some of that stuff). it's not easy trying to make suggestions when you don't know what the other person knows (i speak from experience as a guitar instructor-- the most difficult assessment period being that of taking on a new student who already knows how to play. it's like "okay. do something. i've gotta figure out what you know; what you need to know, etc."... i dunno... just felt like mentioning that. something you might want to be attentive of and cultivate-- get a gig doing "e-Learning courses"!

anyway... very cool-- i'm going to check this stuff out, and see where it gets me! i'll post back n tell the results, but i really feel like we're on the right track! woo hoo!
(btw... look for a PM from me)
edit: oops... i guess there's no PM'ng here

what to do when i get this?:
rpm -e python-urlgrabber
error: Failed dependencies:
urlgrabber is needed by (installed) yum-2.6.1-0.fc5.noarch
python-urlgrabber is needed by (installed) createrepo-0.4.6-1.fc3.rf.noarch

Hi
Its good to know that we were able to get "yum" back on track, this particular "fault" so to say occured because incompatible packages were installed from repositories which should not have been used together.
More info at http://stanton-finley.net/fedora_cor...s.html#Warning

hey there-- i don't want to bother w/ this thread too much more-- but in case it might help someone else, plus i am a bit curious:

it might not have even been a day later that Yum quit working again-- same error. i've been going off of the StantonFinley rec. (ie. according to his list, to my knowledge, i guess that's using rpmforge instead of livna, and then freshrpms dries, and macromedia.)

this time i removed libstdc++so7.i386, which i installed because of a Firefox XPI i wanted. it was supposed to be libstdc++so5.i386, but that didn't show up specifically-- so i installed the libstdc++so7.i386 which warns that it's unstable and, in so many words, untrustable. it was after i first installed that item that yum first went down (probably not immediately after), but i forgot to uninstall it this past fix.

we'll see what happens now. i haven't enabled the "SF repos" yet, but i will cause they've never given me problems in the past. i just wanted to report that little bit.