Ubuntu: Exclude packages from `apt-get upgrade` (2 solutions!)
Channel: Roel Van de Paar
Date: 2019-06-28

Ubuntu: Exclude packages from `apt-get upgrade`


The Question: Is it possible to upgrade all packages except a given package? Is there
something like apt-get upgrade --exclude package_to_exclude?

Solutions Sample (Please watch the whole video to see all solutions, in order of how many people found them helpful):

== This solution helped 4 people ==
Check out "Introduction to Holding Packages" in the Ubuntu's https://
help.ubuntu.com/community/PinningHowto

With thanks & praise to God! With thanks to the many people who have made this project possible! | Content (except music & images) licensed under cc by-sa 3.0 | Music: https://www.bensound.com/royalty-free-music | Images: https://stocksnap.io/license & others | With thanks to user Zoke (https://askubuntu.com/users/31290), user Sergey (https://askubuntu.com/users/14564), user Olivier Lalonde (https://askubuntu.com/users/2331), user Fadi (https://askubuntu.com/users/514752), and the Stack Exchange Network (http://askubuntu.com/questions/99774). Trademarks are property of their respective owners. Disclaimer: All information is provided "AS IS" without warranty of any kind. You are responsible for your own actions. Please contact me if anything looks amiss at Roel D.OT VandePaar A.T gmail.com.