CompTIA
XK0-006 · Question #104
Due to application compatibility issues, the Python 3 OpenSSL library should not be upgraded. Which of the following commands should the systems administrator use to ensure the package stays at the…
The correct answer is C. apt-mark hold python3-opensal. This command places the specified package on hold, preventing it from being upgraded during system updates while allowing other packages to be updated normally.
System Configuration and Management
Question
Due to application compatibility issues, the Python 3 OpenSSL library should not be upgraded. Which of the following commands should the systems administrator use to ensure the package stays at the current version?
Options
- Adpkg --hold python3-openssl
- Bapt set-selections python3-openssl
- Capt-mark hold python3-opensal
- Decho "python3-openssl > hold" |apt set-selections
How the community answered
(37 responses)- A5% (2)
- B3% (1)
- C92% (34)
Explanation
This command places the specified package on hold, preventing it from being upgraded during system updates while allowing other packages to be updated normally.
Topics
#apt-mark#package hold#package management#dpkg
Community Discussion
No community discussion yet for this question.