update-kernel: Remove obsolete APT::Install::VirtualVersion=true

APT::Install::VirtualVersion seems removed in 2004 in apt commit 0501f88ac
("0.5.15cnc5-alt1").

Fixes: b1409ed ("force select newest kernel module package (ALT bug #22572)")
Signed-off-by: Vitaly Chikunov <vt@altlinux.org>
This commit is contained in:
Виталий Чикунов 2022-04-06 03:26:15 +03:00
parent 2029c44606
commit 131b59edad

View File

@ -78,7 +78,7 @@ module_install() {
;;
esac
# shellcheck disable=SC2086
V apt-get install -o APT::Install::VirtualVersion=true -o APT::Install::Virtual=true -y $dryrun "$module"
V apt-get install -o APT::Install::Virtual=true -y $dryrun "$module"
else
export modules_to_install="$modules_to_install $1"
fi