LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-05-2011, 05:43 AM   #1
shanky
Member
 
Registered: Aug 2011
Posts: 155

Rep: Reputation: Disabled
Exclamation 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
 
Old 10-05-2011, 06:27 AM   #2
shanky
Member
 
Registered: Aug 2011
Posts: 155

Original Poster
Rep: Reputation: Disabled
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..
 
Old 10-05-2011, 06:44 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153
# 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]
name=Fedora11-i386 
baseurl=http://download.fedora.redhat.com/pub/archive/fedora/linux/releases/11/Everything/i386/os/
enabled=1
gpgcheck=1

[fc11-updates]
name=Fedora11-updates-i386
baseurl=http://download.fedora.redhat.com/pub/archive/fedora/linux/updates/11/i386/
enabled=1
gpgcheck=1
If you have the package, 'yum localinstall' can also be used :
# yum localinstall --nogpgcheck mercurial-1.5.3-1.fc11.i586.rpm

..
 
Old 10-05-2011, 07:00 AM   #4
shanky
Member
 
Registered: Aug 2011
Posts: 155

Original Poster
Rep: Reputation: Disabled
thanks a lot..will try it out..
 
Old 10-05-2011, 08:16 AM   #5
shanky
Member
 
Registered: Aug 2011
Posts: 155

Original Poster
Rep: Reputation: Disabled
hii
i am a little confused here where should be implementing the code you gave..sorry for the trouble..
 
Old 10-05-2011, 08:20 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153
*


The code is the required replacement for the text in /etc/yum.repos.d/fedora.repo
 
Old 10-05-2011, 08:50 AM   #7
shanky
Member
 
Registered: Aug 2011
Posts: 155

Original Poster
Rep: Reputation: Disabled
when i type in the command "/etc/yum.repos.d/fedora.repo" the console shows
"bash: /etc/yum.repos.d/fedora.repo: Permission denied"

???
 
Old 10-05-2011, 09:05 AM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153
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/
 
Old 10-05-2011, 09:09 AM   #9
shanky
Member
 
Registered: Aug 2011
Posts: 155

Original Poster
Rep: Reputation: Disabled
thanks a lot ..will try it out and let you know..
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Not able to distro-sync after preupgrade from Fedora 13 to Fedora 14 (Yum dependency problem) prudhivisekhar Fedora 2 10-07-2011 03:27 AM
yum installation in fedora 11 on hp2730p tablet pc sanatkrtiwari86 Linux - Laptop and Netbook 1 08-01-2009 12:48 AM
New installation of Fedora 9 - Problems with yum SlowCoder Linux - General 5 08-18-2008 09:29 AM
Problem in yum installation shivanrathore Linux - Newbie 3 07-30-2008 06:28 AM
installation of fedora core 3 using yum in fedoracore2 pranith Linux - General 1 11-06-2004 10:06 PM


All times are GMT -5. The time now is 06:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration