[Pkg-puppet-devel] Bug#532398: trying to pull packages from backports may introduce 'dependency hell'

Jayen Ashar jayen at science.unsw.edu.au
Tue Jun 9 05:58:29 UTC 2009


Package: puppet
Version: 0.24.8-1~bpo50+1
Severity: normal

I'm trying to push out openoffice 3 from lenny backports to some lenny 
machines, but it appears that I have to explicitly list each version of each 
package, thereby introducing 'dependency hell.'  perhaps puppet could use 
aptitude instead of apt-get?

Example:
In my pp file, I have:
class debian_lenny_openoffice {
  #20090609 oo3
  $desired = "1:3.0.1-11~bpo50+2"
  package { 
    "mozilla-openoffice.org"              : ensure => $desired;
    "openoffice.org-base-core"            : ensure => $desired;
    "openoffice.org-base"                 : ensure => $desired;
    "openoffice.org-calc"                 : ensure => $desired;
    "openoffice.org-common"               : ensure => $desired;
    "openoffice.org-core"                 : ensure => $desired;
    "openoffice.org-draw"                 : ensure => $desired;
    "openoffice.org-dtd-officedocument1.0": ensure => $desired;
    "openoffice.org-emailmerge"           : ensure => $desired;
    "openoffice.org"                      : ensure => $desired;
    "openoffice.org-evolution"            : ensure => $desired;
    "openoffice.org-filter-binfilter"     : ensure => $desired;
    "openoffice.org-filter-mobiledev"     : ensure => $desired;
    "openoffice.org-gnome"                : ensure => $desired;
    "openoffice.org-gtk"                  : ensure => $desired;
    "openoffice.org-help-en-gb"           : ensure => $desired;
    "openoffice.org-help-en-us"           : ensure => $desired;
    "openoffice.org-impress"              : ensure => $desired;
    "openoffice.org-java-common"          : ensure => $desired;
    "openoffice.org-kab"                  : ensure => $desired;
    "openoffice.org-kde"                  : ensure => $desired;
    "openoffice.org-l10n-en-gb"           : ensure => $desired;
    "openoffice.org-math"                 : ensure => $desired;
    "openoffice.org-officebean"           : ensure => $desired;
    "openoffice.org-report-builder-bin"   : ensure => $desired;
    "openoffice.org-style-andromeda"      : ensure => $desired;
    "openoffice.org-style-crystal"        : ensure => $desired;
    "openoffice.org-style-galaxy"         : ensure => $desired;
    "openoffice.org-style-hicontrast"     : ensure => $desired;
    "openoffice.org-style-industrial"     : ensure => $desired;
    "openoffice.org-style-tango"          : ensure => $desired;
    "openoffice.org-writer"               : ensure => $desired;

    "openoffice.org-pdfimport": ensure => "0.3.2+OOo3.0.1-11~bpo50+2";
    "openoffice.org-presentation-minimizer": ensure => "1.0+OOo3.0.1-11~bpo50+2";
    "openoffice.org-presenter-console": ensure => "1.0+OOo3.0.1-11~bpo50+2";
    "openoffice.org-report-builder": ensure => "1:1.0.5+OOo3.0.1-11~bpo50+2";
    "openoffice.org-wiki-publisher": ensure => "1.0+OOo3.0.1-11~bpo50+2";
  }
}

But even this list isn't complete enough and gives errors like:
err: //Node[default]/debian_lenny/debian_lenny_openoffice/Package[openoffice.org-core]/ensure: change from 1:2.4.1+dfsg-1 to 1:3.0.1-11~bpo50+2 failed: Could not update: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install openoffice.org-core=1:3.0.1-11~bpo50+2' returned 100: Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  openoffice.org-core: Depends: ure (>= 1.4.1) but 1.4+OOo2.4.1+dfsg-1 is to be installed
E: Broken packages
 at /etc/puppet/manifests/classes/debian_lenny.pp:240


-- System Information:
Debian Release: 5.0.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages puppet depends on:
ii  adduser                       3.110      add and remove users and groups
ii  facter                        1.5.1-0.1  a library for retrieving facts fro
ii  libopenssl-ruby               4.2        OpenSSL interface for Ruby
ii  libruby [libxmlrpc-ruby]      4.2        Libraries necessary to run Ruby 1.
ii  libshadow-ruby1.8             1.4.1-8    Interface of shadow password for R
ii  libxmlrpc-ruby                4.2        transitional dummy package
ii  lsb-base                      3.2-20     Linux Standard Base 3.2 init scrip
ii  ruby                          4.2        An interpreter of object-oriented

Versions of packages puppet recommends:
pn  libaugeas-ruby1.8             <none>     (no description available)
ii  rdoc                          4.2        Generate documentation from ruby s

puppet suggests no packages.

-- no debconf information





More information about the Pkg-puppet-devel mailing list