Bug 1039028 - [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'
Summary: [abrt] yum-3.4.3-119.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:349bb1961591c49ca283dc18d73...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-06 12:10 UTC by Francisco de la Peña
Modified: 2013-12-14 03:19 UTC (History)
5 users (show)

Fixed In Version: yum-3.4.3-121.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1049958 (view as bug list)
Environment:
Last Closed: 2013-12-14 03:19:16 UTC
Type: ---


Attachments (Terms of Use)
File: backtrace (1.63 KB, text/plain)
2013-12-06 12:10 UTC, Francisco de la Peña
no flags Details
File: environ (2.87 KB, text/plain)
2013-12-06 12:10 UTC, Francisco de la Peña
no flags Details

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.


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