산출apt-cache policy

산출apt-cache policy

일부 무료 펌웨어에 대한 고정을 설정하려고 하는데 작동하지 않습니다.

산출apt-cache policy

Package files:
 100 /var/lib/dpkg/status
     release a=now
 500 http://dl.google.com/linux/chrome/deb stable/main amd64 Packages
     release v=1.0,o=Google LLC,a=stable,n=stable,l=Google,c=main,b=amd64
     origin dl.google.com
 500 http://deb.debian.org/debian bullseye-updates/main amd64 Packages
     release v=11-updates,o=Debian,a=stable-updates,n=bullseye-updates,l=Debian,c=main,b=amd64
     origin deb.debian.org
 500 http://security.debian.org/debian-security bullseye-security/main amd64 Packages
     release v=11,o=Debian,a=stable-security,n=bullseye-security,l=Debian-Security,c=main,b=amd64
     origin security.debian.org
 500 http://deb.debian.org/debian bullseye/contrib amd64 Packages
     release v=11.4,o=Debian,a=stable,n=bullseye,l=Debian,c=contrib,b=amd64
     origin deb.debian.org
 -10 http://deb.debian.org/debian bullseye/non-free amd64 Packages
     release v=11.4,o=Debian,a=stable,n=bullseye,l=Debian,c=non-free,b=amd64
     origin deb.debian.org
 500 http://deb.debian.org/debian bullseye/main amd64 Packages
     release v=11.4,o=Debian,a=stable,n=bullseye,l=Debian,c=main,b=amd64
     origin deb.debian.org
Pinned packages:

구성

/etc/apt/sources.list

deb http://deb.debian.org/debian/ bullseye main
# deb-src http://deb.debian.org/debian/ bullseye main

deb http://security.debian.org/debian-security bullseye-security main contrib
# deb-src http://security.debian.org/debian-security bullseye-security main contrib

# bullseye-updates, previously known as 'volatile'
deb http://deb.debian.org/debian/ bullseye-updates main contrib
# deb-src http://deb.debian.org/debian/ bullseye-updates main contrib

etc/apt/sources.list.d/apt-source-list-non-free.list

deb http://deb.debian.org/debian/ bullseye non-free contrib

/etc/apt/preferences.d/apt-preferences-non-free-policy

#Explanation: don't install non-free, except some firmware

Package: *
Pin: release c=non-free
Pin-Priority: -10

Package: *
Pin: release c=contrib
Pin-Priority: -10

/etc/apt/preferences.d/firmware-linux-nonfree

Explanation: Enable package from non-free tree
Package: firmware-linux-nonfree
Pin: release o=Debian,a=bullseye,l=Debian,c=non-free
Pin-Priority: 600

답변1

나는 그것을 고쳤습니다: Pin:패키지에 대한 줄을 편집하여 읽습니다 Pin: release c=non-free.

설명하다

불필요한 내용을 삭제하세요. 형식을 완전히 이해하지 못하고 어딘가에서 구성을 복사했습니다. 좋은 설명을 찾을 수 없습니다. 그래서 우리는 단순한 것을 선택하는 것이 더 좋습니다.

다른 사람이 더 자세히 설명하는 데 도움을 줄 수 있기를 바랍니다.

관련 정보