Run apt-get update one more time after installing the moblin keyring

package, to promote Release.gpg from APT's lists/partial/ to lists/.
Ideally APT would do that for us on apt-key updates.
ubuntu/precise
Loïc Minier 15 years ago
parent e8f5e89ca4
commit 17ab6945cc

3
debian/changelog vendored

@ -23,6 +23,9 @@ livecd-rootfs (0.99) UNRELEASED; urgency=low
before the host keys are appended to the trusted keyring though. before the host keys are appended to the trusted keyring though.
* Remove ${ROOT}var/cache/apt/{,src}pkgcache.bin after installing the moblin * Remove ${ROOT}var/cache/apt/{,src}pkgcache.bin after installing the moblin
keyring package, workaround for LP #442082. keyring package, workaround for LP #442082.
* Run apt-get update one more time after installing the moblin keyring
package, to promote Release.gpg from APT's lists/partial/ to lists/.
Ideally APT would do that for us on apt-key updates.
-- Loïc Minier <loic.minier@ubuntu.com> Thu, 24 Sep 2009 11:52:25 +0200 -- Loïc Minier <loic.minier@ubuntu.com> Thu, 24 Sep 2009 11:52:25 +0200

@ -395,6 +395,8 @@ Pin-Priority: 550
if [ "$FS" = "ubuntu-moblin-remix" ]; then if [ "$FS" = "ubuntu-moblin-remix" ]; then
chroot $ROOT apt-get update chroot $ROOT apt-get update
chroot $ROOT apt-get -y --force-yes install ubuntu-moblin-ppa-keyring chroot $ROOT apt-get -y --force-yes install ubuntu-moblin-ppa-keyring
# promote Release.gpg from APT's lists/partial/ to lists/
chroot $ROOT apt-get update
# workaround LP #442082 # workaround LP #442082
rm -f ${ROOT}var/cache/apt/{,src}pkgcache.bin rm -f ${ROOT}var/cache/apt/{,src}pkgcache.bin
fi fi

Loading…
Cancel
Save