Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 2901

System and Network configuration • Re: can I exclude packages from apt upgrade?

$
0
0
What I have done to avoid updates on a package, is:

Code:

 apt-mark hold package_name apt update 
and then check if the system still needs updates for the package.
If you want to upgrade a single package, I use:

Code:

 apt install package_name 
and if you use

Code:

 apt --only-upgrade install package_name 
it will avoid other stuff but the package_name.

Cheers.

Statistics: Posted by emek — 2024-07-03 00:51



Viewing all articles
Browse latest Browse all 2901

Trending Articles