PDA

View Full Version : FC6T3 -> FC6 yum issues


moxie
2006-10-24, 10:08 PM CDT
I changed the repo from dev to release... then ran yum update

I keep getting this error. Anybody else getting this? Not sure if it's just because servers are slammed right now, or if this is a real issue?


Component: Software Updater
Summary: TB9b21e18b mirror.py:385:_mirror_try:KeyError: 'failure_callback'

Traceback (most recent call last):
File "/usr/sbin/pup", line 354, in _apply
self.applyChanges(self.mainwin)
File "/usr/lib/python2.4/site-packages/pirut/__init__.py", line 530, in applyChanges
dlpkgs = self.downloadPackages(mainwin)
File "/usr/lib/python2.4/site-packages/pirut/__init__.py", line 272, in downloadPackages
probs = self.downloadPkgs(dlpkgs)
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 690, in downloadPkgs
cache=po.repo.http_caching != 'none',
File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 468, in getPackage
cache=cache
File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 451, in __get
http_headers=headers,
File "/usr/lib/python2.4/site-packages/urlgrabber/mirror.py", line 411, in urlgrab
return self._mirror_try(func, url, kw)
File "/usr/lib/python2.4/site-packages/urlgrabber/mirror.py", line 397, in _mirror_try
return func_ref( *(fullurl,), **kwargs )
File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 927, in urlgrab
return self._retry(opts, retryfunc, url, filename)
File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 845, in _retry
r = apply(func, (opts,) + args, {})
File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 922, in retryfunc
apply(cb_func, (obj, )+cb_args, cb_kwargs)
File "/usr/lib/python2.4/site-packages/urlgrabber/mirror.py", line 385, in _mirror_try
try: del kw[k]
KeyError: 'failure_callback'

Local variables in innermost frame:
gr: <urlgrabber.mirror.GrabRequest instance at 0xaa5be4c>
url: Fedora/RPMS/libstdc++-devel-4.1.1-30.i386.rpm
k: failure_callback
mirrorchoice: {'mirror': 'http://distro.ibiblio.org/pub/linux/distributions/fedora/linux/core/6/i386/os/'}
self: <urlgrabber.mirror.MGRandomOrder instance at 0xba1ca0c>
grabber: <urlgrabber.grabber.URLGrabber instance at 0xba1cccc>
func_ref: <bound method URLGrabber.urlgrab of <urlgrabber.grabber.URLGrabber instance at 0xba1cccc>>
func: urlgrab
kwargs: {'range': (None, None), 'checkfunc': (<bound method PackageUpdater.verifyPkg of <__main__.PackageUpdater object at 0xa230f2c>>, (<yum.sqlitesack.YumAvailablePackageSqlite instance at 0xad1ab0c>, 1), {}), 'copy_local': 0, 'http_headers': (), 'text': '(59/69): libstdc++-devel-4.1.1-30.i386.rpm', 'reget': 'simple', 'filename': '//var/cache/yum/core/packages/libstdc++-devel-4.1.1-30.i386.rpm'}
kw: {'range': (None, None), 'checkfunc': (<bound method PackageUpdater.verifyPkg of <__main__.PackageUpdater object at 0xa230f2c>>, (<yum.sqlitesack.YumAvailablePackageSqlite instance at 0xad1ab0c>, 1), {}), 'copy_local': 0, 'http_headers': (), 'text': '(59/69): libstdc++-devel-4.1.1-30.i386.rpm', 'reget': 'simple', 'filename': '//var/cache/yum/core/packages/libstdc++-devel-4.1.1-30.i386.rpm'}
fullurl: http://distro.ibiblio.org/pub/linux/distributions/fedora/linux/core/6/i386/os/Fedora/RPMS/libstdc++-devel-4.1.1-30.i386.rpm

Dan
2006-10-24, 11:07 PM CDT
Try again tomorrow or Thursday. Bet it clears right up!

snoze
2006-10-24, 11:14 PM CDT
hey don't worry about this. Follow my instructions

rebuild rpm packagelist.

Delete the files in the dir. /var/lib/rpm/__db* delete all *.__db file in this dir

and then use command

rpm --rebuilddb

once done, thne type yum upgrade

let me know if it is helpful


make sure you are right now using only one file install
rpm -Uvh http://download.fedora.redhat.com/pub/fedora/linux/core/6/i386/os/Fedora/RPMS/fedora-release-6-4.noarch.rpm

snoze
2006-10-24, 11:20 PM CDT
this error may be because the rpm build are based on previous release.

moxie
2006-10-24, 11:28 PM CDT
it's working now, hasn't been all day, but it finally just updated without issues. So maybe it was just the sheer volume of people downloading and updating?

but thanks for all your replies.

Dan
2006-10-25, 10:42 AM CDT
Ahhh! Good! Have fun!

Dan