CompTIA
XK0-001 · Question #40
The administrator uses the rpm command to install a new software package but he gets the following error message: CompTIA XK0-001 Exam cannot get exclusive lock on database error:cannot open…
The correct answer is D. Check whether a second instance of rpm is already running. See the full explanation below for the reasoning.
Question
The administrator uses the rpm command to install a new software package but he gets the following error message:
CompTIA XK0-001 Exam cannot get exclusive lock on database error:cannot open /var/lib/rpm/packages.rpm What is the best way to solve the problem?
Options
- ARun "rpm --initdb"
- BRun "rpm --rebuilddb"
- CCopy the package to the directory /var/lib/rpm/
- DCheck whether a second instance of rpm is already running
How the community answered
(29 responses)- A3% (1)
- B7% (2)
- C17% (5)
- D72% (21)
Community Discussion
No community discussion yet for this question.