FedoraThis forum is for the discussion of the Fedora Project.
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.
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.
Im using FC4 with 2.6.15 core. Im really new in linux. Yum has helped me a lot to install may programs. Two days ago, while i was dwnloading through yum, the electricity went out - and when i switched on my pc and ran yum, yum started to act vey starngely!
First of all, when i type in somethign like "yum install yumex" it will start as always, but this file while downloading called something like primary.tar.gz , it will be 100% completed, then downlaod agian, then downlaod again, and keeps on doing it forever!!! the files are mostly same everytime, howvere sometimes its ike a few kB more or less. anyways, having no other way out of this, i uninstalled yumex frst, then using the "-nodeps" i also unsintalled yum (ouch!).
i have downlaoded a .src.rpm file form yum's ite but cant install. im extremely new on linux and its commands, so please provide me detailed step by step info on how to install yum again and also if i need any new "python" version or anything how to install them.
lasy but not least, wud re-installing yum solve the problmem for which i uninstalled it at teh first place? (just to mention, a friend of mine was telling me that that primary.tar.gz file if deleted form my local disk at teh first place, then the whole problem cud be fixed... wud it work, and if so, how to do so?)
Hmmm... well, installing yum from somewhere would probably be the first bet. I guess you could use up2date? Or just the rpm (the one on the install disk may have dependency trouble as the depends will have been updated to unexpected versions by now. No harm trying...)
Then do the yum clean all part.
Then try a yum upgrade yum perhaps.
Then yum install... something.
I have not tested this as I do not have FC4 (I actually suggest upgrading to FC5) but anyhow:
The file you have *.src.rpm is a source file. This is essentially the uncompiled source code for the program. It is possible to compile it yourself but it can be ridiculous hassle and I do not recommend it. First, I would try using up2date. As root, enter the following command:
up2date -i yum
If that works, you should then be able to issue:
rpm -q yum
to see if its installed. If not, try inserting your original installation media and use the terminal to navigate to the /RPMS/ directory on the disk (cd /mnt/cdrom/ is probably a good place to start). Once there, issue the following:
ls yum*
This should let you know whether or not the yum RPM is on that disk. If not, try the next disk until you find it. Once you locate the RPM, issue the following as root:
rpm -ivh yum*.rpm
Note: If your ls yum* returned more than 1 yum RPM (i.e. the src RPM), use the version # of the RPM instead of * (i.e. rpm -ivh yum-1.14.7-22.i386.rpm). Remember, not to install the src RPM
thanks so much! yess i finally got yum re-installed!! i inserted the disc, and manually browsed in the cd's RPMs folder. luckily the rpm u've asked me to search for was in the first disc!
now, back to the second problem. actually this is the main problem why i tried uninstalling yum. anything i want to do with yum, yum update, or yum install "software name" - its says something like respitory metadat from local files or something, then "primary.xml.gz" this files keeps on downlading... the sizes are often similar or close, it hardly stops, sometimes it may go as many as 20 - 30 times. a preview of this situation is in the attached screenshot, how can i fix this??
u can undstand the whole situation if u just download this screenshot. i cudnt find a way to attach, so im sharing it here. please have a look. i really need yum to get working again....
Your link to 4shared seems to want a userid and password before it will display anything.
Anyhow, I suspect your "problem" may be that your /etc/yum.repos.d/ files may not be set up properly. If you tell us which repositories you're using -- or even post the contents of your *.repo files here -- perhaps we could offer some suggestions.
The reason you are getting "repeated" downloads is, I think, that you're getting errors, or that the repositories are being updated, and yum is searching the mirrors for a good download. The "setup" problem I suspect is that you mirror lists may be sending you to "hard to download from" places.
For what its worth (note that I'm in North America), my FC4 repository files are like this:
<OR> in that linked page, DO NOT click on the file name, there's a small downlaod icon on far right, use that! ud be taken to another page with the screen shot, below ud see a "Download" button, just click that and the image should load!
Im using all the cnfigurations from the "Unofficial Fedora FAQ" site. Can i just somehow easily erase or use some other config and start using yum? I am hoping for some easy soluttion to fix this actually, not that experienced yet as you can see.
Maybe also try commenting out the livna repositories in your yum.conf. This is done by simply inserting a hash (#) at the beginning of each line. Once that is done try:
# Note: This file is no longer the entire yum configuration
# for fedorafaq.org. See http://www.fedorafaq.org/#yumconf
# for details on how to set up your system with the new
# yum configuration.
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
# We don't want to gpg-check local, unsigned packages
#gpgcheck=1
# Changed this because some mirrors go down and then
# re-trying takes forever.
retries=1
timeout=10
# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
Error: failure: repodata/primary.xml.gz from livna: [Errno 256] No more mirrors to try.
... you havn't followed the following advise:
Quote:
Originally Posted by xaxol
try commenting out the livna repositories in your yum.conf
... why not?
Comment out the livna repo in yum.conf (are you using the yum.conf from www.fedorafaq.org?) ... then install yum extender (read the rest of the faq). This is a gui which will let you manipulate much of the things yum does. I think you'll find this simpler.
You could uninstall yum using rpm ... it will probably even remove the yum.conf file, then reinstall... then install the fedora faq yum.conf, then edit out livnia ... but this is what you're supposed to have done already.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.