Jack Wallen shows you how to mark a package on an Ubuntu system such that it won’t upgrade when the apt-get upgrade command is issued.
Image: Jack Wallen
You probably have a lot of software installed on your Linux servers. Of course, each of those packages depends on other packages to function properly. You might even have a situation where you’ve developed a website or application that depends on a very particular version of a package.
For example, say you’ve built a web application that uses PHP 7.4 and you know that upgrading to PHP 8 might break the entire system—you certainly don’t want that. Although you should probably ensure your web application can run on the latest version of the software, that includes the latest bug fixes and vulnerability patches, we all know that takes some time.
SEE: Linux service…