ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 359 - XK0-005 discussion

Report
Export

After trying to install an RPM package unsuccessfully, a systems administrator verifies the integrity of the package's database. The administrator discovers that the database is corrupted and needs to be recreated. Which of the following commands will help accomplish this task?

A.

rpmdb -D rebuild

Answers
A.

rpmdb -D rebuild

B.

rpmdb --initdb

Answers
B.

rpmdb --initdb

C.

rpmdb --rebuilddb

Answers
C.

rpmdb --rebuilddb

D.

rpmdb --exportdb

Answers
D.

rpmdb --exportdb

Suggested answer: C

Explanation:

The RPM database can sometimes become corrupted, which prevents package installations and other RPM operations from functioning correctly. The --rebuilddb option for rpmdb is used to rebuild the database. This command regenerates the database, fixing any corruption issues and ensuring that the package metadata is restored to a usable state.

asked 18/10/2024
Lethabane Reuben
33 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first