Broken yum, attribute '_matchExpireFilter'

General support questions
Post Reply
marohds
Posts: 1
Joined: 2018/01/31 00:34:20

Broken yum, attribute '_matchExpireFilter'

Post by marohds » 2018/01/31 00:38:27

Hi,

I'm having this issue, every yum command produces this error:
AttributeError: 'YumRepository' object has no attribute '_matchExpireFilter'.
Here goes complete output of "yum clean all"

Code: Select all

# yum clean metadata
Loaded plugins: changelog, keys
Traceback (most recent call last):
  File "/bin/yum", line 29, in <module>
    yummain.user_main(sys.argv[1:], exit_code=True)
  File "/usr/share/yum-cli/yummain.py", line 370, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 165, in main
    base.getOptionsConfig(args)
  File "/usr/share/yum-cli/cli.py", line 353, in getOptionsConfig
    self.parseCommands() # before we return check over the base command + args
  File "/usr/share/yum-cli/cli.py", line 395, in parseCommands
    self._set_repos_cache_req()
  File "/usr/share/yum-cli/cli.py", line 444, in _set_repos_cache_req
    if repo._matchExpireFilter():
AttributeError: 'YumRepository' object has no attribute '_matchExpireFilter'
Appreciate any help.

Regards.

Post Reply