LPIC-1 Exam 101 v5 (Linux Administrator) — Question 85
The installation of a local Debian package failed due to unsatisfied dependencies. Which of the following commands installs missing dependencies and completes the interrupted package installation?
Answer options
- A. dpkg --fix --all
- B. apt-get autoinstall
- C. dpkg-reconfigure --all
- D. apt-get all
- E. apt-get install -f
Correct answer: E
Explanation
The correct answer is E, as 'apt-get install -f' specifically resolves and installs any missing dependencies for packages. The other options do not address dependency resolution appropriately: A is incorrect because 'dpkg --fix --all' is not a valid command, B suggests 'apt-get autoinstall' which does not exist, C is inaccurate since 'dpkg-reconfigure --all' is for reconfiguring installed packages, and D is not a valid option.