Bug 1039028

Summary: [abrt] yum-3.4.3-119.fc20: yumRepo.py:706:_dirSetupMkdir_p:RepoError: Error making cache directory: /var/cache/yum/x86_64/20/fedora-source error was: [Errno 13] Permission denied: '/var/cache/yum/x86_64/20/fedora-source'
Product: [Fedora] Fedora Reporter: Francisco de la Peña <fran>
Component: yumAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: admiller, ffesti, firas.alkafri, packaging-team-maint, zpavlas
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/299efdfc0c8d262010ee13136556f1369af9c8b5
Whiteboard: abrt_hash:349bb1961591c49ca283dc18d73b32d7ba075f36
Fixed In Version: yum-3.4.3-121.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1049958 (view as bug list) Environment:
Last Closed: 2013-12-14 03:19:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: backtrace
none
File: environ none

Description Francisco de la Peña 2013-12-06 12:10:19 UTC
Description of problem:
When trying to use yum remove foo[double tab for completion]

Version-Release number of selected component:
yum-3.4.3-119.fc20

Additional info:
reporter:       libreport-2.1.9
cmdline:        /usr/bin/python -t /usr/share/yum-cli/completion-helper.py -d 0 -C list installed kernel-libre
executable:     /usr/share/yum-cli/completion-helper.py
kernel:         3.11.9-libre.300.fc20.gnu.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
yumRepo.py:706:_dirSetupMkdir_p:RepoError: Error making cache directory: /var/cache/yum/x86_64/20/fedora-source error was: [Errno 13] Permission denied: '/var/cache/yum/x86_64/20/fedora-source'

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 351, in getOptionsConfig
    self.parseCommands() # before we return check over the base command + args
  File "/usr/share/yum-cli/cli.py", line 408, in parseCommands
    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/20/fedora-source error was: [Errno 13] Permission denied: '/var/cache/yum/x86_64/20/fedora-source'

Local variables in innermost frame:
msg: "Error making cache directory: /var/cache/yum/x86_64/20/fedora-source error was: [Errno 13] Permission denied: '/var/cache/yum/x86_64/20/fedora-source'"
dpath: '/var/cache/yum/x86_64/20/fedora-source'
self: <yum.yumRepo.YumRepository object at 0x1079cd0>
e: OSError(13, 'Permission denied')

Comment 1 Francisco de la Peña 2013-12-06 12:10:24 UTC
Created attachment 833598 [details]
File: backtrace

Comment 2 Francisco de la Peña 2013-12-06 12:10:26 UTC
Created attachment 833599 [details]
File: environ

Comment 3 Fedora Update System 2013-12-09 21:01:16 UTC
yum-3.4.3-121.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/yum-3.4.3-121.fc20

Comment 4 Francisco de la Peña 2013-12-09 21:23:13 UTC
Update worked for me, needed to do a manual package download because repomd.xml became unavailable from any mirror due to this bug.

Comment 5 Fedora Update System 2013-12-10 15:54:23 UTC
Package yum-3.4.3-121.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing yum-3.4.3-121.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-23104/yum-3.4.3-121.fc20
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2013-12-14 03:19:16 UTC
yum-3.4.3-121.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.