Page 1 of 1

Install to CentOS 4.4, failed dependencies, [Solved]

Posted: Fri Feb 02, 2007 6:22 pm
by xyon
Good day to all,

I am very excited to be finally giving Scalix a test run. I am however having some issues early in the install. I am not sure how to solve this as it appears the needed packages (db4, rpmlib, etc) are installed already.

System information:

Code: Select all

OS: Centos 4.4
Dual PIII 1.4Ghz, 1GB RAM, 30GB space free.
Latest "apt" installed from the http://dl.atrpms.net repository


Error message:

Code: Select all

Performing system check...

* Environment check... OK
* Filesystem check... OK
* Network check... OK
* Dependency check... ERROR
* Running services check... OK

System check report:

 Environment check passed.
 Filesystem check passed.
 Network check passed.
 Dependency check warning -- The following packages will be installed next to resolve conflicts:
                             libical
 Dependency check failed -- Please resolve the following package conflicts and re-run the system checks:
                            error: cannot open Packages index using db3 -  (-30974)
                            warning: cannot open Solve database in /usr/lib/rpmdb/i386-redhat-linux/CentOS
                            rpmdb: Program version 4.3 doesn't match environment version
                            error: db4 error(-30974) from dbenv->open: DB_VERSION_MISMATCH: Database environment version mismatch
                            error: Failed dependencies:
 Running services check passed.

-> Please fix the problems and press Enter to run the system checks again or press CTRL-C to quit [Run Again]:


Package information:

Code: Select all

# rpm -qa|grep -i db
dbus-glib-0.22-12.EL.7
db4-java-4.2.52-7.1
gdbm-1.8.0-24
db4-4.2.52-7.1
rpmdb-CentOS-4.4-0.20060823
dbus-0.22-12.EL.7
nss_db-2.2-29
db4-devel-4.2.52-7.1

# rpm -qa|grep -i ical
ical-2.3.2-1


Log snippet:

Code: Select all

2007-02-02 17:17:59,744 INFO System check start
2007-02-02 17:17:59,751 INFO Operation passed: Environment check passed.
2007-02-02 17:17:59,752 INFO Operation passed: Filesystem check passed.
2007-02-02 17:17:59,773 INFO Network interface is  eth0
2007-02-02 17:17:59,774 INFO Operation passed: Network check passed.
2007-02-02 17:18:00,480 INFO Trying to resolve missing dependencies: ['error: cannot open Packages index using db3 -  (-30974)', 'warning: cannot open Solve database in /usr/lib/rpmdb/i386-redhat-linux/CentOS', "rpmdb: Program version 4.3 doesn't match environment version", 'error: db4 error(-30974) from dbenv->open: DB_VERSION_MISMATCH: Database environment version mismatch', 'warning: cannot open Solve database in /usr/lib/rpmdb/i386-redhat-linux/CentOS', 'error: Failed dependencies:', 'libical >= 0.24.RC4.20050413 is needed by scalix-server-11.0.1.11-1.rhel4.i386', 'libical.so.0 is needed by scalix-server-11.0.1.11-1.rhel4.i386']
2007-02-02 17:18:18,080 INFO Found package /storage/tools/scalix-11.0.1-GA/third_party/libical/i386/libical-0.24.RC4.20050413-1.i386.rpm which provides libical in directory /storage/tools/scalix-11.0.1-GA/third_party/libical/i386
2007-02-02 17:18:18,946 INFO Found package /storage/tools/scalix-11.0.1-GA/third_party/libical/i386/libical-0.24.RC4.20050413-1.i386.rpm which provides libical.so.0 in directory /storage/tools/scalix-11.0.1-GA/third_party/libical/i386
2007-02-02 17:18:18,946 WARNING Operation warning: Dependency check warning -- The following packages will be installed next to resolve conflicts:
2007-02-02 17:18:18,947 WARNING Operation warning:                             libical
2007-02-02 17:18:18,947 ERROR Operation failed: Dependency check failed -- Please resolve the following package conflicts and re-run the system checks:
2007-02-02 17:18:18,947 ERROR Operation failed:                            error: cannot open Packages index using db3 -  (-30974)
2007-02-02 17:18:18,948 ERROR Operation failed:                            warning: cannot open Solve database in /usr/lib/rpmdb/i386-redhat-linux/CentOS
2007-02-02 17:18:18,948 ERROR Operation failed:                            rpmdb: Program version 4.3 doesn't match environment version
2007-02-02 17:18:18,948 ERROR Operation failed:                            error: db4 error(-30974) from dbenv->open: DB_VERSION_MISMATCH: Database environment version mismatch
2007-02-02 17:18:18,948 ERROR Operation failed:                            error: Failed dependencies:
2007-02-02 17:18:19,092 INFO Apache 2.x appears to be installed.
2007-02-02 17:18:19,367 INFO Operation passed: Running services check passed.
2007-02-02 17:18:19,367 INFO System check end
2007-02-02 17:18:19,368 INFO System check result: 2

Solved

Posted: Fri Feb 02, 2007 6:34 pm
by xyon
Sorted. I took atrpms out of the repository listing and did the following:

Code: Select all

# apt-get reinstall rpmdb-CentOS redhat-rpm-config yum


Likely only needed to reinstall the rpmdb, but reinstalling the others didn't hurt anything.

I hope this can help someone else down the road. :)