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:
parent
df3075ca1c
commit
87aba7164e
@ -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
3
debian/changelog
vendored
@ -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
|
||||
|
||||
|
||||
@ -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.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user