Comment 2 for bug 1053239

Revision history for this message
Scott Moser (smoser) wrote : Re: [Bug 1053239] [NEW] cloud-init 0.7.0~bzr659-0ubuntu1 upgrade fails: Template #2 in /var/lib/dpkg/info/cloud-init.templates does not contain a 'Template:' line

On Thu, 20 Sep 2012, Jean-Baptiste Lallement wrote:

> Public bug reported:
>
> Upgrade to cloud-init 0.7.0~bzr659-0ubuntu1 on Quantal fails with the
> following error:
>
> $ sudo apt-get install cloud-init
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following packages will be upgraded:
> cloud-init
> 1 upgraded, 0 newly installed, 0 to remove and 156 not upgraded.
> Need to get 147 kB of archives.
> After this operation, 8,192 B of additional disk space will be used.
> Get:1 http://archive.ubuntu.com/ubuntu/ quantal/main cloud-init all 0.7.0~bzr659-0ubuntu1 [147 kB]
> Fetched 147 kB in 0s (705 kB/s)
> Preconfiguring packages ...
> cloud-init template parse error: Template #2 in /tmp/cloud-init.template.236500 does not contain a 'Template:' line
>
> (Reading database ... 273708 files and directories currently installed.)
> Preparing to replace cloud-init 0.7.0~bzr644-0ubuntu1 (using .../cloud-init_0.7.0~bzr659-0ubuntu1_all.deb) ...
> Unpacking replacement cloud-init ...
> Processing triggers for ureadahead ...
> Setting up cloud-init (0.7.0~bzr659-0ubuntu1) ...
> Installing new version of config file /etc/init/cloud-init-nonet.conf ...
> Installing new version of config file /etc/cloud/cloud.cfg ...
> Template #2 in /var/lib/dpkg/info/cloud-init.templates does not contain a 'Template:' line
> dpkg: error processing cloud-init (--configure):
> subprocess installed post-installation script returned error exit status 255
> No apport report written because MaxReports is reached already
> Processing triggers for ureadahead ...
> Errors were encountered while processing:
> cloud-init
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> ** Affects: cloud-init (Ubuntu)
> Importance: Undecided
> Status: New
>
>
> ** Tags: qa-manual-testing quantal
>
> --
> You received this bug notification because you are subscribed to cloud-
> init in Ubuntu.
> https://bugs.launchpad.net/bugs/1053239
>
> Title:
> cloud-init 0.7.0~bzr659-0ubuntu1 upgrade fails: Template #2 in
> /var/lib/dpkg/info/cloud-init.templates does not contain a 'Template:'
> line
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1053239/+subscriptions
>
>