[abrt] yum-3.4.3-117.el7: yumRepo.py:706:_dirSetupMkdir_p:RepoError: Error making cache directory: /var/cache/yum/x86_64/7Server/epel error was: [Errno 13] Permission denied: '/var/cache/yum/x86_64/7Server/epel'

Solution Unverified - Updated -

Issue

  • ABRT errors appears while trying to install a package from third party repository.
abrt_version:   2.1.11
cmdline:        /usr/bin/python -t /usr/share/yum-cli/completion-helper.py -d 0 -C list available Dow
comment:        Error searching EPEL for package 'terminator' using "yum search terminator".
executable:     /usr/share/yum-cli/completion-helper.py
kernel:         3.10.0-121.el7.x86_64
last_occurrence: 1400852420
pid:            4287
pkg_arch:       noarch
pkg_epoch:      0
pkg_name:       yum
pkg_release:    117.el7
pkg_version:    3.4.3
runlevel:       N 5
time:           Fri 23 May 2014 09:40:20 AM EDT
uid:            1000
username:       ---

sosreport.tar.xz: Binary file, 5150616 bytes

backtrace:
:yumRepo.py:706:_dirSetupMkdir_p:RepoError: Error making cache directory: /var/cache/yum/x86_64/7Server/epel error was: [Errno 13] Permission denied: '/var/cache/yum/x86_64/7Server/epel'
:
:Traceback (most recent call last):
:  File "/usr/share/yum-cli/completion-helper.py", line 95, in <module>
:    main(sys.argv[1:])
:  File "/usr/share/yum-cli/completion-helper.py", line 83, in main
:    base.getOptionsConfig(args)
:  File "/usr/share/yum-cli/cli.py", line 352, in getOptionsConfig
:    self.parseCommands() # before we return check over the base command + args
:  File "/usr/share/yum-cli/cli.py", line 394, in parseCommands
:    self._set_repos_cache_req()
:  File "/usr/share/yum-cli/cli.py", line 416, in _set_repos_cache_req
:    if not os.path.exists(repo.metadata_cookie):
:  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 778, in <lambda>
:    metadata_cookie = property(lambda self: self._dirGetAttr('metadata_cookie'))
:  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 750, in _dirGetAttr
:    self.dirSetup()
:  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 729, in dirSetup
:    self._dirSetupMkdir_p(dir)
:  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 706, in _dirSetupMkdir_p
:    raise Errors.RepoError, msg
:RepoError: Error making cache directory: /var/cache/yum/x86_64/7Server/epel error was: [Errno 13] Permission denied: '/var/cache/yum/x86_64/7Server/epel'

Environment

  • Red Hat Enterprise Linux 7.0
  • EPEL

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content