action #107074
Updated by okurz almost 3 years ago
## Observation
https://gitlab.suse.de/openqa/osd-deployment/-/jobs/845929#L609 shows what looks like an rpm database problem:
```
( 9/12) Installing: libvirglrenderer0-0.6.0-4.9.1.aarch64 [.......
error: db4 error(-30986) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
error: error(-30986) getting "System/Libraries" records from Group index: DB_PAGE_NOTFOUND: Requested page not found
error: libvirglrenderer0-0.6.0-4.9.1.aarch64: install failed
error: libvirglrenderer0-0.6.0-4.6.1.aarch64: erase skipped
error]
Installation of libvirglrenderer0-0.6.0-4.9.1.aarch64 failed:
Error: Subprocess failed. Error: RPM failed: Command exited with status 1.
Abort, retry, ignore? [a/r/i] (a): a
Problem occurred during or after installation or removal of packages:
Installation has been aborted as directed.
Please see the above error message for a hint.
```
## Suggestions
* I think we already try to prune the rpm database if installation fails on a machine. Maybe we can extend that approach to cover such cases like the above as well. The existing recovery happens in https://gitlab.suse.de/openqa/osd-deployment/-/blob/master/.gitlab-ci.yml#L230 but only if we find the string "inconsistent rpm database" in the zypper log and only on zypper refresh. I suggest to take a look into the machine, try to reproduce if it can be reproduced, take look into the zypper log and also research in web and bugzilla.opensuse.org if the problem is known.