LoginSignup
16

More than 5 years have passed since last update.

apt-get upgradeから特定パッケージを除外する

Last updated at Posted at 2013-05-21

apt-get upgradeしたいけど、バージョンアップすると今の設定が効かなくなるパッケージがあるときの対処方法。

$ echo [パッケージ名] hold | sudo dpkg --set-selections

holdしたものを解除する。

$ echo [パッケージ名] install | sudo dpkg --set-selections

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
16