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
apparmor-profiles-extra apparmor-profiles-extra
apparmor-utils apparmor-utils
apt-listbugs
apt-listchanges
aptitude aptitude
baobab baobab
bat bat
@@ -16,11 +18,15 @@ bleachbit
bluetooth bluetooth
blueman blueman
bluez bluez
bruno
btop btop
ca-certificates ca-certificates
clamav clamav
clamav-daemon clamav-daemon
clamav-docs
clamav-freshclam
command-not-found command-not-found
cpupower-gui
cryptomator cryptomator
curl curl
dconf-editor dconf-editor
@@ -48,14 +54,19 @@ keepassxc
lsd lsd
man man
network-manager-gnome network-manager-gnome
plymouth
plymouth-themes
resources
rfkill rfkill
ripgrep ripgrep
rpi-imager rpi-imager
shellcheck shellcheck
sl
systemd-timesyncd systemd-timesyncd
tar tar
tealdeer tealdeer
timeshift timeshift
topgrade
tree tree
unrar unrar
unzip unzip
+5
View File
@@ -3,8 +3,11 @@
# ============================================================================== # ==============================================================================
cava cava
codium
dconf-editor dconf-editor
flameshot flameshot
floorp
fragments
gnome-calculator gnome-calculator
gnome-decoder gnome-decoder
gnome-font-viewer gnome-font-viewer
@@ -22,12 +25,14 @@ nwg-look
obfuscate obfuscate
pipewire pipewire
pipewire-pulse pipewire-pulse
remmina
sddm sddm
slurp slurp
speech-dispatcher speech-dispatcher
swappy swappy
swaybg swaybg
thunar thunar
vesktop
wayland-utils wayland-utils
wireplumber wireplumber
wl-clipboard 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..." log_substep "Enabling 32-bit (i386) multiarch architecture..."
apt_enable_i386 apt_enable_i386
# 3. Ensure Keyrings directory exists # 3. Ensure Keyrings directory exists and install repository keyrings
apt_ensure_keyrings_dir 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 # 4. Migrate /etc/apt/sources.list to Deb822 format
log_substep "Migrating APT sources 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 sed -i 's/^[[:space:]]*deb/# deb/' /etc/apt/sources.list
fi fi
# Deploy debian-unstable.sources # Deploy Deb822 sources
if [[ -f "$SCRIPT_DIR/data/apt/sources.list.d/debian-unstable.sources" ]]; then log_substep "Deploying Deb822 APT sources..."
apt_install_sources_file "$SCRIPT_DIR/data/apt/sources.list.d/debian-unstable.sources" "debian-unstable.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 fi
# 5. Deploy APT Preferences / Pinning # 5. Deploy APT Preferences / Pinning