One more fix; if we're asking apt to downgrade packages, we have to

explicitly pass --force-yes.
ubuntu/precise
Steve Langasek 15 years ago
parent 1c0e158254
commit da1105ea47

7
debian/changelog vendored

@ -1,3 +1,10 @@
livecd-rootfs (1.136) UNRELEASED; urgency=low
* One more fix; if we're asking apt to downgrade packages, we have to
explicitly pass --force-yes.
-- Steve Langasek <steve.langasek@ubuntu.com> Wed, 21 Jul 2010 00:29:59 +0200
livecd-rootfs (1.135) maverick; urgency=low
* Implement the -a option in the right place - in livecd.sh, not in

@ -460,6 +460,7 @@ Package: *
Pin: origin $APT_PIN
Pin-Priority: 1001
@@EOF
FORCE_YES=--force-yes
fi
if [ "$FS" = "ubuntu-moblin-remix" ]; then
@ -477,7 +478,7 @@ Pin-Priority: 1001
cat /etc/apt/trusted.gpg >> ${ROOT}etc/apt/trusted.gpg
chroot $ROOT apt-get update
chroot $ROOT apt-get -y --purge dist-upgrade </dev/null
chroot $ROOT apt-get -y $FORCE_YES --purge dist-upgrade </dev/null
chroot $ROOT apt-get -y --purge install $LIST </dev/null
# launchpad likes to put dependencies of seeded packages in tasks along with the

Loading…
Cancel
Save