Feat: Fehlende APT-Pakete wiederhergestellt und Gitea-Paketquellen eingerichtet

Co-authored-by: Junie <junie@jetbrains.com>
This commit is contained in:
2026-09-06 12:58:30 +02:00
co-authored by Junie
parent bb3e42a8e3
commit 4afce9cdb1
3 changed files with 28 additions and 4 deletions
+11
View File
@@ -9,6 +9,8 @@ apparmor-notify
apparmor-profiles
apparmor-profiles-extra
apparmor-utils
apt-listbugs
apt-listchanges
aptitude
baobab
bat
@@ -16,11 +18,15 @@ bleachbit
bluetooth
blueman
bluez
bruno
btop
ca-certificates
clamav
clamav-daemon
clamav-docs
clamav-freshclam
command-not-found
cpupower-gui
cryptomator
curl
dconf-editor
@@ -48,14 +54,19 @@ keepassxc
lsd
man
network-manager-gnome
plymouth
plymouth-themes
resources
rfkill
ripgrep
rpi-imager
shellcheck
sl
systemd-timesyncd
tar
tealdeer
timeshift
topgrade
tree
unrar
unzip
+5
View File
@@ -3,8 +3,11 @@
# ==============================================================================
cava
codium
dconf-editor
flameshot
floorp
fragments
gnome-calculator
gnome-decoder
gnome-font-viewer
@@ -22,12 +25,14 @@ nwg-look
obfuscate
pipewire
pipewire-pulse
remmina
sddm
slurp
speech-dispatcher
swappy
swaybg
thunar
vesktop
wayland-utils
wireplumber
wl-clipboard
+12 -4
View File
@@ -30,8 +30,11 @@ DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
log_substep "Enabling 32-bit (i386) multiarch architecture..."
apt_enable_i386
# 3. Ensure Keyrings directory exists
# 3. Ensure Keyrings directory exists and install repository keyrings
apt_ensure_keyrings_dir
log_substep "Installing custom repository keyrings..."
apt_add_keyring_from_url "https://gitea.creative-dragonslayer.de/api/packages/Linuxapps/debian/repository.key" "gitea-Linuxapps.asc" || log_warn "Could not fetch gitea-Linuxapps.asc keyring."
apt_add_keyring_from_url "https://gitea.creative-dragonslayer.de/api/packages/Mirror/debian/repository.key" "gitea-Mirror.asc" || log_warn "Could not fetch gitea-Mirror.asc keyring."
# 4. Migrate /etc/apt/sources.list to Deb822 format
log_substep "Migrating APT sources to Deb822 format..."
@@ -41,9 +44,14 @@ if [[ -f /etc/apt/sources.list && ! -f /etc/apt/sources.list.bak_pre_unstable ]]
sed -i 's/^[[:space:]]*deb/# deb/' /etc/apt/sources.list
fi
# Deploy debian-unstable.sources
if [[ -f "$SCRIPT_DIR/data/apt/sources.list.d/debian-unstable.sources" ]]; then
apt_install_sources_file "$SCRIPT_DIR/data/apt/sources.list.d/debian-unstable.sources" "debian-unstable.sources"
# Deploy Deb822 sources
log_substep "Deploying Deb822 APT sources..."
if compgen -G "$SCRIPT_DIR/data/apt/sources.list.d/*.sources" > /dev/null; then
for src_file in "$SCRIPT_DIR"/data/apt/sources.list.d/*.sources; do
if [[ "$(basename "$src_file")" != "xanmod.sources" ]]; then
apt_install_sources_file "$src_file" "$(basename "$src_file")"
fi
done
fi
# 5. Deploy APT Preferences / Pinning