You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
902 B
17 lines
902 B
#!/bin/bash
|
|
|
|
# Maak sleutelmap aan
|
|
mkdir -p ~/.apt/keyrings
|
|
|
|
# Voeg sleutels toe
|
|
curl -fsSL https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x04EE7237B7D453EC | tee ~/.apt/keyrings/debian.asc
|
|
curl -fsSL https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x648ACFD622F3D138 | tee ~/.apt/keyrings/debian.asc
|
|
|
|
# Voeg de repositories toe aan de apt-bronlijst
|
|
echo "deb [signed-by=$HOME/.apt/keyrings/debian.asc] http://deb.debian.org/debian bookworm main contrib non-free" > ~/.apt/sources.list.d/debian.list
|
|
echo "deb [signed-by=$HOME/.apt/keyrings/debian.asc] http://security.debian.org/debian-security bookworm-security main contrib non-free" >> ~/.apt/sources.list.d/debian.list
|
|
echo "deb [signed-by=$HOME/.apt/keyrings/debian.asc] http://deb.debian.org/debian bookworm-updates main contrib non-free" >> ~/.apt/sources.list.d/debian.list
|
|
|
|
# Werk apt bij
|
|
apt-get update --allow-unauthenticated
|