yum installation problem in fedora 11
hii
i am trying to install mercurial in my fedora 11 so when i give the command yum install mercurial i get the error "Loaded plugins: refresh-packagekit Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again" in fact this is happening whenever i try and use the command "yum" what is that i am missing out ?? Thanks |
i do have the yum package installed so thats not the issue..
i downloaded the .rpm file for mercurial but after that i am stuck..please help me out ..i need to get mercurial installed in my system thanks.. |
# yum install mercurial
Fedora 11 was moved to the "old archive" long time ago : A new file, fedora.repo is required in /etc/yum.repos.d/, example i386 Code:
[fedora11] # yum localinstall --nogpgcheck mercurial-1.5.3-1.fc11.i586.rpm .. |
thanks a lot..will try it out..
|
hii
i am a little confused here where should be implementing the code you gave..sorry for the trouble.. |
*
The code is the required replacement for the text in /etc/yum.repos.d/fedora.repo |
when i type in the command "/etc/yum.repos.d/fedora.repo" the console shows
"bash: /etc/yum.repos.d/fedora.repo: Permission denied" ??? |
A file location / a text file cannot be used as a command.
Create a new text file by name fedora.repo in /home/<name>/. Copy / paste the text into the file, and save. Type : su <password> , in a terminal window. And then : cp fedora.repo /etc/yum.repos.d/ |
thanks a lot ..will try it out and let you know..
|
All times are GMT -5. The time now is 02:33 PM. |