21
31

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.

ćƒ‘ćƒƒć‚±ćƒ¼ć‚øćŒę›“ę–°ć•ć‚ŒćŖć„ć‚ˆć†ć«ć™ć‚‹

21
Posted at

apt の堓合

apt-mark hold ćƒ‘ćƒƒć‚±ćƒ¼ć‚øå

あるいは

aptitude hold ćƒ‘ćƒƒć‚±ćƒ¼ć‚øå

č§£é™¤ć™ć‚‹ćØććÆ

apt-mark unhold ćƒ‘ćƒƒć‚±ćƒ¼ć‚øå
aptitude unhold ćƒ‘ćƒƒć‚±ćƒ¼ć‚øå

dpkg だと

echo "ćƒ‘ćƒƒć‚±ćƒ¼ć‚øå hold" | dpkg --set-selections

echo "ćƒ‘ćƒƒć‚±ćƒ¼ć‚øå install" | sudo dpkg --set-selections

ćƒ›ćƒ¼ćƒ«ćƒ‰ć•ć‚Œć¦ć„ć‚‹ćƒ‘ćƒƒć‚±ćƒ¼ć‚øć®ćƒŖć‚¹ćƒˆćÆ

dpkg --get-selections | grep hold

あるいは

dpkg -l | grep '^h'

yum の堓合

/etc/yum.conf 恫 exclude= ć§ć‚¹ćƒšćƒ¼ć‚¹åŒŗåˆ‡ć‚Šć®ćƒŖć‚¹ćƒˆć§ęŒ‡å®šć™ć‚‹ć€‚

exclude=ćƒ‘ćƒƒć‚±ćƒ¼ć‚øå [ćƒ‘ćƒƒć‚±ćƒ¼ć‚øå ...]

ćƒ‘ćƒƒć‚±ćƒ¼ć‚øåć«ćÆć‚·ć‚§ćƒ«ć®ć‚°ćƒ­ćƒ– (* 悄 ?) ćŒä½æē”Øć§ćć‚‹ć€‚

21
31
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
21
31

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?