← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 785570] Re: Use distro agnostic way of install/update packages

 

Distros now implement their own method of installing packages. There are
no plans to change this.

** Changed in: cloud-init
       Status: Triaged => Won't Fix

-- 
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/785570

Title:
  Use distro agnostic way of install/update packages

Status in cloud-init:
  Won't Fix

Bug description:
  CloudConfig.install_packages and CloudConfig.update_package_sources
  could both be made more distro-agnostic by calling PackageKit's pkcon
  program instead of apt-get.  It should be a drop-in replacement like
  so:

  apt-get upgrade -> pkcon upgrade
  apt-get install -> pkcon install
  apt-get update -> pkcon refresh

  AFAICT, pkcon's "-y" option is equivalent to passing "--force-
  confdef", "--force-confold" and "--assume-yes" to the appropriate
  programs.  Passing "-p" to pkcon makes its output suitable for
  logging.  Unfortunately there doesn't seem to be an option to silence
  its output completely, but its stdout could always be dropped.

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