LPIC-1 Linux Installation and Package Management Practice Question
A system administrator is troubleshooting a package dependency issue on a Debian system. Which three commands can be used to display dependency information for a package? (Choose three.)
⚠ Common exam trap
Many candidates think `dpkg --info` or `apt-get check` are appropriate for displaying dependencies, but `dpkg --info` works on .deb files and `apt-get check` only verifies the database integrity, not specific package dependencies.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
`apt show curl`
The `apt show curl` command displays detailed information about the curl package, including its dependencies, from the APT repository metadata. This is a standard way to view dependency information on Debian-based systems.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
`dpkg --info curl.deb`
Why it's wrong here
Displays info from a .deb file, not the installed package.
- ✓
`apt show curl`
Why this is correct
Displays package details including dependencies.
- ✓
`apt-cache depends curl`
Why this is correct
Shows the dependency tree of a package.
- ✓
`dpkg -s curl`
Why this is correct
Shows the status and dependencies of the installed package.
- ✗
`apt-get check`
Why it's wrong here
Checks for broken dependencies system-wide, not for a specific package.
Go deeper
Related to this question
About these practice questions
Courseiva writes every LPIC-1 question from scratch — 527 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This LPIC-1 practice question is part of Courseiva's free LPI certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the LPIC-1 exam.