Courseiva
Linux Installation and Package ManagementeasyMultiple ChoiceObjective-mapped

LPIC-1 Linux Installation and Package Management Practice Question

Exhibit

Refer to the exhibit.

$ dpkg -l | grep -E '^ii|^rc'
ii  curl         7.68.0-1ubuntu2   amd64   command line tool for transferring data
rc  ftp          0.17-34           amd64   classic FTP client
ii  wget         1.20.3-1ubuntu1   amd64   non-interactive network downloader

Refer to the exhibit. Based on the dpkg output, what is the status of the 'ftp' package?

⚠ Common exam trap

LPI often tests the distinction between 'removed' (package binary gone) and 'purged' (everything gone), where candidates mistakenly think 'rc' means the package is still installed or that config files are automatically removed.

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

Removed but configuration files remain.

The 'dpkg' output shows 'rc' in the status field, which stands for 'removed' (the package has been deleted) but 'config-files' remain. This means the package was removed using 'dpkg --purge' or 'apt-get remove' without the '--purge' option, leaving behind configuration files in /etc.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Removed but configuration files remain.

    Why this is correct

    The 'rc' status indicates removed with config files.

  • Half-configured.

    Why it's wrong here

    That would be 'iF' or similar.

  • Installed and up-to-date.

    Why it's wrong here

    That would be 'ii'.

  • Not installed at all.

    Why it's wrong here

    If not installed, it would not appear in this grep.

About these practice questions

One of 527 original LPIC-1 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

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.