| Summary: | Cannot add online media after install from Classical DVD "unable to open rpmdb" | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Thomas Andrews <andrewsfarm> |
| Component: | RPM Packages | Assignee: | Mageia Bug Squad <bugsquad> |
| Status: | RESOLVED WORKSFORME | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | LpSolit, marja11, stormi-mageia, thierry.vignaud |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | 6dev1 | ||
| Source RPM: | CVE: | ||
| Status comment: | |||
|
Description
Thomas Andrews
2016-03-10 00:36:47 CET
Thomas Andrews
2016-03-10 00:37:27 CET
Whiteboard:
(none) =>
6dev1 That means the rpm database got corrupted. Running (as root) the following commands in the below order, should fix it. rm -f /var/lib/rpm/__db* rpm --rebuilddb @ Thierry would it make any sense, when this error occurs, to let urpmi auto-invoke removal and rebuild of those databases? CC:
(none) =>
marja11, thierry.vignaud s/urpmi/whichever program gave the error/ (In reply to Marja van Waes from comment #1) > That means the rpm database got corrupted. > > Running (as root) the following commands in the below order, should fix it. > > rm -f /var/lib/rpm/__db* > rpm --rebuilddb > > > > @ Thierry > > would it make any sense, when this error occurs, to let urpmi auto-invoke > removal and rebuild of those databases? Yes, that seems to have done it. Adding a specific mirror as I type... (In reply to Thomas Andrews from comment #3) > > Yes, that seems to have done it. Adding a specific mirror as I type... Closing then, I forgot what all can cause database corruption, but do know there is nothing we can do to prevent it. Glad the workaround helped :-) @ LpSolit @ Stormi In cases like this, I'd like to have another resolved option. Tbh, I prefer "CANTFIX" over "WONTFIX" WDYT? Status:
NEW =>
RESOLVED (In reply to Marja van Waes from comment #4) > In cases like this, I'd like to have another resolved option. > > Tbh, I prefer "CANTFIX" over "WONTFIX" WORKSFORME (works for me) would be better than FIXED in cases like this one, IMO. I'm not sure another resolution would help. But this is not the right place for this discussion. :) (In reply to Frédéric Buclin from comment #5) > WORKSFORME (works for me) would be better than FIXED in cases like this one, > IMO. You're right, don't know why I (nearly) never chose that solution. Thx :-) Resolution:
FIXED =>
WORKSFORME I agree, too. "Fixed" in this case didn't really apply. I'll hope this was a one-time thing, but I'll reserve the right to open it up again should the symptom persist in future isos. |