CompTIA
XK0-004 · Question #153
A systems administrator installs a simple package, but the Linux system returns the following error: rpmdb . To verify if there is a problem in the RPM database, the systems administrator runs the…
The correct answer is D. cd/var/lib/rpm; rm -f _db*; rpm --rebuilddb; yum clean all. https://unix.stackexchange.com/questions/198703/yum-errorrpmdb-open-failed
Troubleshooting and Diagnostics
Question
A systems administrator installs a simple package, but the Linux system returns the following error: rpmdb . To verify if there is a problem in the RPM database, the systems administrator runs the open fails following command:
Which of the following commands should the systems administrator run NEXT to resolve this issue?
Exhibit
Options
- Acd/var/lib/rpm; rpm --rebuilddb ; rm -f _db*; yum clean all
- Bcd/var/lib/rpm; rpm -qd; rpm --rebuilddb; yum clean all
- Ccd/var/lib/rpm; rpm -qa; rm -f _db*; yum clean all
- Dcd/var/lib/rpm; rm -f _db*; rpm --rebuilddb; yum clean all
How the community answered
(53 responses)- A6% (3)
- B11% (6)
- C2% (1)
- D81% (43)
Explanation
https://unix.stackexchange.com/questions/198703/yum-errorrpmdb-open-failed
Topics
#RPM database#rpmdb rebuild#package management#yum
Community Discussion
No community discussion yet for this question.
