On Tue, 2011-12-06 at 03:17 -0500, Zdenek Pavlas wrote:
> > What version are you testing with?
>
> yum.git/master
> yum-langpacks.git/master
>
> $ sudo yum clean all
[...]
> $ sudo yum repolist
[...]
> $ yum search -C xxx
> Loaded plugins: auto-update-debuginfo, langpacks, refresh-packagekit
>
>
> [Errno 13] Permission denied:
> '/var/cache/yum/fedora/2d112e279cf18476b72e5b30f60c1aa55e0297e7a05f4d9891879ee83d298e11-comps-f14.xml'
This is the bug where the langpacks plugin tries to decompress comps.
but doesn't have premission. There are a couple of ways to deal with
this, including changing all the cache handling to CAS etc. ... but you
said _after_ that was fixed in some way you then got a traceback due to
pkgtags handling in yum which was fixed by:
diff --git a/yum/__init__.py b/yum/__init__.py
index f936fae..33c275e 100644
--- a/yum/__init__.py
+++ b/yum/__init__.py
@@ -924,7 +924,8 @@ class YumBase(depsolve.Depsolve):
'pkgtags.sqlite',
cached=repo.cache)
# feed it into _tags.add()
- self._tags.add(repo.id, tag_sqlite)
+ if os.path.exists(tag_sqlite):
+ self._tags.add(repo.id, tag_sqlite)
except (Errors.RepoError, Errors.PkgTagsError), e:
msg = _('Failed to add Pkg Tags for repository: %s - %s')
% (repo, str(e))
self.logger.critical(msg)
...this is what I can't trigger.
_______________________________________________
Yum-devel mailing list
[email protected]
http://lists.baseurl.org/mailman/listinfo/yum-devel