striker Posted October 27, 2006 Share Posted October 27, 2006 For anybody struggling with YUM-using distros, here are a couple of easy to read links trying to make understandable what YUM is, what it does, how to use it and that sort of things.Some basics but well written.Part 1Covering the basics, adding Repositorieshttp://www.ducea.com/2006/09/11/yum-coveri...g-repositories/Part2Managing system updateshttp://www.ducea.com/2006/10/13/yum-2nd-pa...dates/#more-123Part3List of other repositorieshttp://www.ducea.com/2006/10/22/yum-3rd-pa...r-repositories/ Quote Link to comment Share on other sites More sharing options...
V.T. Eric Layton Posted October 27, 2006 Share Posted October 27, 2006 Why does that topic title make me hungry? Synaptic or YAST don't have that effect on me. ;)Seriously though, great links, Striker. Thanks! Quote Link to comment Share on other sites More sharing options...
striker Posted October 27, 2006 Author Share Posted October 27, 2006 Why does that topic title make me hungry? Synaptic or YAST don't have that effect on me. ;)Seriously though, great links, Striker. Thanks!Just a minor glitch I spotted in Part 1:Fill in the following lines and save it.[dag]name=Dag RPM Repository for Red Hat Enterprise Linux baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/daggpgcheck=1enabled=1Add to that:after that hit the ENTER button to add an extra empty line.That goes for every repo you add this way.Otherwise it doesn't work.You may also read the Stanton Finley Release Notes for Fed. 3-5 :http://www.stanton-finley.net/fedora_core_...tion_notes.htmlhttp://www.stanton-finley.net/fedora_core_...tion_notes.htmlhttp://stanton-finley.net/fedora_core_5_in...tion_notes.html Quote Link to comment Share on other sites More sharing options...
crp Posted November 24, 2006 Share Posted November 24, 2006 Well here is why I am so down on YUM and FC5 yum -y updateLoading "installonlyn" pluginSetting up Update ProcessSetting up repositoriesdries [1/4]dries 100% |=========================| 951 B 00:00rpmforge [2/4]macromedia [3/4]macromedia 100% |=========================| 951 B 00:00freshrpms [4/4]freshrpms 100% |=========================| 951 B 00:00Reading repository metadata in from local filesprimary.xml.gz 100% |=========================| 779 kB 00:06dries : ################################################## 3239/3239Added 399 new packages, deleted 357 old in 6.03 secondsprimary.xml.gz 100% |=========================| 1.0 kB 00:00macromedia: ################################################## 2/2Added 2 new packages, deleted 0 old in 0.03 secondsprimary.xml.gz 100% |=========================| 64 kB 00:01freshrpms : ################################################## 173/173Added 173 new packages, deleted 0 old in 1.34 secondsResolving Dependencies--> Populating transaction set with selected packages. Please wait.---> Package python-elementtree.i386 0:1.2.6-7.fc3.rf set to be updated---> Downloading header for freshrpms-release to pack into transaction set.freshrpms-release-1.1-1.f 100% |=========================| 4.1 kB 00:01---> Package freshrpms-release.noarch 0:1.1-1.fc3.rf set to be updated--> Running transaction checkDependencies Resolved============================================================================= Package Arch Version Repository Size=============================================================================Updating: freshrpms-release noarch 1.1-1.fc3.rf rpmforge 13 k python-elementtree i386 1.2.6-7.fc3.rf rpmforge 93 kTransaction Summary=============================================================================Install 0 Package(s)Update 2 Package(s)Remove 0 Package(s)Total download size: 106 kDownloading Packages:(1/2): python-elementtree 100% |=========================| 93 kB 00:06(2/2): freshrpms-release- 100% |=========================| 13 kB 00:01Running Transaction TestFinished Transaction TestTransaction Test SucceededRunning Transaction Updating : freshrpms-release ######################### [1/4] Updating : python-elementtree ######################### [2/4] Cleanup : python-elementtree ######################### [3/4] Cleanup : freshrpms-release ######################### [4/4]Updated: freshrpms-release.noarch 0:1.1-1.fc3.rf python-elementtree.i386 0:1.2.6-7.fc3.rfComplete![root@xeons log]# yum -y install yumexThere was a problem importing one of the Python modulesrequired to run yum. The error leading to this problem was: No module named cElementTreePlease install a package which provides this module, orverify that the module is installed correctly.It's possible that the above module doesn't match thecurrent version of Python, which is:2.4.2 (#1, Feb 12 2006, 03:59:46)[GCC 4.1.0 20060210 (Red Hat 4.1.0-0.24)]If you cannot solve this problem yourself, please go tothe yum faq at: http://wiki.linux.duke.edu/YumFaq not exactly confidence inspiring. btw: only out I could find was to rpm -e yum Quote Link to comment Share on other sites More sharing options...
striker Posted November 24, 2006 Author Share Posted November 24, 2006 Incompatible repos I think, see :http://www.linuxquestions.org/questions/sh...ad.php?t=485194 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.