반응형
By Claude
OS업데이트시 문제가 생길수 있으므로 OS 업데이트는 차단, 패키지는 마이너 업데이트만 허용
■ OS 업데이트 차단 : /etc/apt/apt.conf.d/10periodic 파일 수정
sudo echo 'APT::Periodic::Update-Package-Lists "0";' > /etc/apt/apt.conf.d/10periodic
sudo echo 'APT::Periodic::Download-Upgradeable-Packages "0";' >> /etc/apt/apt.conf.d/10periodic
sudo echo 'APT::Periodic::AutocleanInterval "0";' >> /etc/apt/apt.conf.d/10periodic
sudo echo 'APT::Periodic::Unattended-Upgrade "0";' >> /etc/apt/apt.conf.d/10periodic
■ /etc/apt/preferences 파일에 추가하기
root ~# vi /etc/apt/preferences
Package: *
Pin: release a=jammy-security
Pin-Priority: -1
Package: *
Pin: release a=jammy-updates
Pin-Priority: -1
Package: *
Pin: release o=Ubuntu
Pin-Priority: 100
반응형
'리눅스 > UBUNTU 리눅스' 카테고리의 다른 글
우분투리눅스 : podman + directus + supabase+ 네이버 SMTP (0) | 2024.12.31 |
---|---|
우분투리눅스 : console color 콘솔 칼라 (0) | 2024.12.30 |
우분투리눅스 : MVME 마운트 (0) | 2024.12.27 |
우분투리눅스 : 첫 SSH 접속하기 (0) | 2024.12.25 |
우분투 리눅스 : 22.04 설치 (1) | 2024.12.20 |