add pin-priority for buster backports
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 20 Aug 2021 22:41:19 +0000 (23:41 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 20 Aug 2021 22:41:19 +0000 (23:41 +0100)
install-hdl-apt-reqs

index 8122138376a57e0d9b576671ad07da6c3994ff3c..9e91d16ce7e0b2eebc7cca01c48574a991839e5a 100755 (executable)
@@ -8,6 +8,13 @@ cat << EOF > /etc/apt/sources.list.d/buster_backports.list
 deb http://deb.debian.org/debian buster-backports main
 EOF
 
+# oooo annoying, pin preferences for buster-backports
+cat << EOF > /etc/apt/prerefences.d/99buster-backports
+Package: *
+Pin: release a=buster-backports
+Pin-Priority: 900
+EOF
+
 apt-get update -y
 apt-get upgrade -y
 apt-get install -y autoconf \