Atomic installer should install newer yum version on RHEL4

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
thewolf
Forum User
Forum User
Posts: 24
Joined: Tue Dec 21, 2004 7:53 am

Atomic installer should install newer yum version on RHEL4

Unread post by thewolf »

Hi,

I've installed the atomic channel on a RHEL4 system using the installer and I've noticed that it installed an older version of yum (yum-2.4.3-3.el4.centos) from CentOS 4.

The installer should be updated to install the latest yum version (yum-2.4.3-4.el4.centos) from CentOS 4 and also the additional package yum-metadata-parser-1.0-8.el4.centos (required by the newer yum package), the new packages (i386) can be downloaded from the following URL:
http://mirror.centos.org/centos/4.7/os/ ... ntOS/RPMS/

In fact I've noticed that the older yum version will not work with some recent yum repos (see below for a sample error message).

Upgrading to the newer yum version with the additional parser package fixed the issue for RHEL4.

Thanks for sharing your work.
# yum check-update
Setting up repositories
silfreednet 100% |=========================| 2.0 kB
00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 52 kB
00:00
silfreedne:
1/267Traceback (most recent call last):
File "/usr/bin/yum", line 29, in ?
yummain.main(sys.argv[1:])
File "/usr/share/yum-cli/yummain.py", line 97, in main
result, resultmsgs = do()
File "/usr/share/yum-cli/cli.py", line 534, in doCommands
ypl = self.returnPkgLists()
File "/usr/share/yum-cli/cli.py", line 1176, in returnPkgLists
ypl = self.doPackageLists(pkgnarrow=pkgnarrow)
File "__init__.py", line 904, in doPackageLists
File "/usr/share/yum-cli/cli.py", line 75, in doRepoSetup
self.doSackSetup(thisrepo=thisrepo)
File "__init__.py", line 260, in doSackSetup
File "repos.py", line 287, in populateSack
File "sqlitecache.py", line 96, in getPrimary
File "sqlitecache.py", line 89, in _getbase
File "sqlitecache.py", line 359, in updateSqliteCache
File "sqlitecache.py", line 251, in addPrimary
File "sqlitecache.py", line 197, in insertHash
File "sqlitecache.py", line 449, in values
File "sqlitecache.py", line 441, in __getitem__
File "mdparser.py", line 73, in __getitem__
KeyError: 'sourcerpm'
Post Reply