I'm using Ubuntu 20.04 LTS.
I'm trying to get the mpv
package from the https://non-gnu.uvt.nl/ repository to be chosen over that of the Launchpad ppa:mc3man/mpv-tests PPA repository, so far I did this :
$ 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
The priority was successfully changed from 100 to 991 but as you can notice on the apt policy mpv
output, the chosen Candidate didn't change to 0.34.1+fruit.2.
How can I do that ?
0 Answers