autoupdate.yml aktualisiert
This commit is contained in:
parent
5be9677e88
commit
5fabc8771a
@ -60,6 +60,15 @@
|
|||||||
DEBIAN_FRONTEND=noninteractive apt-get -yy dist-upgrade | sed -e "s/'/'\\\\''/g; 1s/^/'/; \$s/\$/'/" | tee $g_tmp/sys-update || g_echo_error "apt-get -yy dist-upgrade failed $($g_tmp/sys-update)"
|
DEBIAN_FRONTEND=noninteractive apt-get -yy dist-upgrade | sed -e "s/'/'\\\\''/g; 1s/^/'/; \$s/\$/'/" | tee $g_tmp/sys-update || g_echo_error "apt-get -yy dist-upgrade failed $($g_tmp/sys-update)"
|
||||||
DEBIAN_FRONTEND=noninteractive needrestart -b -r a | egrep -q "^NEEDRESTART-KSTA: [2|3]" && g_echo_warn "Server Reboot benötigt"
|
DEBIAN_FRONTEND=noninteractive needrestart -b -r a | egrep -q "^NEEDRESTART-KSTA: [2|3]" && g_echo_warn "Server Reboot benötigt"
|
||||||
g_echo_warn $(DEBIAN_FRONTEND=noninteractive apt-get -yy --purge autoremove 2>&1 | egrep -A10 "^The following packages will be REMOVED:")
|
g_echo_warn $(DEBIAN_FRONTEND=noninteractive apt-get -yy --purge autoremove 2>&1 | egrep -A10 "^The following packages will be REMOVED:")
|
||||||
|
DEBIAN_FRONTEND=noninteractive apt-get -yy autoclean
|
||||||
|
g_echo_warn $(find /etc -name '.dpkg-' -o -name '.ucf-' -o -name '*.merge-error')
|
||||||
|
DEBIAN_FRONTEND=noninteractive apt-get purge '~o'
|
||||||
|
# sed -i 's/bullseye/bookworm/g' /etc/apt/sources.list
|
||||||
|
# sed -i 's/bullseye/bookworm/g' /etc/apt/sources.list.d/*
|
||||||
|
# sed -i 's/non-free/non-free non-free-firmware/g' /etc/apt/sources.list
|
||||||
|
# sed -i 's/non-free/non-free non-free-firmware/g' /etc/apt/sources.list.d/*
|
||||||
|
# DEBIAN_FRONTEND=noninteractive apt-get -yy upgrade --without-new-pkgs
|
||||||
|
# DEBIAN_FRONTEND=noninteractive apt-get -yy full-upgrade
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
[ -x /usr/bin/flatpak ] && flatpak update --system --noninteractive --force-remove
|
[ -x /usr/bin/flatpak ] && flatpak update --system --noninteractive --force-remove
|
||||||
|
Loading…
Reference in New Issue
Block a user