Description of problem: After having installed F12 (in VirtualBox, without devel packages), I tried to install gcc, but getting some repo issues: Error Downloading Packages: ppl-0.10.2-5.fc12.i686: failure: Packages/ppl-0.10.2-5.fc12.i686.rpm from InstallMedia: (256, 'No more mirrors to try.') binutils-2.19.51.0.14-31.fc12.i686: failure: Packages/binutils-2.19.51.0.14-31.fc12.i686.rpm from InstallMedia: (256, 'No more mirrors to try.') binutils-2.19.51.0.14-31.fc12.i686: failure: Packages/binutils-2.19.51.0.14-31.fc12.i686.rpm from InstallMedia: (256, 'No more mirrors to try.') Version-Release number of selected component (if applicable): How reproducible: each time Steps to Reproduce: 1.yum install gcc 2. 3. Actual results: After having installed F12 (without devel packages), I tried to install gcc, but getting some repo issues: Error Downloading Packages: ppl-0.10.2-5.fc12.i686: failure: Packages/ppl-0.10.2-5.fc12.i686.rpm from InstallMedia: (256, 'No more mirrors to try.') binutils-2.19.51.0.14-31.fc12.i686: failure: Packages/binutils-2.19.51.0.14-31.fc12.i686.rpm from InstallMedia: (256, 'No more mirrors to try.') binutils-2.19.51.0.14-31.fc12.i686: failure: Packages/binutils-2.19.51.0.14-31.fc12.i686.rpm from InstallMedia: (256, 'No more mirrors to try.') see above Expected results: gcc is installed Additional info:
Is it possible that machine had a limited number of mirrors but is now fine? Try running: yum clean all yum install gcc and see if it picks up.
I could solve the problem: I found in /etc/yum.repos.d a file called Fedora-install-media.repo with the following lines: [InstallMedia] name=Fedora 12-Alpha mediaid=1250548413.424676 metadata_expire=-1 gpgcheck=0 cost=500 Don't know why this file was installed, and by whom. After removing this file, the install of gcc was perfectly performed.
I have the impression this could be a legacy of anaconda?
PLease reopen.
That file is written out if you do a CD/DVD install so that you can later use the installation media to install extra packages. You'll note that it's got a very high cost, ensuring it will be the last thing to be used. yum really shouldn't be making use of it unless there's no other repos available to use.
(In reply to comment #5) > That file is written out if you do a CD/DVD install so that you can later use > the installation media to install extra packages. You'll note that it's got a > very high cost, ensuring it will be the last thing to be used. yum really > shouldn't be making use of it unless there's no other repos available to use. This is a really unexpected behaviour. Normally, I install forgotten packages from the internet repos, and not from the DVD. Why yum uses that file? After removing this file, all installs fine!
(In reply to comment #5) > That file is written out if you do a CD/DVD install so that you can later use > the installation media to install extra packages. You'll note that it's got a > very high cost, ensuring it will be the last thing to be used. yum really > shouldn't be making use of it unless there's no other repos available to use. Is that something new for F12, i have not seen that before ? Maybe, It should be disabled by default, yum-cli don't have the code to ask for a missing dvd or asking for CD changing. pk can't handle it yet, only yumex NextGen can handle the media request/change.
(In reply to comment #7) > (In reply to comment #5) > > That file is written out if you do a CD/DVD install so that you can later use > > the installation media to install extra packages. You'll note that it's got a > > very high cost, ensuring it will be the last thing to be used. yum really > > shouldn't be making use of it unless there's no other repos available to use. > > Is that something new for F12, i have not seen that before ? Googeling for that item showed me some remarks/questions in the forums concerning this file in older Fedora versions. I seems that is not a new issue. > > Maybe, It should be disabled by default I agree! > yum-cli don't have the code to ask for > a missing dvd or asking for CD changing. > pk can't handle it yet, only yumex NextGen can handle the media request/change.
This must be something new for F12 as I do not see it on my F11 installs which were done from DVD+updates. If this is going to exist from now on, it should definitely be disabled by default with comments explaining what it is for, etc.
Shouldn't this problem be assigned to anaconda rather than yum? Anaconda put it there, yum is just doing its thing.
Chris, in reply to comment 5 ... cost relative cost of accessing this repository. Useful for weighing one repo's packages as greater/less than any other. defaults to 1000 ...so that repo file is prefered over the network repos. (which I assume is intentional, or people with the CD/DVD in would hit the network).
this one is going over to anaconda - if the repo is enabled we have to update the cache on it. And we can't know apriori whether the cost will be an issue.
We no longer copy the CD/DVD repo config file over. And no, it's not new for F12 behavior. We'd been copying that file over off-and-on ever since anaconda switched to using yum way back around FC6 or so. *** This bug has been marked as a duplicate of bug 521358 ***