[PA-2134] puppet-agent package does not conflicts with puppet package Created: 2018/07/29  Updated: 2018/08/07

Status: Accepted
Project: Puppet Agent
Component/s: Packaging
Affects Version/s: puppet-agent 5.5.4
Fix Version/s: None

Type: Bug Priority: Normal
Reporter: Jake Yip Assignee: Unassigned
Resolution: Unresolved Votes: 1
Labels: packaging, ubuntu
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Team: Platform OS
Method Found: Needs Assessment
QA Risk Assessment: Needs Assessment

 Description   

Puppet Version: 5.5.4
Puppet Server Version:
OS Name/Version: Ubuntu 18.04

Bionic packages puppet agent as `puppet` package by default, whereas PuppetLabs' package name is puppet-agent. These two packages should conflict each other, but do not

Desired Behavior:

**When installing puppet-agent, remove puppet

Actual Behavior:

puppet is not uninstalled, leading to:

# apt install puppet-agent
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  puppet-agent
0 to upgrade, 1 to newly install, 0 to remove and 46 not to upgrade.
Need to get 0 B/17.3 MB of archives.
After this operation, 97.7 MB of additional disk space will be used.
(Reading database ... 60334 files and directories currently installed.)
Preparing to unpack .../puppet-agent_5.5.4-1bionic_amd64.deb ...
Unpacking puppet-agent (5.5.4-1bionic) ...
dpkg: error processing archive /var/cache/apt/archives/puppet-agent_5.5.4-1bionic_amd64.deb (--unpack):
 trying to overwrite '/lib/systemd/system/puppet.service', which is also in package puppet 5.4.0-2ubuntu3
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/puppet-agent_5.5.4-1bionic_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1) 

 

# apt-cache policy puppet-agent
puppet-agent:
  Installed: (none)
  Candidate: 5.5.4-1bionic
  Version table:
     5.5.4-1bionic 500
        500 http://apt.puppetlabs.com bionic/puppet5 amd64 Packages
     5.5.3-1bionic 500
        500 http://apt.puppetlabs.com bionic/puppet5 amd64 Packages
     5.5.2-1bionic 500
        500 http://apt.puppetlabs.com bionic/puppet5 amd64 Packages
# dpkg -l | grep puppet
ii  puppet                               5.4.0-2ubuntu3                     all          configuration management system
ii  puppet5-release                      5.0.0-2bionic                      all          Release packages for the Puppet5 repository



 Comments   
Comment by Jake Yip [ 2018/07/29 ]

Sorry for the multiple changes, trying to work out why Jira is jumbling up all my formatting and didn't realise it saves everything I click out of the textfield!

Comment by Branan Riley [ 2018/07/30 ]

This was an intentional decision, to allow phased migration from Puppet 3 to 4. Now that distros are packaging newer Puppet versions, we may want to revisit that.

Comment by Branan Riley [ 2018/08/07 ]

Whoops, I just actually read the body of this and see that they updated the service name to match ours, which does indeed conflict. I guess our hands are tied there :/

Generated at Fri Dec 13 07:18:40 PST 2019 using JIRA 7.7.1#77002-sha1:e75ca93d5574d9409c0630b81c894d9065296414.