Issue #19112 has been updated by Matthaus Owens.

Status changed from Investigating to In Topic Branch Pending Review

----------------------------------------
Bug #19112: Cannot update puppet package from Debian Wheezy to Puppetlabs 
package
https://projects.puppetlabs.com/issues/19112#change-92523

* Author: Bernhard Schmidt
* Status: In Topic Branch Pending Review
* Priority: Normal
* Assignee: Matthaus Owens
* Category: Debian
* Target version: 
* Affected Puppet version: 3.1.0
* Keywords: 
* Branch: 
----------------------------------------
Debian Wheezy systems that have the Debian puppet package installed cannot be 
updated to the versions from apt.puppetlabs.com without error

    Selecting previously unselected package libruby.
    (Reading database ... 35636 files and directories currently installed.)
    Unpacking libruby (from .../archives/libruby_4.9_all.deb) ...
    Selecting previously unselected package libjson-ruby.
    Unpacking libjson-ruby (from .../libjson-ruby_1.7.3-2_all.deb) ...
    Selecting previously unselected package hiera.
    Unpacking hiera (from .../hiera_1.1.2-1puppetlabs1_all.deb) ...
    Preparing to replace puppet 2.7.18-2 (using 
.../puppet_3.1.0-1puppetlabs1_all.deb) ...
    [ ok ] Stopping puppet agent.
    Unpacking replacement puppet ...
    dpkg: error processing 
/var/cache/apt/archives/puppet_3.1.0-1puppetlabs1_all.deb (--unpack):
    trying to overwrite '/usr/share/man/man8/puppet-help.8.gz', which is also 
in package puppet-common 2.7.18-2
    [....] Starting puppet agent
    puppet not configured to start, please edit /etc/default/puppet to enable
    . ok 
    Preparing to replace puppet-common 2.7.18-2 (using 
.../puppet-common_3.1.0-1puppetlabs1_all.deb) ...
    Unpacking replacement puppet-common ...
    Processing triggers for man-db ...
    Errors were encountered while processing:
    /var/cache/apt/archives/puppet_3.1.0-1puppetlabs1_all.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    A package failed to install.  Trying to recover:
    Setting up libruby (4.9) ...
    Setting up hiera (1.1.2-1puppetlabs1) ...
    Setting up libjson-ruby (1.7.3-2) ...
    Setting up puppet-common (3.1.0-1puppetlabs1) ...
    Installing new version of config file 
/etc/logcheck/ignore.d.server/puppet-common ...

Apparently the file /usr/share/man/man8/puppet-help.8.gz is in Debian's 
puppet-common, but in Puppetlabs' puppet.

The second attempt of installing works because puppet-common has already been 
upgraded, thus not shipping the package anymore.

Please either change your paths to match those in the Wheezy package or declare 
corresponding Breaks/Replaces lines so the file can migrate.

http://www.debian.org/doc/debian-policy/ch-relationships.html#s-replaces


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to