101-400 Exam QuestionsBrowse all questions from this exam

101-400 Exam - Question 17


Which of the following commands is used to update the list of available packages when using dpkg based package management?

Show Answer
Correct Answer: A

The command used to update the list of available packages when using dpkg-based package management is 'apt-get update'. Running 'apt-get update' refreshes the package lists from the repositories, ensuring you have the most up-to-date information about available packages. This is a crucial step before performing package upgrades or installations using 'apt-get' or 'apt'.

Discussion

1 comment
Sign in to comment
DuboisNicolasDuclairOption: A
Oct 21, 2023

The command used to update the list of available packages when using dpkg-based package management is: A. `apt-get update` Running `apt-get update` refreshes the package lists from the repositories, ensuring you have the most up-to-date information about available packages. This is a crucial step before performing package upgrades or installations using `apt-get` or `apt`.