[CentOS] CentOS 5.9 LiveCD build on CentOS 6.4?

Sat May 18 14:02:41 UTC 2013
Ljubomir Ljubojevic <centos at plnet.rs>

Is it possible to create CentOS 5.9 LiveCD on CentOS 6.4 system?


I am trying but getting following errors (rpmdb related):

<snip>

  Installing: cups-pdf             ################### [ 692/1011]
semodule: SELinux policy is not managed or store cannot be accessed.
rpmdb: /var/lib/rpm/Packages: unsupported hash version: 9
error: cannot open Packages index using db3 - Invalid argument (22)
error: cannot open Packages database in /var/lib/rpm
   Installing: bluez-utils-cups    ################### [ 693/1011]

<snip>

   Installing: firefox             ################### [ 868/1011]
warning: google-earth-stable-6.0.3.2197-0.i386: Header V4 DSA/SHA1 
Signature, key ID 7fac5991: NOKEY
   Installing: google-earth-stable ################### [ 869/1011]
rpmdb: /var/lib/rpm/Packages: unsupported hash version: 9
error: cannot open Packages index using db3 - Invalid argument (22)
error: cannot open Packages database in /var/lib/rpm
error: /tmp/google.sig.G17031: import failed.
[  OK  ] atd: [  OK  ]
job 1 at 2013-05-18 06:53

<snip>

   Installing: pam_passwdqc        ################### [1010/1011]
   Installing: rdist               ################### [1011/1011]
rpmdb: Program version 4.7 doesn't match environment version 0.128
error: db3 error(-30971) from dbenv->open: DB_VERSION_MISMATCH: Database 
environment version mismatch
error: cannot open Packages index using db3 -  (-30971)
error: cannot open Packages database in 
/var/tmp/imgcreate-NYkHAD/install_root/var/lib/rpm
Program version 4.7 doesn't match environment version 0.128
Program version 4.7 doesn't match environment version 0.128
umount: /var/tmp/imgcreate-NYkHAD/install_root/proc: device is busy.
         (In some cases useful info about processes that use
          the device is found by lsof(8) or fuser(1))
lazy umount succeeded on /var/tmp/imgcreate-NYkHAD/install_root//proc
umount: /var/tmp/imgcreate-NYkHAD/install_root: device is busy.
         (In some cases useful info about processes that use
          the device is found by lsof(8) or fuser(1))
Unmounting directory /var/tmp/imgcreate-NYkHAD/install_root failed, 
using lazy umount
lazy umount succeeded on /var/tmp/imgcreate-NYkHAD/install_root
loop: can't delete device /dev/loop10: Device or resource busy
Traceback (most recent call last):
   File "/usr/bin/livecd-creator", line 150, in <module>
     sys.exit(main())
   File "/usr/bin/livecd-creator", line 133, in main
     creator.install()
   File "/usr/lib/python2.6/site-packages/imgcreate/creator.py", line 
666, in install
     ayum.runInstall()
   File "/usr/lib/python2.6/site-packages/imgcreate/yuminst.py", line 
215, in runInstall
     ret = self.runTransaction(cb)
   File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 1596, 
in runTransaction
     self.verifyTransaction(resultobject, vTcb)
   File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 1625, 
in verifyTransaction
     if not self.rpmdb.contains(po=txmbr.po):
   File "/usr/lib/python2.6/site-packages/yum/packageSack.py", line 127, 
in contains
     return bool(self.searchNevra(name=name, arch=arch, epoch=epoch, 
ver=ver, rel=rel))
   File "/usr/lib/python2.6/site-packages/yum/rpmsack.py", line 1197, in 
searchNevra
     return self._search(name, epoch, ver, rel, arch)
   File "/usr/lib/python2.6/site-packages/yum/rpmsack.py", line 1271, in 
_search
     mi = ts.dbMatch('name', name)
_rpm.error: rpmdb open failed



-- 
Ljubomir Ljubojevic
(Love is in the Air)
PL Computers
Serbia, Europe

StarOS, Mikrotik and CentOS/RHEL/Linux consultant