nerdexam
Linux_FoundationLinux_Foundation

LFCS · Question #747

LFCS Question #747: Real Exam Question with Answer & Explanation

The correct answer is A: dpkg -C. The dpkg -C (or dpkg --audit) command is used in Debian-based systems to check the integrity of the installed packages and identify any that are partially installed, providing suggestions for resolution.

Submitted by paula_co· Apr 18, 2026Essential Commands

Question

Which of the following Debian package system commands will list all partially installed packages and suggest how to get them correctly installed?

Options

  • Adpkg -C
  • Bapt-get -u
  • Cdpkg -Dh
  • Ddpkg -l
  • Eapt-get -y

Explanation

The dpkg -C (or dpkg --audit) command is used in Debian-based systems to check the integrity of the installed packages and identify any that are partially installed, providing suggestions for resolution.

Common mistakes.

  • B. apt-get -u is used to upgrade packages and does not specifically list partially installed ones or provide fix suggestions.
  • C. dpkg -Dh is not a valid dpkg option for listing partially installed packages; -D is for debugging, -h for help.
  • D. dpkg -l lists all installed packages, regardless of their installation status, and doesn't audit for issues.
  • E. apt-get -y automatically answers 'yes' to prompts during package operations, but doesn't list partially installed packages.

Concept tested. Debian package management (dpkg audit)

Reference. https://learn.microsoft.com/en-us/windows-server/administration/linux-reference/linux-commands/dpkg

Topics

#Debian package management#dpkg command#Package status#Troubleshooting

Community Discussion

No community discussion yet for this question.

Full LFCS PracticeBrowse All LFCS Questions