cloud-config apt-get apt_upgrade may prompt for conf file changes

Bug #607642 reported by Scott Moser
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-init (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: cloud-init

using:
| #cloud-config
| apt_upgrade: true

could possibly block waiting for user input on conf file changes.

It seems like this may need to add '-o Dpkg::Options::="--force-confnew"'

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: cloud-init 0.5.12-0ubuntu7
ProcVersionSignature: User Name 2.6.32-305.9-ec2 2.6.32.11+drm33.2
Uname: Linux 2.6.32-305-ec2 i686
Architecture: i386
Date: Tue Jul 20 09:30:51 2010
Ec2AMI: ami-eccf2485
Ec2AMIManifest: ubuntu-images-testing-us/ubuntu-maverick-daily-i386-server-20100720.1.manifest.xml
Ec2AvailabilityZone: us-east-1c
Ec2InstanceType: m1.small
Ec2Kernel: aki-407d9529
Ec2Ramdisk: unavailable
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: cloud-init

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

This bug was fixed in the package cloud-init - 0.5.13-0ubuntu1

---------------
cloud-init (0.5.13-0ubuntu1) maverick; urgency=low

  * New upstream release.
  * invoke dpkg with --force-confold (LP: #607642)
 -- Scott Moser <email address hidden> Wed, 21 Jul 2010 11:58:53 -0400

Changed in cloud-init (Ubuntu):
status: New → Fix Released
Revision history for this message
Scott Moser (smoser) wrote :

just for easy reading, essentially, we now invoke upgrade as:

DEBIAN_FRONTEND=noninteractive apt-get \
   --option Dpkg::Options::=--force-confold \
   upgrade --assume-yes

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.