← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1418568] Re: depends on cloud-utils without knowledge of cloud-image-utils

 

This was found in bug 1407699.
 
 * on precise juju uses the cloud tools archive (https://wiki.ubuntu.com/ServerTeam/CloudToolsArchive)
 * precise's version of cloud-init depends on cloud-utils
 * Juju began installing cloud-image-utils.
 * cloud-image-utils conflicts with cloud-utils. cloud-image-utils was just a re-packaging for dependency shrink and so it conflicts with older versions of cloud-utils which would include the same set of files. 

To reproduce, launch precise instance:
$ sudo apt-add-repository -y cloud-archive:tools
$ sudo apt-get update -qy
$ apt-get install --dry-run -q cloud-image-utils
NOTE: This is only a simulation!
      apt-get needs root privileges for real execution.
      Keep also in mind that locking is deactivated,
      so don't depend on the relevance to the real current situation!
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  distro-info distro-info-data genisoimage libaio1 libnspr4 libnss3 librados2
  librbd1 python-distro-info qemu-utils
Suggested packages:
  shunit2 wodim cdrkit-doc
The following packages will be REMOVED:
  cloud-init cloud-initramfs-growroot cloud-utils
The following NEW packages will be installed:
  cloud-image-utils distro-info distro-info-data genisoimage libaio1 libnspr4
  libnss3 librados2 librbd1 python-distro-info qemu-utils
0 upgraded, 11 newly installed, 3 to remove and 9 not upgraded.
Remv cloud-init [0.6.3-0ubuntu1.15]
Remv cloud-initramfs-growroot [0.4ubuntu1]
Remv cloud-utils [0.25-0ubuntu5.1]
Inst libaio1 (0.3.109-2ubuntu1 Ubuntu:12.04/precise [amd64])
Inst libnspr4 (4.10.7-0ubuntu0.12.04.1 Ubuntu:12.04/precise-updates [amd64])
Inst libnss3 (3.17.1-0ubuntu0.12.04.2 Ubuntu:12.04/precise-updates [amd64])
Inst distro-info-data (0.8ubuntu0.7 Ubuntu:12.04/precise-updates [all])
Inst distro-info (0.8.2 Ubuntu:12.04/precise [amd64])
Inst genisoimage (9:1.1.11-2ubuntu2 Ubuntu:12.04/precise [amd64])
Inst librados2 (0.41-1ubuntu2.1 Ubuntu:12.04/precise-updates [amd64])
Inst librbd1 (0.41-1ubuntu2.1 Ubuntu:12.04/precise-updates [amd64])
Inst python-distro-info (0.8.2 Ubuntu:12.04/precise [all])
Inst qemu-utils (1.0+noroms-0ubuntu14.21 Ubuntu:12.04/precise-updates [amd64])
Inst cloud-image-utils (0.27-0ubuntu9~ctools0 precise-updates [all])
Conf libaio1 (0.3.109-2ubuntu1 Ubuntu:12.04/precise [amd64])
Conf libnspr4 (4.10.7-0ubuntu0.12.04.1 Ubuntu:12.04/precise-updates [amd64])
Conf libnss3 (3.17.1-0ubuntu0.12.04.2 Ubuntu:12.04/precise-updates [amd64])
Conf distro-info-data (0.8ubuntu0.7 Ubuntu:12.04/precise-updates [all])
Conf distro-info (0.8.2 Ubuntu:12.04/precise [amd64])
Conf genisoimage (9:1.1.11-2ubuntu2 Ubuntu:12.04/precise [amd64])
Conf librados2 (0.41-1ubuntu2.1 Ubuntu:12.04/precise-updates [amd64])
Conf librbd1 (0.41-1ubuntu2.1 Ubuntu:12.04/precise-updates [amd64])
Conf python-distro-info (0.8.2 Ubuntu:12.04/precise [all])
Conf qemu-utils (1.0+noroms-0ubuntu14.21 Ubuntu:12.04/precise-updates [amd64])
Conf cloud-image-utils (0.27-0ubuntu9~ctools0 precise-updates [all])


** Also affects: cloud-initramfs-tools (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: cloud-initramfs-tools (Ubuntu)
       Status: New => Fix Released

** Changed in: cloud-initramfs-tools (Ubuntu Precise)
       Status: New => Confirmed

** Changed in: cloud-initramfs-tools (Ubuntu Precise)
   Importance: Undecided => Medium

** Changed in: cloud-initramfs-tools (Ubuntu)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1418568

Title:
  depends on cloud-utils without knowledge of cloud-image-utils

Status in Init scripts for use on cloud images:
  Fix Released
Status in cloud-init package in Ubuntu:
  Fix Released
Status in cloud-initramfs-tools package in Ubuntu:
  Fix Released
Status in cloud-init source package in Precise:
  Confirmed
Status in cloud-initramfs-tools source package in Precise:
  Confirmed

Bug description:
  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?

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


References