Bug 1044080 - [abrt] yum-3.4.3-122.fc20: yumRepo.py:706:_dirSetupMkdir_p:RepoError: Error making cache directory: /var/cache/yum/x86_64/20/rpmfusion-free error was: [Errno 13] Permission denied: '/var/cache/yum/x86_64/20/rpmfusion-free'
Summary: [abrt] yum-3.4.3-122.fc20: yumRepo.py:706:_dirSetupMkdir_p:RepoError: Error m...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:c44dec3af395ccd24eb1ae14e88...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-17 18:43 UTC by Jesús Guerreiro
Modified: 2014-02-06 03:52 UTC (History)
6 users (show)

Fixed In Version: yum-3.4.3-132.fc19
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-23 11:09:39 UTC
Type: ---


Attachments (Terms of Use)
File: backtrace (1.74 KB, text/plain)
2013-12-17 18:43 UTC, Jesús Guerreiro
no flags Details
File: environ (2.89 KB, text/plain)
2013-12-17 18:43 UTC, Jesús Guerreiro
no flags Details

Description Jesús Guerreiro 2013-12-17 18:43:08 UTC
Version-Release number of selected component:
yum-3.4.3-122.fc20

Additional info:
reporter:       libreport-2.1.9
cmdline:        /usr/bin/python -t /usr/share/yum-cli/completion-helper.py -d 0 -C list available rpmfusion-no
executable:     /usr/share/yum-cli/completion-helper.py
kernel:         3.11.10-301.fc20.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/rpmfusion-free error was: [Errno 13] Permission denied: '/var/cache/yum/x86_64/20/rpmfusion-free'

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 393, in parseCommands
    self._set_repos_cache_req()
  File "/usr/share/yum-cli/cli.py", line 415, 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/20/rpmfusion-free error was: [Errno 13] Permission denied: '/var/cache/yum/x86_64/20/rpmfusion-free'

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

Comment 1 Jesús Guerreiro 2013-12-17 18:43:14 UTC
Created attachment 837867 [details]
File: backtrace

Comment 2 Jesús Guerreiro 2013-12-17 18:43:17 UTC
Created attachment 837868 [details]
File: environ

Comment 3 Igor Gnatenko 2014-01-20 12:38:23 UTC
The same bug. Can easy reproduce.
Add new repo
Try use yum w/ bash-completion

Comment 4 Zdeněk Pavlas 2014-01-20 12:53:14 UTC
Basically a dupe of BZ 1039028 but the not-yet-cached repository is enabled. Will fix this upstream.. In the meantime, run "sudo yum makecache" to resolve this.

Comment 6 Igor Gnatenko 2014-01-20 13:28:13 UTC
(In reply to Zdeněk Pavlas from comment #5)
> http://yum.baseurl.org/gitweb?p=yum.git;a=commitdiff;h=6fc17c8
Thank you! ;)

Comment 7 Fedora Update System 2014-01-22 10:54:32 UTC
yum-3.4.3-132.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/yum-3.4.3-132.fc20

Comment 8 Fedora Update System 2014-01-22 11:08:50 UTC
yum-3.4.3-132.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/yum-3.4.3-132.fc19

Comment 9 Fedora Update System 2014-01-23 11:09:39 UTC
yum-3.4.3-132.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2014-02-06 03:52:55 UTC
yum-3.4.3-132.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.


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