LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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-11-2011, 01:52 AM   #1
shanky
Member
 
Registered: Aug 2011
Posts: 155

Rep: Reputation: Disabled
Question 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
 
Old 10-11-2011, 02:06 AM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
Fedora 11 is a old release now and the packages have been moved to the archive directory on the fedora file server:
Quote:
ATTENTION
======================================
The contents of this directory have been moved to our archives available at:

http://archives.fedoraproject.org/pub/archive/fedora/
You have to change the base repository configuration file to gain access.
 
Old 10-11-2011, 02:10 AM   #3
shanky
Member
 
Registered: Aug 2011
Posts: 155

Original Poster
Rep: Reputation: Disabled
thanks a lot for your reply..
so what should be next step now ??
 
Old 10-11-2011, 02:13 AM   #4
shanky
Member
 
Registered: Aug 2011
Posts: 155

Original Poster
Rep: Reputation: Disabled
should i change to fc 15 or is it still possible to work on fc11 getting to install certain packages i wnt??
 
Old 10-11-2011, 02:24 AM   #5
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
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/
then try yum again.
 
Old 10-11-2011, 03:36 AM   #6
shanky
Member
 
Registered: Aug 2011
Posts: 155

Original Poster
Rep: Reputation: Disabled
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??
 
Old 10-11-2011, 03:41 AM   #7
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
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/
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch
should become:
Code:
baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/$releasever/Everything/$basearch/os/
#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch
 
1 members found this post helpful.
Old 10-11-2011, 03:44 AM   #8
shanky
Member
 
Registered: Aug 2011
Posts: 155

Original Poster
Rep: Reputation: Disabled
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..
 
Old 10-11-2011, 03:46 AM   #9
ModServ
LQ Newbie
 
Registered: Oct 2010
Posts: 12

Rep: Reputation: 2
You can open&edit it using:

Code:
vi /etc/yum.repos.d/fedora.repo
or

Code:
nano /etc/yum.repos.d/fedora.repo
or

Code:
pico /etc/yum.repos.d/fedora.repo
 
1 members found this post helpful.
Old 10-11-2011, 03:47 AM   #10
shanky
Member
 
Registered: Aug 2011
Posts: 155

Original Poster
Rep: Reputation: Disabled
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..
 
Old 10-11-2011, 03:50 AM   #11
ModServ
LQ Newbie
 
Registered: Oct 2010
Posts: 12

Rep: Reputation: 2
No, That means there's no file with that name "download.py" in your current directory.

You welcome
 
Old 10-11-2011, 03:53 AM   #12
shanky
Member
 
Registered: Aug 2011
Posts: 155

Original Poster
Rep: Reputation: Disabled
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
 
Old 10-11-2011, 03:54 AM   #13
ModServ
LQ Newbie
 
Registered: Oct 2010
Posts: 12

Rep: Reputation: 2
Unfortunately, I'm not really familiar with FC

Good Luck
 
Old 10-11-2011, 11:23 PM   #14
shanky
Member
 
Registered: Aug 2011
Posts: 155

Original Poster
Rep: Reputation: Disabled
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
 
Old 10-12-2011, 12:52 AM   #15
shanky
Member
 
Registered: Aug 2011
Posts: 155

Original Poster
Rep: Reputation: Disabled
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..
??
 
  


Reply



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
yum install flash ... yum: command not found ... which yum ... /usr/bin/yum tg0000 Fedora 8 04-13-2011 11:25 AM
problem when run yum (No module named yum) ezak Linux - Distributions 4 10-16-2009 04:04 AM
yum header/pidof yum problem yohmie Fedora 3 03-24-2009 07:54 AM
problem after yum yum yum (delicious) alaios Fedora 3 01-14-2009 02:34 AM
Yum Problem - /var/cache/yum/base/primary.xml.gz:1 ice99 Linux - Software 0 12-15-2005 01:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:29 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
Open Source Consulting | Domain Registration