1
0
mirror of synced 2026-01-13 15:17:30 +00:00

Drop all occurrences of apt's --force-yes parameter

It only forces the installation of untrusted packages and that's
unwanted.

Closes: #776487
This commit is contained in:
Axel Beckert 2015-06-11 18:08:52 +02:00
parent df3075ca1c
commit 87aba7164e
3 changed files with 5 additions and 2 deletions

View File

@ -302,7 +302,7 @@ sub updateXenImage
# Now upgrade
#
system(
"DEBIAN_FRONTEND=noninteractive chroot $tmp /usr/bin/apt-get upgrade --yes --force-yes"
"DEBIAN_FRONTEND=noninteractive chroot $tmp /usr/bin/apt-get upgrade --yes"
);
#

3
debian/changelog vendored
View File

@ -15,6 +15,9 @@ xen-tools (4.5+dev-1) UNRELEASED; urgency=medium
* Recommend debian-archive-keyring (for installing Debian DomUs on
derivatives) and ubuntu-archive-keyring (for installing Ubuntu DomUs
on Debian).
* Drop all occurrences of apt's --force-yes parameter. It only forces
the installation of untrusted packages and that's unwanted. (Closes:
#776487)
-- Axel Beckert <abe@debian.org> Fri, 09 Jan 2015 13:10:37 +0100

View File

@ -96,7 +96,7 @@ installDebianPackageAndRecommends ()
#
# Install the packages
#
DEBIAN_FRONTEND=noninteractive chroot ${prefix} /usr/bin/apt-get --yes --force-yes install "$@"
DEBIAN_FRONTEND=noninteractive chroot ${prefix} /usr/bin/apt-get --yes install "$@"
#
# Remove the policy-rc.d script.