[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: yum update fails



On Wed, Jul 8, 2009 at 8:11 PM, Michael Harrison<mrpquter yahoo com> wrote:
>
> Upgraded from F10 to F11 and everything works except yum. Doing a yum update shows the error:
>
> Setting up Update Process
> 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 309, in user_main
>    errcode = main(args)
>  File "/usr/share/yum-cli/yummain.py", line 178, in main
>    result, resultmsgs = base.doCommands()
>  File "/usr/share/yum-cli/cli.py", line 352, in doCommands
>    return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds)
>  File "/usr/share/yum-cli/yumcommands.py", line 201, in doCommand
>    return base.updatePkgs(extcmds)
>  File "/usr/share/yum-cli/cli.py", line 608, in updatePkgs
>    self.update()
>  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 2809, in update
>    updates = self.up.getUpdatesTuples()
>  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 662, in <lambda>
>    up = property(fget=lambda self: self._getUpdates(),
>  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 563, in _getUpdates
>    self._up.doObsoletes()
>  File "/usr/lib/python2.6/site-packages/rpmUtils/updates.py", line 231, in doObsoletes
>    if flag in [None, 0] or \
> SystemError: null argument to internal routine
>
> Any ideas?
>
> Thanks,
> -Mike

You did not state which method you used for upgrading to F11.
Regardless, verify that rpm and yum got updated.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]