Unable to create image : The following packages cannot be authenticated locales-all

Bug #1378432 reported by Claude Durocher
22
This bug affects 5 people
Affects Status Importance Assigned to Milestone
openstack-debian-images (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Testing build-openstack-debian-image (v0.7) on Ubuntu 14.04.1 LTS and the build aborts with the following error:

+ chroot /tmp/build-debimg.9epw2J apt-get install -y locales-all
Reading package lists... Done
Building dependency tree... Done
The following NEW packages will be installed:
  locales-all
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 3307 kB of archives.
After this operation, 114 MB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  locales-all
E: There are problems and -y was used without --force-yes
+ cleanup
+ [ ! -d /tmp/build-debimg.9epw2J ]
+ echo

+ echo error, umounting /tmp/build-debimg.9epw2J
error, umounting /tmp/build-debimg.9epw2J
+ chroot /tmp/build-debimg.9epw2J umount /proc
+ chroot /tmp/build-debimg.9epw2J umount /sys
umount: /sys: not mounted
+ true
+ umount /tmp/build-debimg.9epw2J
+ rmdir /tmp/build-debimg.9epw2J
+ kpartx -d debian-wheezy-7.0.0-3-amd64.raw
loop deleted : /dev/loop0

Steps to reproduce:

apt-get install build-openstack-debian-image
build-openstack-debian-image -r wheezy -ars 50M -e openssh-server

Expected behaviour:

successfull build

Workaroud :

Edit /usr/sbin/build-openstack-debian-image and change:
 chroot ${MOUNT_DIR} apt-get install -y locales-all
  to
 chroot ${MOUNT_DIR} apt-get install -y --force-yes locales-all

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in openstack-debian-images (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.