Bird
0
0

Why might sudo apt purge package_name not remove all files related to the package?

hard📝 Conceptual Q10 of 15
Linux CLI - Package Management
Why might sudo apt purge package_name not remove all files related to the package?
ASome files are created or modified after installation and are not tracked by the package manager
BPurge only removes the package but not configuration files
CPurge requires an additional flag to remove all files
DThe package manager never removes any files
Step-by-Step Solution
Solution:
  1. Step 1: Understand purge behavior

    purge removes package and config files tracked by package manager.
  2. Step 2: Recognize untracked files

    Files created or changed after install (logs, user data) remain because they are not tracked.
  3. Final Answer:

    Some files are created or modified after installation and are not tracked by the package manager -> Option A
  4. Quick Check:

    Purge removes tracked files; untracked remain [OK]
Quick Trick: Untracked files remain after purge; manual cleanup needed [OK]
Common Mistakes:
  • Thinking purge removes all files always
  • Believing extra flags are needed
  • Assuming package manager never removes files

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes