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

Bug #1053239 reported by Jean-Baptiste Lallement
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
cloud-init (Ubuntu)
Fix Released
Critical
Unassigned

Bug Description

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)

Related branches

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

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

Changed in cloud-init (Ubuntu):
status: New → Confirmed
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
>
>

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

This bug was fixed in the package cloud-init - 0.7.0~bzr659-0ubuntu2

---------------
cloud-init (0.7.0~bzr659-0ubuntu2) quantal; urgency=low

  * debian/cloud-init.templates: fix bad template file (LP: #1053239)
 -- Scott Moser <email address hidden> Thu, 20 Sep 2012 09:18:20 -0400

Changed in cloud-init (Ubuntu):
status: Confirmed → Fix Released
Scott Moser (smoser)
Changed in cloud-init (Ubuntu):
importance: Undecided → Critical
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.