Uploaded image for project: 'Puppet Agent'
  1. Puppet Agent
  2. PA-2134

puppet-agent package does not conflicts with puppet package


    • Type: Bug
    • Status: Accepted
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: puppet-agent 5.5.4
    • Fix Version/s: None
    • Component/s: Packaging
    • Labels:
    • Template:
    • Team:
      Platform OS
    • Method Found:
      Needs Assessment
    • QA Risk Assessment:
      Needs Assessment


      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:
      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:
      E: Sub-process /usr/bin/dpkg returned an error code (1) 


      # apt-cache policy 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




            • Assignee:
              waipeng Jake Yip
            • Votes:
              2 Vote for this issue
              4 Start watching this issue


              • Created:

                Zendesk Support