Skip to content

Commit

Permalink
debian-11.sh: Upgrade dpkg before all other packages.
Browse files Browse the repository at this point in the history
Signed-off-by: Tobias Knöppler <[email protected]>
  • Loading branch information
theCalcaholic committed May 9, 2024
1 parent 2984044 commit 0c023d9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bin/ncp-dist-upgrade.d/debian-11.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ do
sed -i -e "s/deb/#deb/g" "$aptlist"
}
done
apt-get update && apt-get upgrade -y --without-new-pkgs
apt-get update
apt-get upgrade -y dpkg
apt-get upgrade -y --without-new-pkgs
if is_lxc
then
# Required to avoid breakage of /etc/resolv.conf
Expand Down

0 comments on commit 0c023d9

Please sign in to comment.