Please answer the quiz and click the "Test" button at the bottom right.This quiz is part of the DevOpsTheHardWay course.
Linux - Package Management - multichoice questions
Question 1
The command sudo apt-get install jq
will install the latest version of the jq
package.
- Correct.
- Depends on the specific
apt-get
version. - Depends on whether the latest
jq
version is available in the local index. - The
jq
package isn't available for Ubuntu.
Given the below package metadata taken from some file in /var/lib/apt/lists
:
Package: libnvidia-cfg1-470
Architecture: amd64
Version: 470.182.03-0ubuntu0.20.04.1
Multi-Arch: same
Priority: optional
Section: restricted/libs
Source: nvidia-graphics-drivers-470
Origin: Ubuntu
Maintainer: Ubuntu Core Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 243
Provides: libnvidia-cfg1-any
Depends: libc6 (>= 2.7)
Conflicts: libnvidia-cfg1-any
Replaces: libnvidia-cfg1-any
Filename: pool/restricted/n/nvidia-graphics-drivers-470/libnvidia-cfg1-470_470.182.03-0ubuntu0.20.04.1_amd64.deb
Size: 79752
MD5sum: ae371222c0985f08a8f9915e0fd7705b
SHA1: 6d38ccb550df7ee437d3fa558733cd57b498f618
SHA256: 21e5f3203ca9ba743c57aedc20e0e21d0ac7620018b33107709394323ec2a25b
SHA512: 52edb14d282b83c5b429b1307f023a92a5d966532ed5ab41cb340de539e13bdd6e5005439ea0c272103ad0c104aac2df9a1293b4e0f1f0da5aa0ef75b2f26cfa
Homepage: http://www.nvidia.com
Description: NVIDIA binary OpenGL/GLX configuration library
Description-md5: 7dce7edcd194e980223937b38f49e8b9
Question 2
Choose the correct sentence:
- The package
libnvidia-cfg1-470
depends onlibc6
. - The package
libc6
depends onlibnvidia-cfg1-470
. - There is no dependency between
libnvidia-cfg1-470
andlibc6
. - Starting from version 2.7 of the package
libnvidia-cfg1-470
, it depends onlibc6
version470.182.03-0ubuntu0.20.04.1