70debconf
/etc/apt/apt.conf.d/70debconf 는 패키지를 실제 설치하기 전에 debconf 질문을 미리 준비하도록 dpkg-preconfigure 를 등록하는 조각이다.
Summary
.debunpack 전에debconf질문을 선처리(preconfigure)한다.- 대화형 설치에서 질문 타이밍을 정리하고, 비대화형 자동화에서도 seed 적용을 쉽게 만든다.
Path
- Path:
/etc/apt/apt.conf.d/70debconf - Package:
debconf - Order:
70prefix
Config
// Pre-configure all packages with debconf before they are installed.
// If you don't like it, comment it out.
DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt || true";};
Notes
DPkg::Pre-Install-Pkgshook 이라서.deb가dpkg로 넘어가기 직전에 실행된다.–apt옵션은 APT가 넘기는 package 목록을 기준으로 preconfigure 하도록 만든다.- 끝의
|| true는 preconfigure 실패가 전체 설치를 바로 깨지 않게 하려는 방어 장치다.
See Also
History
- codex:: 2026-07-13 Added a page for the debconf preconfiguration fragment.