Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 2nd November 2007, 09:04 AM
cube1312 Offline
Registered User
 
Join Date: Nov 2007
Posts: 1
Post Pirut - Problem

Hi all,

I'm new here, and i vahe a big problem. I hope you can help me on this issue. Here is my errormessage, when want to start the Software installation/update tool on Fedora7:

Component: pirut
Summary: TB3e8fa63e yumRepo.py:765:_getRepoXML:RepoError: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again

Traceback (most recent call last):
File "/usr/sbin/pirut", line 441, in <module>
main()
File "/usr/sbin/pirut", line 434, in main
pm = PackageManager(options.config, options.onlyrepo)
File "/usr/sbin/pirut", line 61, in __init__
GraphicalYumBase.__init__(self, False, config)
File "/usr/lib/python2.5/site-packages/pirut/__init__.py", line 124, in __init__
self.reset()
File "/usr/lib/python2.5/site-packages/pirut/__init__.py", line 223, in reset
self.doTsSetup()
File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 63, in doTsSetup
return self._getTs()
File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 77, in _getTs
self._tsInfo.setDatabases(self.rpmdb, self.pkgSack)
File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 526, in <lambda>
pkgSack = property(fget=lambda self: self._getSacks(),
File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 381, in _getSacks
self.repos.populateSack(which=repos)
File "/usr/lib/python2.5/site-packages/yum/repos.py", line 242, in populateSack
sack.populate(repo, mdtype, callback, cacheonly)
File "/usr/lib/python2.5/site-packages/yum/yumRepo.py", line 142, in populate
if self._check_db_version(repo, mydbtype):
File "/usr/lib/python2.5/site-packages/yum/yumRepo.py", line 199, in _check_db_version
if repo.repoXML.repoData.has_key(mdtype):
File "/usr/lib/python2.5/site-packages/yum/yumRepo.py", line 769, in <lambda>
repoXML = property(fget=lambda self: self._getRepoXML(),
File "/usr/lib/python2.5/site-packages/yum/yumRepo.py", line 765, in _getRepoXML
raise Errors.RepoError, msg
RepoError: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again

Local variables in innermost frame:
msg: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again
self: fedora
e: Cannot find a valid baseurl for repo: fedora


Thanks for yur help

in Advance.

Chris
Reply With Quote
  #2  
Old 7th November 2007, 10:40 AM
Mark Dzmura Offline
Registered User
 
Join Date: Jun 2007
Posts: 3
Same Probllem - Unable to find repository metadata

For the first time since I've been running F7, pirut has blown up on invocation - exact same symptoms as the creator of this thread.

Hopefully there is a manual procedure to recreate the metadata??

How did it get corrupted in the first place?

-Mark
Reply With Quote
  #3  
Old 7th November 2007, 10:55 AM
bob's Avatar
bob Online
Administrator (yeah, back again)
 
Join Date: Jul 2004
Location: Colton, NY; Junction of Heaven & Earth (also Routes 56 & 68).
Age: 67
Posts: 21,202
There are many threads with this problem (try searching 'metadata'). The best first attempt at cleaning things would be to open a terminal, sign in as root (su -) and then type "yum clean all". You can also check this thread: http://fedoraforum.org/forum/showthread.php?t=169831
__________________
Linux & Beer - That TOTALLY Computes!
Registered Linux User #362651


Don't use any of my solutions on working computers or near small children.
Reply With Quote
  #4  
Old 7th November 2007, 11:02 AM
Mark Dzmura Offline
Registered User
 
Join Date: Jun 2007
Posts: 3
Thanks, Bob... For the moment, I've started down another path, though.

I started trying to update pirut to the latest (as recommended by Katz@fedora) using yum directly.
I noted that the adobe repository appears to be broken, and this was preventing pirut from running.

So, I downloaded the new pirut... They fixed one problem, but the fix only goes so far...

Now, instead of crashing, pirut gives a graceful message that the adobe repository can't be contacted... but it still fails to run!

There doesn't seem to be a way to tell pirut to pass the --disablerepo="" switch down to yum.
Reply With Quote
  #5  
Old 7th November 2007, 11:07 AM
bob's Avatar
bob Online
Administrator (yeah, back again)
 
Join Date: Jul 2004
Location: Colton, NY; Junction of Heaven & Earth (also Routes 56 & 68).
Age: 67
Posts: 21,202
Just use gedit to change the 'enabled=1' to 'enabled=0' for adobe and it won't be included. BTW, mine's working as "adobe-linux-i386.repo" (Fedora7)

[adobe-linux-i386]
name=Adobe Systems Incorporated
baseurl=http://linuxdownload.adobe.com/linux/i386/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux
__________________
Linux & Beer - That TOTALLY Computes!
Registered Linux User #362651


Don't use any of my solutions on working computers or near small children.
Reply With Quote
  #6  
Old 7th November 2007, 11:10 AM
Mark Dzmura Offline
Registered User
 
Join Date: Jun 2007
Posts: 3
OK, that fixed it...!

So, the adobe repository appeared to be hosed. Reading on about yum, I saw that I could disable the adobe repository as follows:

Edit the file /etc/yum.repos.d/adobe-linux-i386.repo

Change
enabled=1
to
enabled=0

Now pirut runs...
Reply With Quote
  #7  
Old 7th November 2007, 11:34 AM
bob's Avatar
bob Online
Administrator (yeah, back again)
 
Join Date: Jul 2004
Location: Colton, NY; Junction of Heaven & Earth (also Routes 56 & 68).
Age: 67
Posts: 21,202
Good for you. As info, I just checked and adobe's borked for me for the moment. I used the 'yum --disablerepo=adobe-linux-i386' and that bypassed it for that one update. Since this is the first bork for adobe, I'd give it a couple of days and try "yum --enablerepo=adobe-linux-i386" and see if it works. If so, you can simply use gedit to change the enabled=0 back to enabled=1.
__________________
Linux & Beer - That TOTALLY Computes!
Registered Linux User #362651


Don't use any of my solutions on working computers or near small children.
Reply With Quote
  #8  
Old 7th November 2007, 11:41 AM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
Quote:
Originally Posted by bob
Good for you. As info, I just checked and adobe's borked for me for the moment. I used the 'yum --disablerepo=adobe-linux-i386' and that bypassed it for that one update. Since this is the first bork for adobe, I'd give it a couple of days and try "yum --enablerepo=adobe-linux-i386" and see if it works. If so, you can simply use gedit to change the enabled=0 back to enabled=1.

Adobe is down here as well ( I think I will just erase the adobe repo altogether as it is crap [ always going down ] and only provides flash anyway which I can manually update myself )
__________________
My Hardware
- CPU: AMD Phenom II X6 Hex Core 1055T 95W Edition @3.5Ghz
- Motherboard: Gigabyte GA-880GM-UD2H
- Cooler: Corsair H50 CPU Cooler
- RAM: Corsair Dominator 8GB (4x2GB) DDR3 1600MHz
- Graphics: Gigabyte GeForce GTS 450 OC 1024MB GDDR5
Reply With Quote
Reply

Tags
pirut, problem

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
pirut problem a94060 Using Fedora 3 30th December 2007 02:37 PM
yet another pirut problem emh1972 Using Fedora 5 1st November 2007 06:03 PM
Problem with pup and pirut Remm Using Fedora 48 22nd October 2007 09:25 PM
yum/pirut problem thick0 Using Fedora 5 7th May 2007 06:26 AM
pirut problem fandc Using Fedora 2 11th April 2006 10:07 PM


Current GMT-time: 02:45 (Sunday, 19-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat