Disable automatic updates kernel on Ubuntu

Posted at 2017. 12. 20. 11:40 | Posted in Server/Ubuntu
반응형

우분투 설치 후 가만히 냅두면 자동으로 커널이 업그레이드 된다.


우분투 SSH 로그인 했을 때 아래와 같이 재부팅 하라는 메세지가 나오면 커널이 업그레이드 되었을 확률이 있다.


Using username "root".
root@192.168.20.13's password:
Welcome to Ubuntu 16.04.3 LTS (GNU/Linux 4.4.0-45-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

78 packages can be updated.
0 updates are security updates.


*** System restart required ***
Last login: ..... from .....
# _


문제는 이것이 계속 업그레이드 되먼서 이전 커널 파일이 /boot 에 쌓인다.


계속 쌓이다가 /boot 가 100%가 되어버리면 문제가 된다.


주기적으로 관리를 해줘야 하지만 그것도 싫다고 하면... 커널 자동 업그레이드를 비활성화 하자.


# apt-mark hold linux-image-generic linux-headers-generic
linux-image-generic set on hold.
linux-headers-generic set on hold.


출처: https://askubuntu.com/questions/678630/how-can-i-avoid-kernel-updates

반응형

'Server > Ubuntu' 카테고리의 다른 글

Installation Redmine on Ubuntu  (0) 2014.03.26
Installation Maven 3 on Ubuntu  (0) 2014.03.25
Using Xmanager to Ubuntu 10.10  (0) 2011.04.13
Subversion  (0) 2010.08.16
Openfire  (0) 2010.05.25
Webmin  (0) 2009.11.18
Squirrelmail  (0) 2009.11.12
SparkWeb  (0) 2009.11.12
Cacti  (0) 2009.11.12
Apache + SSL  (0) 2009.11.12
//