Red Hat Bugzilla – Bug 246792
'yum clean all' fails if no headers directory
Last modified: 2014-01-21 17:58:37 EST
Description of problem:
On a default f7 install `yum clean all' fails with gets errors like:
Error: Error accessing directory //var/cache/yum/fedora/headers, [Errno 2] No
such file or directory: '//var/cache/yum/fedora/headers'
A headers directory has to be created manually for every configured repo before
`yum clean all' will succeed.
Version-Release number of selected component (if applicable):
Every time so far.
Steps to Reproduce:
1. Install F7
2. yum update or yum check-update
3. yum clean all
Fails with above error
Should remove all packages and repo data files.
This is a regression from yum-3.0.6-1.fc6 where `yum clean all' works fine even
if the headers directory is removed - it gets recreated.
already fixed in cvs - will be available in yum 3.2.2 - 'eventually'
*** Bug 248729 has been marked as a duplicate of this bug. ***
*** Bug 249082 has been marked as a duplicate of this bug. ***
*** Bug 250398 has been marked as a duplicate of this bug. ***
*** Bug 250399 has been marked as a duplicate of this bug. ***