Skip to content

Commit 0c023d9

Browse files
committed
debian-11.sh: Upgrade dpkg before all other packages.
Signed-off-by: Tobias Knöppler <6317548+theCalcaholic@users.noreply.github.com>
1 parent 2984044 commit 0c023d9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

bin/ncp-dist-upgrade.d/debian-11.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@ do
4949
sed -i -e "s/deb/#deb/g" "$aptlist"
5050
}
5151
done
52-
apt-get update && apt-get upgrade -y --without-new-pkgs
52+
apt-get update
53+
apt-get upgrade -y dpkg
54+
apt-get upgrade -y --without-new-pkgs
5355
if is_lxc
5456
then
5557
# Required to avoid breakage of /etc/resolv.conf

0 commit comments

Comments
 (0)