#!/usr/bin/bash echo "deb [trusted=yes] https://deb.debian.org/debian bookworm main non-free" > /etc/apt/sources.list printf '\nPackage: *\nPin: origin apt.pogmom.me\nPin-Priority: 3000\n' | tee /etc/apt/preferences.d/pogmom.pref rm /etc/apt/sources.list.d/gemian.list curl -fsSL 'https://apt.pogmom.me/public.gpg' | gpg --dearmor -o /usr/share/keyrings/pogmom.gpg printf "Enabled: yes\nTypes: deb\nURIs: https://apt.pogmom.me/\nSuites: gemian\nComponents: main\nSigned-By: /usr/share/keyrings/pogmom.gpg\n" | tee /etc/apt/sources.list.d/pogmom.sources apt update apt -y purge codi-app apt -y --allow-downgrades full-upgrade cd /tmp apt -y download libcrypt1 dpkg-deb -x libcrypt1_1%3a4.4.33-2_arm64.deb . cp -av lib/aarch64-linux-gnu/* /lib/aarch64-linux-gnu/ apt -y --allow-downgrades --fix-broken install apt -y --allow-downgrades full-upgrade printf "deb https://deb.debian.org/debian bookworm main non-free\ndeb https://deb.debian.org/debian bookworm-updates main non-free non-free-firmware\ndeb https://security.debian.org/debian-security bookworm-security main non-free non-free-firmware\n" > /etc/apt/sources.list