debian-11.sh: Remove package libc-dev-bin prior to install to avoid dependency conflict

Signed-off-by: Tobias Knöppler <6317548+theCalcaholic@users.noreply.github.com>
This commit is contained in:
Tobias Knöppler 2024-08-09 23:48:49 +02:00
parent 371391e7e8
commit 11c0a668c3
No known key found for this signature in database
GPG Key ID: 3510056072886A8F

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/bash
set -eu -o pipefail
@ -37,7 +37,9 @@ save_maintenance_mode
# Perform dist-upgrade
apt-get update && apt-get upgrade -y
apt-get update
apt-get remove -y libc-dev-bin || true
apt-get upgrade -y
for aptlist in /etc/apt/sources.list /etc/apt/sources.list.d/{php.list,armbian.list,raspi.list}
do
[ -f "$aptlist" ] && sed -i -e "s/bullseye/bookworm/g" "$aptlist"
@ -58,6 +60,7 @@ then
apt-get install -y --no-install-recommends systemd-resolved && systemctl enable --now systemd-resolved
fi
apt-get full-upgrade -y
sudo apt-get install -y --no-install-recommends libc-dev-bin || true
sudo apt-get --purge autoremove -y
apt-get install -y --no-install-recommends exfatprogs