CompTIA Linux+ XK0-006 (V8) Practice Question

During routine maintenance of a lab server running a Debian-based distribution, you manually download a custom package named custom-agent_1.0_amd64.deb and attempt to install it with:

sudo dpkg -i custom-agent_1.0_amd64.deb

The installation fails and reports:

dpkg: error processing package custom-agent (--install):
 dependency problems - leaving unconfigured
  custom-agent depends on libfoo2 (>= 2.4) but it is not installed

You need the quickest command-line method to fetch the missing libraries and complete the installation without removing the partially installed package. Which command should you run next?

  • sudo dpkg --force-depends --install custom-agent_1.0_amd64.deb

  • sudo apt-get -f install

  • sudo apt-get autoremove

  • sudo apt-cache policy custom-agent

CompTIA Linux+ XK0-006 (V8)
Troubleshooting
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot