can't use rpm as root
Community Support question - to convert into a paid question, click here
Lines in bold below have not yet been seen by the customer - those in blue are from the customer
Username : Date : Action : Comments [ close all ] |
|
|
|
Omni-Cognate : 10/11/02 12:29 PM : Incident created |
- When I run rpm as root, eg. rpm -q glibc, I get the following output:
rpmdb: Program version 4.0.14 doesn't match environment version 3.1.14
error: db4 error(22) from dbenv->open: Invalid argument
error: cannot open Packages index using db3 - Invalid argument (22)
If I run this command as a different user, it works fine.
This is a new, clean install of Mandrake 9.0
|
|
|
|
Linegod_7611 : 10/11/02 08:28 PM : Reply received |
- Try doing a rebuild of your RPM database, as root:
# rpm --rebuilddb
And then try the query again.
------
Note: If this answer resolves your problem, please remember to close this incident.
|
|
|
|
Omni-Cognate : 11/11/02 02:17 PM : Incident closed |
- Problem solved. Thanks for your help, Linegod.
|
|
|
|
Language
Search Mandriva Expert
|