未选择更高优先级的包

未选择更高优先级的包

我正在使用 Ubuntu 20.04 LTS。

我正在尝试mpvhttps://non-gnu.uvt.nl/选择的存储库启动板 ppa:mc3man/mpv-tests PPA存储库,到目前为止我做了以下事情:

$ cat /etc/apt/sources.list.d/mc3man-ubuntu-mpv-tests-focal.list
deb http://ppa.launchpad.net/mc3man/mpv-tests/ubuntu focal main
$ cat /etc/apt/sources.list.d/mpv-non-gnu.uvt.nl.list
deb https://non-gnu.uvt.nl/debian focal uvt
$ egrep -v '^(#|$)' /etc/apt/preferences.d/mpv 
Package: mpv
Pin: origin non-gnu.uvt.nl
Pin-Priority: 991
$ apt policy mpv
mpv:
  Installed: 2:0.33.0~focal1
  Candidate: 2:0.33.0~focal1
  Version table:
 *** 2:0.33.0~focal1 500
        500 http://ppa.launchpad.net/mc3man/mpv-tests/ubuntu focal/main amd64 Packages
        100 /var/lib/dpkg/status
     0.34.1+fruit.2 991
        100 https://non-gnu.uvt.nl/debian focal/uvt amd64 Packages
     0.34.1+fruit.1 991
        100 https://non-gnu.uvt.nl/debian focal/uvt amd64 Packages
     0.34.0+fruit.1 991
        100 https://non-gnu.uvt.nl/debian focal/uvt amd64 Packages
     0.33.1+wsl.1 991
        100 https://non-gnu.uvt.nl/debian focal/uvt amd64 Packages
     0.33.0+wsl.1 991
        100 https://non-gnu.uvt.nl/debian focal/uvt amd64 Packages
     0.32.0-1ubuntu1 500
        500 http://fr.archive.ubuntu.com/ubuntu focal/universe amd64 Packages

优先级已成功从100991但正如你在输出中注意到的那样apt policy mpv,所选的候选人没有改变0.34.1+水果.2

我怎样才能做到这一点 ?

相关内容