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

explicitly pass --force-yes.
This commit is contained in:
Steve Langasek 2010-07-21 01:07:30 +02:00
parent 1c0e158254
commit da1105ea47
2 changed files with 9 additions and 1 deletions

7
debian/changelog vendored
View File

@ -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

View File

@ -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