From: Brian Ipsen (bipsen-dated-1122826378.8be4cf_at_andebakken.dk)
Date: Sun 24 Jul 2005 - 17:12:57 BST
I'm trying to install a WBEL4 client OS via yum (the RPM list has been
Unfortunately, I have some issues with a messages, that pops up during
installation. I'm not quite sure, whether this warnings/errors shows up due
to missing dependency settings in the RPM - or it could be an issue with
installing via RPM...
The errors I get are:
/bin/chown: cannot access `/var/lib/rpm/[A-Z]*': No such file or directory
I've located this to ve caused by the post-install script from the rpm
# Establish correct rpmdb ownership.
/bin/chown rpm.rpm /var/lib/rpm/[A-Z]*
# XXX Detect (and remove) incompatible dbenv files during db-4.2.52 upgrade.
# XXX Removing dbenv files in %post opens a lock race window, a tolerable
# XXX risk compared to the support issues involved with upgrading Berkeley
[ -w /var/lib/rpm/__db.001 ] &&
/usr/lib/rpm/rpmdb_stat -CA -h /var/lib/rpm 2>&1 |
grep "db_stat: Program version 4.2 doesn't match environment version" 2>&1 >
rm -f /var/lib/rpm/__db*
Vserver mailing list