Skip to content

Instantly share code, notes, and snippets.

@hubenchang0515
Created April 28, 2024 08:07
Show Gist options
  • Save hubenchang0515/94306b39bddcef7d60b05919a7f1394d to your computer and use it in GitHub Desktop.
Save hubenchang0515/94306b39bddcef7d60b05919a7f1394d to your computer and use it in GitHub Desktop.
APT 更新时忽略指定的包

APT 更新时忽略指定的包

保持包版本不更新:

sudo apt-mark hold <package>

取消保持包版本:

sudo apt-mark unhold <package>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment