From f633f6c40b71344f2115797c9b2c2edd983cbea1 Mon Sep 17 00:00:00 2001 From: tytan652 Date: Sat, 9 Jan 2021 11:24:27 +0100 Subject: [PATCH] fix: allow downgrade for linux-image install --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index b6cc37e..854e0f7 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -61,7 +61,7 @@ if [[ $linuximage_version == *"bpo10"* ]] then # Downgrading using ynh_package_install (exploded) without "--no-remove" # It will remove wireguard-ynh-deps and wireguard but they will be reinstalled throught upgrade process - ynh_apt --option Dpkg::Options::=--force-confdef \ + ynh_apt --allow-downgrades --option Dpkg::Options::=--force-confdef \ --option Dpkg::Options::=--force-confold install linux-image-$arch/stable fi