Not `apt', which does not have a stable CLI.
Latent bug introduced in
d654f28bf0fefe0c3eb8c160c6666b91e13326b8
Provide target_install_packages_nonfree_nonconcurrent
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
my $xsuites= 'contrib non-free';
target_cmd_root($ho, <<END, 30);
perl -i~ -pe 'next unless m/^deb/; s{ main\$}{\$& $xsuites};' $slist
- apt update
+ apt-get update
END
target_run_pkgmanager_install($ho,\@packages);
target_cmd_root($ho, <<END, 30);
mv $slist~ $slist
- apt update
+ apt-get update
END
}