** Description changed:

- As per https://bugs.launchpad.net/juju-core/+bug/1407699/comments/4,
- cloud-images-utils cannot be installed on precise. This is blocking the
- release of Juju 1.22, as that needs to have cloud-images-utils
- available, and tries to apt-get install it during cloud init, but the
- apt install doesn't go ahead due to the above problem.
+ [Begin SRU Template]
+ [Impact] 
+ Due to the broken use of 'Conflicts' rather than 'Breaks', if user runs:
+   apt-get install cloud-image-utils
+ then any package that depended on cloud-utils (specifically cloud-init) will 
be removed by apt.
+ 
+ This affects juju's use specifically as described in comment 1.
+ 
+ [Test Case]
+ Test case is not completely trivial, as you need a package installed that 
depends on cloud-utils without an '| cloud-image-utils'.
+ 
+ An older version of cloud-init would suffice, or using the cloud-tools
+ archive with precise level packages as described in comment 1.
+ 
+ # with cloud-tools archive
+  # launch fresh cloud image of trusty
+  $ sudo apt-add-repository -y cloud-archive:tools
+  $ sudo apt-get update -qy
+  $ apt-get install --dry-run -q cloud-image-utils
+ 
+ # from precise trying to get newer cloud-tools
+  # launch fresh cloud image of precise
+  $ echo "deb http://archive.ubuntu.com/ubuntu/ trusty main" |
+     sudo tee -a /etc/apt/sources.list
+  $ sudo apt-get update -qy
+  $ sudo apt-get install --dry-run -q cloud-image-utils
+ 
+ [Regression Potential] 
+ This was a bug and this fix should only be positive.  Possible regressions 
are in other bugs like this, where installation of one package conflicts or 
causes another to be uninstallable/not-upgradable.
+ 
+ Other packages that depend on cloud-utils per 'apt-cache-rdepends' are
+ 
+   cloud-initramfs-growroot, bikeshed, lxc-templates, cloud-init, juju-local
+   uvtool-libvirt
+ 
+ 
+ [End SRU Template]
+ 
+ === Original Bug ==
+ As per https://bugs.launchpad.net/juju-core/+bug/1407699/comments/4, 
cloud-images-utils cannot be installed on precise. This is blocking the release 
of Juju 1.22, as that needs to have cloud-images-utils available, and tries to 
apt-get install it during cloud init, but the apt install doesn't go ahead due 
to the above problem.
  
  As per the above comment:
  
  <smoser> we can fix that with a packaging change to cloud-init in precise.
  <smoser> to depend on cloud-image-utils | cloud-utils
  
  Could we please get that packaging change done and the new cloud-init
  apckage propagated to the archives?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1418568

Title:
  cloud-image-utils should Break, not Conflict with cloud-utils

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-utils/+bug/1418568/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to