"Atha Kouroussis" <[EMAIL PROTECTED]> writes:
> After upgrading the rpm packages I get the following error every time I try
> to run rpm (install, upgrade, erase, rebuild database, etc.):
>
>
> rpmdb: Program version 3.3.11 doesn't match environment version 3.3.4
> error: db3 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/rpm
>
> What now?
>
as root, just rm -f /var/lib/rpm/__db.* and then rpm --rebuilddb.
--
Fred - May the source be with you