nerdexam
CompTIA

XK0-001 · Question #148

The system administrator is asked to install a file called zope-2.2.5-0.rpm. The administrator downloads the file and attemps to install it. While installing the file the following error is…

The correct answer is A. Run "rpm -i zope-2.2.5-0" as root. See the full explanation below for the reasoning.

Question

The system administrator is asked to install a file called zope-2.2.5-0.rpm. The administrator downloads the file and attemps to install it. While installing the file the following error is displayed:

failed to open /var/lib/rpm/packages.rpm: Permission denied error: cannot open /var/lib/rpm/packages.rpm What has to be done before the program will work?

Options

  • ARun "rpm -i zope-2.2.5-0" as root
  • BChange ownership of file to 'root'
  • CRun "rpm -i --nodeps zope-2.2.5-0" to bypass the error.
  • DReturn to the Website to receive an uncorrupted .rpm file.

How the community answered

(50 responses)
  • A
    74% (37)
  • B
    8% (4)
  • C
    16% (8)
  • D
    2% (1)

Community Discussion

No community discussion yet for this question.

Full XK0-001 Practice