Skip to content

Commit

Permalink
chore: remove unstable repo from configure-apt script
Browse files Browse the repository at this point in the history
  • Loading branch information
zackpollard committed Sep 5, 2024
1 parent 87f450b commit bca13d8
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions server/bin/configure-apt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,10 @@
set -e

sed -i -e's/ main/ main contrib non-free non-free-firmware/g' /etc/apt/sources.list.d/debian.sources
sed -i -e's/ bookworm-updates/ bookworm-updates testing sid/g' /etc/apt/sources.list.d/debian.sources
sed -i -e's/ bookworm-updates/ bookworm-updates testing/g' /etc/apt/sources.list.d/debian.sources

# default priority is 500, so we set unstable to 450 to prefer stable packages
cat > /etc/apt/preferences.d/preferences << EOL
Package: *
Pin: release a=unstable
Pin-Priority: 450
Package: *
Pin: release n=testing
Pin-Priority: 450
Expand Down

0 comments on commit bca13d8

Please sign in to comment.