Bug 980586 - [abrt] yum-3.4.3-95.fc19: igroups.py:117:_read_grp_grps:ValueError: invalid literal for int() with base 10: "\xa0\xa72\x97\xc0\x9d,\xca\xb3\xb1\xc9\x92\xcet\xf57\x91\xb5\t \x8f\x86\x88I(0\xf8\x0f\xb2\xb5Cp\xe3\x9d\xbdF\xca\xc1\xc5\xb1\xb6\xaeBda\xa77\x...
[abrt] yum-3.4.3-95.fc19: igroups.py:117:_read_grp_grps:ValueError: invalid l...
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: yum (Show other bugs)
19
x86_64 Linux
medium Severity high
: ---
: ---
Assigned To: packaging-team-maint
Fedora Extras Quality Assurance
abrt_hash:2ac047ee4f1ce7e44074352ab0f...
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-02 15:08 EDT by Jeff Bastian
Modified: 2014-10-06 10:12 EDT (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2014-10-06 10:12:31 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
File: backtrace (2.58 KB, text/plain)
2013-07-02 15:09 EDT, Jeff Bastian
no flags Details
File: core_backtrace (1.02 KB, text/plain)
2013-07-02 15:09 EDT, Jeff Bastian
no flags Details
File: environ (2.26 KB, text/plain)
2013-07-02 15:09 EDT, Jeff Bastian
no flags Details

  None (edit)
Description Jeff Bastian 2013-07-02 15:08:55 EDT
Description of problem:
yum -y update resulted in
ValueError: invalid literal for int() with base 10: "\xa0\xa72\x97\xc0\x9d,\xca\xb3\xb1\xc9\x92\xcet\xf57\x91\xb5\t \x8f\x86\x88I(0\xf8\x0f\xb2\xb5Cp\xe3\x9d\xbdF\xca\xc1\xc5\xb1\xb6\xaeBda\xa77\x10M\xa8Y6*\xdd|\xa4i\xb3\x7fdD\x1a\x0e\\\xa3ZF\xce5R\xe3\x0c\xb7\xa1\x84\xcd\xe2\xe3\xe5\x80\xa7^O:\x06\xb9\xbf\xfb\\B<\xda\x8c\xf3\\~]\xd47yBp)\xc9\x82\xbe\x80\xff'pi\x0e\xcf\xd1i4c\xf2\xb7\x13\xbc`\x85^\x17\xeb\xc3\x0c +\xde\xdd\xfcK{^\xdc\xc6\x986\x94\x07\x96\xe2\xae\xd5\xce\xcfb4\xf3\x1fM\xbd8\xa5O\x94\x87\x885F\xef"

Version-Release number of selected component:
yum-3.4.3-95.fc19

Additional info:
reporter:       libreport-2.1.5
cmdline:        /usr/bin/python /usr/bin/yum -y update
executable:     /usr/bin/yum
kernel:         3.9.6-301.fc19.x86_64
runlevel:       N 5
uid:            0

Truncated backtrace:
igroups.py:117:_read_grp_grps:ValueError: invalid literal for int() with base 10: "\xa0\xa72\x97\xc0\x9d,\xca\xb3\xb1\xc9\x92\xcet\xf57\x91\xb5\t \x8f\x86\x88I(0\xf8\x0f\xb2\xb5Cp\xe3\x9d\xbdF\xca\xc1\xc5\xb1\xb6\xaeBda\xa77\x10M\xa8Y6*\xdd|\xa4i\xb3\x7fdD\x1a\x0e\\\xa3ZF\xce5R\xe3\x0c\xb7\xa1\x84\xcd\xe2\xe3\xe5\x80\xa7^O:\x06\xb9\xbf\xfb\\B<\xda\x8c\xf3\\~]\xd47yBp)\xc9\x82\xbe\x80\xff'pi\x0e\xcf\xd1i4c\xf2\xb7\x13\xbc`\x85^\x17\xeb\xc3\x0c +\xde\xdd\xfcK{^\xdc\xc6\x986\x94\x07\x96\xe2\xae\xd5\xce\xcfb4\xf3\x1fM\xbd8\xa5O\x94\x87\x885F\xef"

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 316, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 126, in main
    result, resultmsgs = base.doCommands()
  File "/usr/share/yum-cli/cli.py", line 522, in doCommands
    return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds)
  File "/usr/share/yum-cli/yumcommands.py", line 490, in doCommand
    ret = base.updatePkgs(extcmds, update_to=(basecmd == 'update-to'))
  File "/usr/share/yum-cli/cli.py", line 964, in updatePkgs
    self.update()
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 4906, in update
    for ievgrp in self.igroups.environments:
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1062, in <lambda>
    igroups = property(fget=lambda self: self._getIGroups(),
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1022, in _getIGroups
    self._igroups = yum.igroups.InstalledGroups(db_path=pdb_path)
  File "/usr/lib/python2.7/site-packages/yum/igroups.py", line 81, in __init__
    self._read_grp_grps(db_path)
  File "/usr/lib/python2.7/site-packages/yum/igroups.py", line 117, in _read_grp_grps
    ver = int(_read_str(fo))
ValueError: invalid literal for int() with base 10: "\xa0\xa72\x97\xc0\x9d,\xca\xb3\xb1\xc9\x92\xcet\xf57\x91\xb5\t \x8f\x86\x88I(0\xf8\x0f\xb2\xb5Cp\xe3\x9d\xbdF\xca\xc1\xc5\xb1\xb6\xaeBda\xa77\x10M\xa8Y6*\xdd|\xa4i\xb3\x7fdD\x1a\x0e\\\xa3ZF\xce5R\xe3\x0c\xb7\xa1\x84\xcd\xe2\xe3\xe5\x80\xa7^O:\x06\xb9\xbf\xfb\\B<\xda\x8c\xf3\\~]\xd47yBp)\xc9\x82\xbe\x80\xff'pi\x0e\xcf\xd1i4c\xf2\xb7\x13\xbc`\x85^\x17\xeb\xc3\x0c +\xde\xdd\xfcK{^\xdc\xc6\x986\x94\x07\x96\xe2\xae\xd5\xce\xcfb4\xf3\x1fM\xbd8\xa5O\x94\x87\x885F\xef"

Local variables in innermost frame:
_read_str: <function _read_str at 0x1fc35f0>
db_path: '/var/lib/yum/groups'
self: <yum.igroups.InstalledGroups object at 0x20dfa10>
fo: <open file '/var/lib/yum/groups/environment', mode 'r' at 0x33b4d20>
Comment 1 Jeff Bastian 2013-07-02 15:09:00 EDT
Created attachment 767921 [details]
File: backtrace
Comment 2 Jeff Bastian 2013-07-02 15:09:05 EDT
Created attachment 767922 [details]
File: core_backtrace
Comment 3 Jeff Bastian 2013-07-02 15:09:09 EDT
Created attachment 767924 [details]
File: environ
Comment 4 Jeff Bastian 2013-07-02 15:11:52 EDT
Running yum update again after the above crash results in:

[jbastian@localhost ~]$ sudo yum check-update
Loaded plugins: langpacks, refresh-packagekit
Error: Rpmdb checksum is invalid: pkg checksums
Comment 5 Jeff Bastian 2013-07-02 15:14:54 EDT
If I do a 'yum clean all' then I can run 'yum update' one time and then the rpmdb checksum is invalid again.
Comment 6 Valentina Mukhamedzhanova 2014-10-06 10:12:31 EDT
I believe this has been fixed by the upstream commit http://yum.baseurl.org/gitweb?p=yum.git;a=commitdiff;h=127534697b2f5ba1c911656312fc468c5d8d7337

Note You need to log in before you can comment on or make changes to this bug.