Test Out Linux Pro 6.3.5 Practice Questions
Which of the following statements correctly describe the differences between the "apt-get remove" and "apt-get purge" commands? (Select TWO).
apt-get purge - removes the package and the configuration files. apt-get remove - removes a specified package, but leaves the configuration files.
Which of the following commands will reconfigure an already installed package
dpkg-reconfigure
Which of the following apt-cache options will show the missing dependencies in the package cache?
unmet
Which of the following apt-get options will upgrade all installed packages to the latest versions using the information in /etc/apt/sources.list ?
upgrade
Which of the following actions does the dpkg -l (lowercase L) command perform?
All packages with names that match a specified pattern are displayed
Which dpkg option completely removes a package and its configurations files?
-P
Which of the following dpkg options will install a package recursively?
-R
Which of the following functions does the -d option perform when using the apt-get command to install a package?
Packages are downloaded to the system, but not installed.
Which of the following functions does the dpkg --configure command perform?
Reconfigures an unpacked package
Which of the following Debian package management utilities provides the front end for APT?
aptitude
You are working on a Debian distribution of Linux. You want to retrieve information about the Debian package database on the system. Without using any command options, what command will provide the information you need?
apt-cache
You are working on a Debian distribution of Linux. You need to install a package, but you do not want to manually install all the dependencies for the package. Without using any command options, what command should you use?
apt-get
You have installed a package called mathpac with apt-get. After a system upgrade, the package is not working correctly. Which of the following commands is the MOST correct method to get the package to work?
apt-get upgrade mathpac
What dpkg command would you enter at the command prompt to search for packages that have been partially installed on the system?
dpkg -C
What dpkg command would you enter at the command prompt to list information about a currently installed Debian package?
dpkg -p