私の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

おすすめ記事