50appstream
/etc/apt/apt.conf.d/50appstream 은 APT가 일반 package index 외에 DEP-11 metadata 와 icon tarball 까지 받을 수 있게 Acquire::IndexTargets 를 확장하는 파일이다.
Summary
- GUI software catalog 가 쓰는 AppStream metadata 다운로드 대상을 추가한다.
apt update뒤appstreamcli refreshhook 도 함께 등록한다.
Path
- Path:
/etc/apt/apt.conf.d/50appstream - Package:
appstream - Order:
50prefix
Config
Acquire::IndexTargets {
deb::DEP-11 {
MetaKey "$(COMPONENT)/dep11/Components-$(NATIVE_ARCHITECTURE).yml";
ShortDescription "Components-$(NATIVE_ARCHITECTURE)";
Description "$(RELEASE)/$(COMPONENT) $(NATIVE_ARCHITECTURE) Components";
KeepCompressed "true";
KeepCompressedAs "gz";
};
deb::DEP-11-icons-small {
MetaKey "$(COMPONENT)/dep11/icons-48x48.tar";
DefaultEnabled "false";
};
deb::DEP-11-icons {
MetaKey "$(COMPONENT)/dep11/icons-64x64.tar";
DefaultEnabled "false";
};
};
APT::Update::Post-Invoke-Success {
"if /usr/bin/test -w /var/cache/swcatalog -a -e /usr/bin/appstreamcli; then appstreamcli refresh --source=os > /dev/null || true; fi";
};
Notes
- 실제 파일에는 48x48, 64x64, 64x64@2, 128x128, 128x128@2 icon target 까지 정의되어 있다.
- 대부분의 icon target 은
DefaultEnabled "false"이므로 repository 와 frontend 요구에 따라 활성화 여부가 달라질 수 있다. appstreamcli refresh –source=os는 내려받은 metadata 를 로컬 software catalog cache 로 재구성한다.
apt update 네트워크 트래픽이 왜 늘었는지 볼 때 이 파일이 추가한 DEP-11 metadata 대상이 원인인 경우가 많다.
See Also
History
- codex:: 2026-07-13 Added a page for the AppStream metadata index-target fragment.