Fedora Linux Support Community & Resources Center
  #1  
Old 21st September 2009, 09:15 AM
ds1 Offline
Registered User
 
Join Date: Sep 2009
Posts: 3
linuxfedorafirefox
software update error message

Hi

I just installed 12 alpha and receive the following message when I try to update the software:

Traceback (most recent call last):
File "/usr/share/PackageKit/helpers/yum/yumBackend.py", line 2180, in get_updates
ygl = self.yumbase.doPackageLists(pkgnarrow='updates')
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 1714, in doPackageLists
for (n,a,e,v,r) in self.up.getUpdatesList():
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 715, in <lambda>
up = property(fget=lambda self: self._getUpdates(),
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 595, in _getUpdates
self._up = rpmUtils.updates.Updates(self.rpmdb.simplePkgList( ), self.pkgSack.simplePkgList())
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 702, in <lambda>
pkgSack = property(fget=lambda self: self._getSacks(),
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 538, in _getSacks
self.repos.populateSack(which=repos)
File "/usr/lib/python2.6/site-packages/yum/repos.py", line 277, in populateSack
sack.populate(repo, mdtype, callback, cacheonly)
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 164, in populate
if self._check_db_version(repo, mydbtype):
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 222, in _check_db_version
return repo._check_db_version(mdtype)
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1220, in _check_db_version
repoXML = self.repoXML
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1384, in <lambda>
repoXML = property(fget=lambda self: self._getRepoXML(),
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1376, in _getRepoXML
self._loadRepoXML(text=self)
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1366, in _loadRepoXML
return self._groupLoadRepoXML(text, ["primary"])
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1349, in _groupLoadRepoXML
if self._commonLoadRepoXML(text):
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1195, in _commonLoadRepoXML
result = self._getFileRepoXML(local, text)
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 976, in _getFileRepoXML
cache=self.http_caching == 'all')
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 754, in _getFile
result = self.mediafunc(local = local, checkfunc = checkfunc, relative = relative, text = text, copy_local = copy_local, url = url, mediaid = self.mediaid, name = self.name, discnum = discnum, range = (start, end))
File "/usr/share/PackageKit/helpers/yum/yumBackend.py", line 2863, in MediaGrabber
manager = MediaManager()
File "/usr/share/PackageKit/helpers/yum/yumMediaManager.py", line 101, in __init__
raise NotImplemented
TypeError: exceptions must be classes or instances, not NotImplementedType


I wonder if anyone has soem advice on this please?

Many thanks

Dave s
  #2  
Old 21st September 2009, 10:02 AM
JEO Offline
Registered User
 
Join Date: Jan 2006
Posts: 2,787
linuxfedorafirefox
Try updating yum and PackageKit in a terminal window and see if it fixes the problem:

su -
yum clean all
yum update yum
yum update PackageKit*
  #3  
Old 21st September 2009, 08:21 PM
ds1 Offline
Registered User
 
Join Date: Sep 2009
Posts: 3
linuxfedorafirefox
Hello

thanks for the reply. yum update PackageKit and yum update yuml both result in the message:

Error: Cannot retrieve repository metadata (repomd.xml) for repository: InstallMedia. Please verify its path and try again

Not sure what to do from here. If it helps, the contents of Fedora-install-media.repo is:

[InstallMedia]
name=Fedora 12-Alpha
mediaid=1250549828.491753
metadata_expire=-1
gpgcheck=0
cost=500

Thanks

Dave S
  #4  
Old 22nd September 2009, 07:22 AM
JEO Offline
Registered User
 
Join Date: Jan 2006
Posts: 2,787
linuxfedorafirefox
Are you trying to update using a local installation DVD?

If you want to update over the internet make sure that rawhide repository is enabled, and I would disable the InstallMedia.

You can temporarily disable it by adding --disablerepo=InstallMedia to the yum commands, or permanently by adding an enabled=0 line to that .repo file.
  #5  
Old 22nd September 2009, 08:30 AM
ds1 Offline
Registered User
 
Join Date: Sep 2009
Posts: 3
linuxfedorafirefox
Hi

changed the 'enabled' status of those two repo files and that did the trick, thank you very much indeed.

I guess the InstallMedia was enabled because I did not have a wired connection available when I was installing Fedora so it defaulted back to the dvd, even though I had enabled Rawhide through 'software sources' once my wireless connection was set up. The dvd did not appear in the software source list so I did not think of disabling it.

Thanks again

Dave
 

Tags
error, message, software, update

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
Yum Update error message creative525 Installation, Upgrades and Live Media 6 18th December 2007 04:27 AM
error message during yum update wprauchholz Using Fedora 3 3rd May 2006 04:16 AM
yum update error message soongwoo Using Fedora 3 29th September 2005 01:15 AM
Apt-get update error message AliOop Using Fedora 3 30th June 2004 03:19 AM


Current GMT-time: 11:19 (Friday, 24-10-2014)

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
Morar - Artemivsk Photos on Instagram - Ris-Orangis Photos on Instagram