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 17th August 2012, 10:56 PM
rkfb1965 Offline
Registered User
 
Join Date: Dec 2009
Posts: 4
linuxfirefox
Yum - ValueError: invalid literal for int() with base 10: '-->

# yum update
Loaded plugins: langpacks, presto, refresh-packagekit
adobe-linux-i386 | 951 B 00:00
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in <module>
yummain.user_main(sys.argv[1:], exit_code=True)
File "/usr/share/yum-cli/yummain.py", line 319, in user_main
errcode = main(args)
File "/usr/share/yum-cli/yummain.py", line 144, in main
result, resultmsgs = base.doCommands()
File "/usr/share/yum-cli/cli.py", line 485, in doCommands
return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds)
File "/usr/share/yum-cli/yumcommands.py", line 405, in doCommand
return base.updatePkgs(extcmds, update_to=(basecmd == 'update-to'))
File "/usr/share/yum-cli/cli.py", line 890, in updatePkgs
self.update()
File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 4364, in update
updates = self.up.getUpdatesTuples()
File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1032, in <lambda>
up = property(fget=lambda self: self._getUpdates(),
File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 837, in _getUpdates
self._up = rpmUtils.updates.Updates(self.rpmdb.simplePkgList( ), self.pkgSack.simplePkgList())
File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1013, in <lambda>
pkgSack = property(fget=lambda self: self._getSacks(),
File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 777, in _getSacks
self.repos.populateSack(which=repos)
File "/usr/lib/python2.7/site-packages/yum/repos.py", line 302, in populateSack
self.doSetup()
File "/usr/lib/python2.7/site-packages/yum/repos.py", line 127, in doSetup
self.retrieveAllMD()
File "/usr/lib/python2.7/site-packages/yum/repos.py", line 83, in retrieveAllMD
if repo._async and repo._commonLoadRepoXML(repo):
File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1329, in _commonLoadRepoXML
result = self._getFileRepoXML(local, text)
File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1107, in _getFileRepoXML
size=102400) # setting max size as 100K
File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 928, in _getFile
**kwargs
File "/usr/lib/python2.7/site-packages/urlgrabber/mirror.py", line 424, in urlgrab
return self._mirror_try(func, url, kw)
File "/usr/lib/python2.7/site-packages/urlgrabber/mirror.py", line 402, in _mirror_try
return func_ref( *(fullurl,), **kwargs )
File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1126, in urlgrab
return self._retry(opts, retryfunc, url, filename)
File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1020, in _retry
r = apply(func, (opts,) + args, {})
File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1117, in retryfunc
_TH.update(url, fo._amount_read - fo._reget_length, time.time() - tm, None)
File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 2303, in update
_TH.load()
File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 2283, in load
_TH.hosts[host] = int(speed), int(fail), int(ts)
ValueError: invalid literal for int() with base 10: '-->'

No working yum. The installation is F17 only a few days old..it worked fine up til today. I was using the gui and it seemed to be hanging so I switched to a terminal.

regards,
--
Robert
Reply With Quote
  #2  
Old 18th August 2012, 08:26 PM
rkfb1965 Offline
Registered User
 
Join Date: Dec 2009
Posts: 4
linuxfirefox
Re: Yum - ValueError: invalid literal for int() with base 10: '-->

Erased yum and the rpmfusion packages. Re-installed yum from rpm and yum update runs fine.

Error returns if I add the rpmfusion repos. Uninstall the rpmfusion repos and yum works again.

regards,
--
Robert
Reply With Quote
  #3  
Old 23rd February 2013, 06:20 AM
matth45 Offline
Registered User
 
Join Date: Jun 2007
Posts: 148
linuxchrome
Re: Yum - ValueError: invalid literal for int() with base 10: '-->

Try removing /var/cache/yum/*/*/timedhosts
Reply With Quote
  #4  
Old 23rd February 2013, 06:21 AM
marko's Avatar
marko Offline
Registered User
 
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 5,487
linuxfirefox
Re: Yum - ValueError: invalid literal for int() with base 10: '-->

Quote:
Originally Posted by matth45 View Post
Try removing /var/cache/yum/*/*/timedhosts

they really should have "yum clean all" remove /var/cache/yum/*/*/timedhosts as one of its steps
Reply With Quote
Reply

Tags
>, base, int, invalid, literal, valueerror, yum

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
[SOLVED] Add/Remove Software ValueError infernosoft Using Fedora 3 24th March 2010 04:52 PM
fedora 10 yum error "ValueError: bad marshal data" Phoenix1983 Using Fedora 0 6th February 2009 12:13 PM
jmb363: dma-base is invalid ganniterix Hardware & Laptops 18 3rd October 2007 09:35 PM
ValueError: bad marshal data DeathZan Installation and Live Media 1 15th February 2005 04:11 PM


Current GMT-time: 00:00 (Wednesday, 19-06-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