Session ID: 148
Mode: objective
Status: in_progress
Score: 0%
Filter: All | Incorrect | Flagged | Unanswered
Current filter: All
Which file is the main APT repository configuration file mentioned in the objective?
Status: Unanswered
Your Answer:
Options:
Explanation:
The objective explicitly lists /etc/apt/sources.list as one of the used files [1].
Which APT command shows detailed information about a package, similar to dpkg -I?
Status: Unanswered
Your Answer:
Options:
Explanation:
apt-cache show can be used to show details on a specific package, similar to dpkg -I [1].
Which dpkg option removes an installed package?
Status: Unanswered
Your Answer:
Options:
Explanation:
dpkg -r removes a package or a space-separated list of packages [1].
Which command reruns a package's post-installation script so configuration settings can be changed?
Status: Unanswered
Your Answer:
Options:
Explanation:
dpkg-reconfigure reruns a package's post-install script so an administrator can make configuration adjustments [1].
Which file is used to define APT repositories?
Status: Unanswered
Your Answer:
Accepted Answer(s):
/etc/apt/sources.list
Explanation:
The objective and lesson explicitly mention /etc/apt/sources.list [1].
Which command should be used before installing or updating packages with apt-get to ensure package indexes are current?
Status: Unanswered
Your Answer:
Options:
Explanation:
Before installing or updating packages with apt-get, apt-get update should be used [1].
Which command searches for the package that contains a file not currently installed on the system?
Status: Unanswered
Your Answer:
Accepted Answer(s):
apt-file search
apt-file search filename
Explanation:
apt-file search is used to find which package contains a file [1].
Which command updates the apt-file cache so that file-to-package queries can be performed?
Status: Unanswered
Your Answer:
Options:
Explanation:
apt-file update updates the package cache so that apt-file can query its contents [1].
Which command can identify the package that installed a specific file already present on the system?
Status: Unanswered
Your Answer:
Options:
Explanation:
With a specified file name, dpkg-query prints out the package that installed the file [1].
Enter the command that searches for which package contains the file zzip-io.h.
Status: Unanswered
Your Answer:
Accepted Answer(s):
apt-file search zzip-io.h
Explanation:
The material gives apt-file search as the way to find which package contains a file [1].