From 9db0ff6d813f877fd4dede1158954ec1b748b47f Mon Sep 17 00:00:00 2001 From: Joerg Heinemann Date: Sun, 22 Feb 2026 11:38:10 +0100 Subject: [PATCH 1/2] Update package management commands in clean-lxcs.sh (#12166) Replace 'apt-get' with 'apt' for package management commands. --- tools/pve/clean-lxcs.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tools/pve/clean-lxcs.sh b/tools/pve/clean-lxcs.sh index 1f326de87..9702c1ca5 100644 --- a/tools/pve/clean-lxcs.sh +++ b/tools/pve/clean-lxcs.sh @@ -12,6 +12,7 @@ function header_info() { / / / / _ \/ __ `/ __ \ / / | / / / /___/ / __/ /_/ / / / / / /___/ / /___ \____/_/\___/\__,_/_/ /_/ /_____/_/|_\____/ + EOF } @@ -74,10 +75,10 @@ function run_lxc_clean() { find /var/cache -type f -delete 2>/dev/null find /var/log -type f -delete 2>/dev/null find /tmp -mindepth 1 -delete 2>/dev/null - apt-get -y --purge autoremove - apt-get -y autoclean + apt -y --purge autoremove + apt -y autoclean rm -rf /var/lib/apt/lists/* - apt-get update + apt update fi ' } From 104971ada3aeaba6c8c3dd7204ffe4a5026d28fa Mon Sep 17 00:00:00 2001 From: "community-scripts-pr-app[bot]" <189241966+community-scripts-pr-app[bot]@users.noreply.github.com> Date: Sun, 22 Feb 2026 10:38:30 +0000 Subject: [PATCH 2/2] Update CHANGELOG.md (#12177) Co-authored-by: github-actions[bot] --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1db270a33..1d957594d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -417,6 +417,10 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit - CR*NMASTER ([#12065](https://github.com/community-scripts/ProxmoxVE/pull/12065)) + - #### 🔧 Refactor + + - Update package management commands in clean-lxcs.sh [@heinemannj](https://github.com/heinemannj) ([#12166](https://github.com/community-scripts/ProxmoxVE/pull/12166)) + ## 2026-02-21 ### 🚀 Updated Scripts