17
16

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

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
17
16
0

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
17
16

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?