The LHCb Creditcard PCs are x486 compatible and diskless, this means that we cannot use some of the Pentium optimised packages provided centrally, nor can we accept updates provided by CERN, intended for normal disk-operated servers and desktop machines. This is ensured by the two special yum configuration files (yum.conf) described in the next section.
First make sure yum is updated
chroot $CCPCROOT bash -c "yum -y update yum"Then reconfigure yum
chroot $CCPCROOT bash -c "cd /etc; wget http://lhcb-daq.web.cern.ch/lhcb-daq/ccpc/slc4X/os/yum.conf" chroot $CCPCROOT bash -c "cd /etc/yum.repos.d' wget http://lhcb-daq.web.cern.ch/lhcb-daq/ccpc/slc4X/os/ccpc.repo"To be sure everything is clean and active try
chroot $CCPCROOT bash -c "yum -y clean all" chroot $CCPCROOT bash -c "yum update"Study the output of what yum update proposes to you. You should not see anything related to kernel or initscripts. If that's fine then simply press 'y' to commit the updates. When in doubt press 'enter' or 'N', and verify the download of the config files and the correct place in $CCPCROOT and if it still fails mail me.
rpmdb: Berkeley DB library configured to support only DB_PRIVATE environments error: db4 error(22) from dbenv->open: Invalid argument error: cannot open Packages index using db3 - Invalid argument (22) error: cannot open Packages database in /var/lib/rpmDetails can be found here.
To fix this, add the follwing lines to the $CCPCROOT/etc/rpm/macros (you might have to create that file first)
%__dbi_cdb create cdb private mpool mp_mmapsize=16Mb mp_size=1MbThen redo the yum updates as described above.