[Yum] RHEL5, yum 3.2.10, and yum-utils 1.1.11 problem

Fajar A. Nugraha fajar at fajar.net
Wed Jan 30 08:59:57 UTC 2008


Hi,

I've been packaging the latest versions of yum for our local 
implementations of RHEL5. Basically it's RHEL5, with some packages (e.g. 
yum) replaced with local version.

When I used yum 3.2.8, some things were broken (I think it has something 
to do with priorities or skip-broken plugin) and the fix was available 
in yum git repository, so for some time now I've been using git snapshot 
1c3015f55503cda9f0b9290630e7c929b9767372 (which is somewhere between 
3.2.8 and 3.2.9)

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.
- bump yum version number to 3.3, to signify the change (gpgme)

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.

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.
For now, I'm reverting back to yum git snapshot 
1c3015f55503cda9f0b9290630e7c929b9767372, which (so far) works correctly 
with yum-utils 1.1.11.
This is on an up-to-date RHEL5.1/ppc machine.

Regards,

Fajar
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3242 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.baseurl.org/pipermail/yum/attachments/20080130/de4c38ef/attachment-0001.bin 


More information about the Yum mailing list