내 APT 저장소에 가장 높은 우선순위를 부여했는데 최신 패키지가 설치되지 않는 이유는 무엇입니까?

내 APT 저장소에 가장 높은 우선순위를 부여했는데 최신 패키지가 설치되지 않는 이유는 무엇입니까?

내가 준 적절한 고정을 사용하여내 openSUSE 빌드 서비스(OBS) 저장소가장 높은 우선순위는 1003이고(이 중 1000은 공식 확장 저장소에 할당됨) 내가 가져오고 싶은 패키지를 지정하지만, 어떤 이유로 Debian 9는 내 Vim 관련 패키지의 이전 버전(예: 8.0.1520)을 사용하고 있습니다. 이 글을 쓰는 시점에 내가 패키지한 최신 버전인 8.0.1587). /etc/apt에서 APT 구성을 보려면 기본값으로 두지 않았습니다.그들이 온다.여기응 출력 apt show -a vim.

편집하다:

apt show -a vim-common | grep 587

vim-common 8.0.1587을 사용할 수 없는 것 같습니다. 하지만https://download.opensuse.org/repositories/home:/fusion809/Debian_9.0/all/실제로 vim-common 패키지 버전 8.0.1587이 있으므로 이것이 OBS 문제라고 생각합니다.

편집 2:

apt-cache policy반품:https://pastebin.com/5yusCSG1.

apt-cache policy vim-common반품:

vim-common:
  Installed: 2:8.0.1520-1
  Candidate: 2:8.0.1520-1
  Version table:
     2:8.0.1587-1 500
        500 http://download.opensuse.org/repositories/home:/fusion809/Debian_9.0  Packages
 *** 2:8.0.1520-1 1003
        100 /var/lib/dpkg/status
     2:8.0.1453-1 1003
          2 http://debian.mirror.digitalpacific.com.au/debian sid/main amd64 Packages
          2 http://debian.mirror.digitalpacific.com.au/debian testing/main amd64 Packages
     2:8.0.0197-4+deb9u1 1003
       1000 http://deb.debian.org/debian stretch/main amd64 Packages
     2:7.4.488-7+deb8u3 1003
          2 http://debian.mirror.digitalpacific.com.au/debian oldstable/main amd64 Packages

답변1

파일에서 저장소를 식별하려면 해당 파일의 preferences출력 apt-cache policy이나 정보를 사용하십시오 Release.

~ apt-cache policy 
Package files:
 100 /var/lib/dpkg/status
     release a=now
 500 http://ppa.launchpad.net/gophers/archive/ubuntu xenial/main amd64 Packages
     release v=16.04,o=LP-PPA-gophers-archive,a=xenial,n=xenial,l=Go 1.X packages,c=main,b=amd64
     origin ppa.launchpad.net
 500 https://dl.google.com/linux/chrome/deb stable/main amd64 Packages
     release v=1.0,o=Google, Inc.,a=stable,n=stable,l=Google,c=main,b=amd64
     origin dl.google.com
 500 ftp://ftp.iitb.ac.in//os/ubuntu/archives/ubuntu xenial-updates/multiverse i386 Packages
     release v=16.04,o=Ubuntu,a=xenial-updates,n=xenial,l=Ubuntu,c=multiverse,b=i386
     origin ftp.iitb.ac.in

oa충분한 고유성을 지닌 저장소를 식별하려면 , 및 동일한 값의 조합을 사용하십시오 . 저장소 채널과 구성 요소 또는 파일에서 Release동일한 정보를 얻을 수 있습니다. InRelease예를 들어 Google 저장소( )의 채널 구성요소는 main다음과 같습니다.stablehttps://dl.google.com/linux/chrome/deb/dists/stable/main/binary-amd64/Release

Archive: stable
Version: 1.0
Component: main
Origin: Google, Inc.
Label: Google
Architecture: amd64
Description: Google chrome-linux repository.

a=/저장소가 다음에 대해 다른 값을 설정하기 때문에 귀하의 경우에는 작동하지 않습니다 Archive.

Archive: Debian_9.0
Codename: Debian_9.0
Origin: obs://build.opensuse.org/home:fusion809/Debian_9.0
Label: home:fusion809

관련 정보