CompTIA
XK0-005 · Question #765
A Linux administrator is working on a system and notices that some of the packages are not at the latest version. Which of the following commands should the administrator use to correct this issue?
The correct answer is B. apt update. The apt update command updates the package lists for repositories but does not upgrade installed packages. After apt update, the administrator should run apt upgrade to install the latest versions of all
System Management
Question
A Linux administrator is working on a system and notices that some of the packages are not at the latest version. Which of the following commands should the administrator use to correct this issue?
Options
- Arpm --update
- Bapt update
- Cdnt update
- Ddpkg --update
How the community answered
(34 responses)- A6% (2)
- B91% (31)
- C3% (1)
Explanation
The apt update command updates the package lists for repositories but does not upgrade installed packages. After apt update, the administrator should run apt upgrade to install the latest versions of all
Topics
#Package management#apt command#System updates#Linux administration
Community Discussion
No community discussion yet for this question.