Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-5539

circular dependent RPM packages can't be uninstalled

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Duplicate
    • Affects Version/s: PUP 2.7.25, PUP 3.7.2
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      puppet master on Debian jessie, with Debian's packaged version of puppet using mod_passenger.

      puppet client on CentOS 6.7, with puppet RPM packages from EPEL (2.7.26).

    • Template:

      Description

      With the following manifest snippet:

      class gui {
      $packages_unwanted = [
          "gnome-media",
          "gnome-media-libs",
      ]
       
      package{$packages_unwanted:
          ensure => absent,
          provider => yum,
      }
      }
      

      I get the following when running puppet agent --test on a system that already has the two packages installed:

      wouterv@bruct06-cal:~$ sudo puppet agent --test
      [sudo] password for wouterv: 
      notice: Ignoring --listen on onetime run
      info: Retrieving plugin
      info: Loading facts in /var/lib/puppet/lib/facter/ht.rb
      info: Loading facts in /var/lib/puppet/lib/facter/raid.rb
      info: Caching catalog for bruct06-cal.office.caliopa.com
      info: Applying configuration version 'p3bp-40-g22f6004'
      err: /Stage[main]/Gui/Package[gnome-media]/ensure: change from 2.29.91-6.el6 to absent failed: Execution of '/bin/rpm -e gnome-media-2.29.91-6.el6.x86_64' returned 1: error: Failed dependencies:
      	gnome-media = 2.29.91-6.el6 is needed by (installed) gnome-media-libs-2.29.91-6.el6.x86_64
       
      err: /Stage[main]/Gui/Package[gnome-media-libs]/ensure: change from 2.29.91-6.el6 to absent failed: Execution of '/bin/rpm -e gnome-media-libs-2.29.91-6.el6.x86_64' returned 1: error: Failed dependencies:
      	libgnome-media-profiles.so.0()(64bit) is needed by (installed) gnome-media-2.29.91-6.el6.x86_64
      

      it may be that this is fixed in more recent versions of puppet (I have no way to check). If so, please feel free to close this issue.

        Attachments

          Issue Links

            Activity

              jsd-sla-details-panel

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  wouter Wouter Verhelst
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Zendesk Support