ubuntu 18.04 자동 없데이트 방지

페이지 정보

작성자 조희승 댓글 0건 조회 5,930회 작성일 19-04-08 15:51

본문

https://extrememanual.net/29592
https://linuxconfig.org/disable-automatic-updates-on-ubuntu-18-04-bionic-beaver-linux



/etc/apt/apt.conf.d/10periodic
/etc/apt/apt.conf.d/20auto-upgrades

1 -> 0 값으로 변경



Disable Automatic Updates from Command Line
Edit /etc/apt/apt.conf.d/20auto-upgrades to disable automatic updates from the command line:
$ sudo nano /etc/apt/apt.conf.d/20auto-upgrades
Once you have the file opened, switch off the Update-Package-Lists directive from 1 to 0 as shown below on Line 1:

APT::Periodic::Update-Package-Lists "0";
APT::Periodic::Unattended-Upgrade "1";






grub.cfg를 바꾸고 싶지 않으면,
/etc/kernel/postinst.d/zz-update-grub 에서 update-grub을 #처리 해주어야 함.
자동으로 grub.cfg를 업데이트 하지 못하도록 함.

댓글목록

등록된 댓글이 없습니다.