Re: RHEL5, yum 3.2.10, and yum-utils 1.1.11 problem

seth vidal <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <1201763695.27307.36.camel@cutter>
On Wed, 2008-01-30 at 15:59 +0700, Fajar A. Nugraha wrote:

> Today I tried yum-3.2.10, and I noticed there's an extra dependency: 
> pygpgme. To get it working, I had to recompile some fc7 packages:  pth 
> libksba gnupg2 pinentry gpgme pygpgme. And there's also libassuan-static 
> needed to build gnupg2. Since 3.2.8 doesn't work well and 3.2.10 needs a 
> lot of extra packages, I suggest :
> - adding one more yum release, that would be marked as a "final" usable 
> version of RHEL/Centos5, which should contain all fixes up to snapshot 
> 1c3015f55503cda9f0b9290630e7c929b9767372, without the gpgme requirement.

the gpgme addition is going to be a big deal and it is something we may
want in the rhel/centos version. too. 

> - bump yum version number to 3.3, to signify the change (gpgme)
absolutely not.


> Another alternative would be to add some kind of warning, saying that 
> (for example) the last usable version of yum for RHEL5 is 3.2.7.

which is completely untrue. You can install pygpgme on rhel5 w/o a
problem.


> On another note, repotrack sometimes doesn't work with yum 3.2.10. I 
> tried repotrack 1.1.7 and 1.1.11, both failed on this command :
> 
> # repotrack -u anaconda-runtime
> Importing additional filelist information
> Traceback (most recent call last):
>   File "/usr/bin/repotrack", line 245, in ?
>     main()
>   File "/usr/bin/repotrack", line 193, in main
>     deps_dict = my.findDeps(po)
>   File "/usr/bin/repotrack", line 72, in findDeps
>     pkgresults[req] = list(self.whatProvides(r, f, v))
>   File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 149, in 
> whatProvides
>     pkgs = self.pkgSack.searchProvides(name)
>   File "/usr/lib/python2.4/site-packages/yum/packageSack.py", line 267, 
> in searchProvides
>     return self._computeAggregateListResult("searchProvides", name)
>   File "/usr/lib/python2.4/site-packages/yum/packageSack.py", line 401, 
> in _computeAggregateListResult
>     sackResult = apply(method, args)
>   File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 720, 
> in searchProvides
>     return self.searchPrco(name, "provides")
>   File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 40, in 
> newFunc
>     return func(*args, **kwargs)
>   File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 668, 
> in searchPrco
>     results.extend(self.searchFiles(name))
>   File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 42, in 
> newFunc
>     raise Errors.RepoError
> yum.Errors.RepoError: None
> 
> However, "repotrack -u bash" works. Running "yum clean all" doesn't make 
> a difference.

so it works for the bash package but not for anaconda-runtime?
Are there other pkgs which make it fail?

I can't get it to fail for anaconda-runtime.

Do you have any repos w/o a working mirrorlist?
-sv
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.