yum problem
hii
i am using fedora 11 and i am trying to install certain packages using the coammand 'yum' but everytime i give a command using yum such as yum search pybindgen ,or yum list installed, or yum install pyvizgraph i always get "Loaded plugins: refresh-packagekit Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again" the yum packages are installed still i dont understand what the problem is.. someone please guide me.. thanks |
Fedora 11 is a old release now and the packages have been moved to the archive directory on the fedora file server:
Quote:
|
thanks a lot for your reply..
so what should be next step now ?? |
should i change to fc 15 or is it still possible to work on fc11 getting to install certain packages i wnt??
|
Installing a recent release is always advisable for security concerns. Anyway, if you want to stick to Fedora 11 for a while, you can still find the official packages in the repository cited above. In the file /etc/yum.repos.d/fedora.repo you have to comment out the mirrorlist line and uncomment the baseurl one. Then change the baseurl to
Code:
baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/$releasever/Everything/$basearch/os/ |
so i should just open a new text file save it as fedora.repo type in the code and do
cp fedora.repo /etc/yum.repos.d/ and then try yum ..right?? |
Nope. You can just edit the existing /etc/yum.repos.d/fedora.repo file. No need to create one from scratch. You have to modify only two lines:
Code:
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/ Code:
baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/$releasever/Everything/$basearch/os/ |
thanks..one last thing..how do i get to open the file..i mean where do i find it..a little explaination could help me..sry really bad and new at this stuff..thanks..
|
You can open&edit it using:
Code:
vi /etc/yum.repos.d/fedora.repo Code:
nano /etc/yum.repos.d/fedora.repo Code:
pico /etc/yum.repos.d/fedora.repo |
also when i try to run this command for downloading a module
"./download.py -n gjc/ns-3-pyviz-dev" i get no such file as ./download.py is this because of the same reason that fc11 is no longer supported ?? ---------- Post added 10-11-11 at 03:48 AM ---------- hi ModServ , thanks for the info.. :) |
No, That means there's no file with that name "download.py" in your current directory.
You welcome :) |
ya i got that but actually that command was to add a pyviz module.got it from a blog on ns3 and by going through various posts in that..anyways i shall try it out soon and update the thread..thanks a lot
|
Unfortunately, I'm not really familiar with FC :D
Good Luck :) |
hiii colucix
i tried out what u told me to but this what i get on the console after changing the repo file Loaded plugins: refresh-packagekit http://archives.fedoraproject.org/pu...ta/repomd.xml: [Errno 4] IOError: <urlopen error [Errno -3] Temporary failure in name resolution> Trying other mirror. Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again |
i changed the code as told..and when i type on the console as yum update
it shows the repo file ..but the first line tells me that the file contains parsing errors.. ?? |
All times are GMT -5. The time now is 02:33 PM. |