Blocking Package Upgrade on Debian/Ubuntu

To block packages from upgrading, you can use command apt-mark hold.

Example

To list packages that are on hold, run

If you want to remove block, you can use apt-mark unhold command.

See apt

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published.