Feature039 is failing during repo setup, Error: "Failed to set locale, defaulting to C , RPM: error: db5 error(-30969) from dbenv->open: BDB0091 DB_VERSION_MISMATCH: Database environment version mismatch"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Confirmed
|
Critical
|
Unassigned |
Bug Description
Description:
Feature039 is failing during repo setup, Error: "Failed to set locale, defaulting to C , RPM: error: db5 error(-30969) from dbenv->open: BDB0091 DB_VERSION_
Looks like issue started ~12:00 23rd Aug'21
https:/
Log Snippet:-
~~~
2021-08-24 01:46:13.985690 | primary | TASK [repo-setup : Setup repos on live host] *******
2021-08-24 01:46:13.985704 | primary | Tuesday 24 August 2021 01:46:13 +0000 (0:00:00.089) 0:00:40.295 ********
2021-08-24 01:55:46.588900 | primary | fatal: [supplemental]: FAILED! => {
2021-08-24 01:55:46.588982 | primary | "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result",
2021-08-24 01:55:46.588996 | primary | "changed": true
2021-08-24 01:55:46.589006 | primary | }
~~~
~~~
2021-08-23 15:56:17 | Failed to set locale, defaulting to C
2021-08-23 15:56:17 | RPM: error: db5 error(-30969) from dbenv->open: BDB0091 DB_VERSION_
2021-08-23 15:56:17 | RPM: error: cannot open Packages index using db5 - (-30969)
2021-08-23 15:56:17 | RPM: error: cannot open Packages database in /var/lib/rpm
2021-08-23 15:56:17 | The downloaded packages were saved in cache until the next successful transaction.
2021-08-23 15:56:17 | You can remove cached packages by executing 'dnf clean packages'.
2021-08-23 15:56:17 | Error: Could not run transaction.
~~~
Logs url:-
Based on google search, here is workaround: https:/ /github. com/WhitewaterF oundry/ Fedora- Remix-for- WSL/issues/ 47
```
cd /var/lib/rpm/
sudo rpm --rebuilddb
sudo rpm -qa rpm
```
Is it coming for other feature set also? or Just fs039?