Jira (PUP-5539) circular dependent RPM packages can't be uninstalled

2020-03-27 Thread Josh Cooper (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper commented on  PUP-5539  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: circular dependent RPM packages can't be uninstalled   
 

  
 
 
 
 

 
 Reopened 4 years later :facepalm:  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)  
 
 

 
   
 

  
 

  
 

   





-- 
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 puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.106812.1448282237000.23178.1585345740040%40Atlassian.JIRA.


Jira (PUP-5539) circular dependent RPM packages can't be uninstalled

2020-03-27 Thread Josh Cooper (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-5539  
 
 
  circular dependent RPM packages can't be uninstalled   
 

  
 
 
 
 

 
Change By: 
 Josh Cooper  
 
 
Team: 
 Night's Watch  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)  
 
 

 
   
 

  
 

  
 

   





-- 
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 puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.106812.1448282237000.23179.1585345740083%40Atlassian.JIRA.


Jira (PUP-5539) circular dependent RPM packages can't be uninstalled

2020-03-31 Thread Mihai Buzgau (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mihai Buzgau updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-5539  
 
 
  circular dependent RPM packages can't be uninstalled   
 

  
 
 
 
 

 
Change By: 
 Mihai Buzgau  
 
 
Sprint: 
 PR - Triage  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)  
 
 

 
   
 

  
 

  
 

   





-- 
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 puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.106812.1448282237000.25654.1585666080057%40Atlassian.JIRA.


Jira (PUP-5539) circular dependent RPM packages can't be uninstalled

2020-11-05 Thread Bogdan Irimie (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Bogdan Irimie updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-5539  
 
 
  circular dependent RPM packages can't be uninstalled   
 

  
 
 
 
 

 
Change By: 
 Bogdan Irimie  
 
 
Sprint: 
  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)  
 
 

 
   
 

  
 

  
 

   





-- 
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 puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.106812.1448282237000.72345.1604566261312%40Atlassian.JIRA.


Jira (PUP-5539) circular dependent RPM packages can't be uninstalled

2020-11-05 Thread Bogdan Irimie (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Bogdan Irimie updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-5539  
 
 
  circular dependent RPM packages can't be uninstalled   
 

  
 
 
 
 

 
Change By: 
 Bogdan Irimie  
 
 
Sprint: 
 ready for triage  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)  
 
 

 
   
 

  
 

  
 

   





-- 
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 puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.106812.1448282237000.72407.1604566321339%40Atlassian.JIRA.


Jira (PUP-5539) circular dependent RPM packages can't be uninstalled

2021-10-21 Thread Ciprian Badescu (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ciprian Badescu commented on  PUP-5539  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: circular dependent RPM packages can't be uninstalled   
 

  
 
 
 
 

 
 Based on https://puppet.com/docs/puppet/7/types/package.html#package-provider-yum:  
 
 
 
 
 Using this provider's uninstallable feature will not remove dependent packages. To  
 
 
 remove dependent packages with this provider use the purgeable feature, but note this  
 
 
 feature is destructive and should be used with the utmost care.
  
 
 
 
  I think the ticket can be closed    
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To u

Jira (PUP-5539) circular dependent RPM packages can't be uninstalled

2021-10-29 Thread Ciprian Badescu (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ciprian Badescu updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-5539  
 
 
  circular dependent RPM packages can't be uninstalled   
 

  
 
 
 
 

 
Change By: 
 Ciprian Badescu  
 
 
Sprint: 
 ready for triage  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)  
 
 

 
   
 

  
 

  
 

   





-- 
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 puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.106812.1448282237000.165865.1635499020032%40Atlassian.JIRA.


Jira (PUP-5539) circular dependent RPM packages can't be uninstalled

2021-11-11 Thread Josh Cooper (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper commented on  PUP-5539  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: circular dependent RPM packages can't be uninstalled   
 

  
 
 
 
 

 
 Agree this is now handled via ensure => purged, see my comment in https://tickets.puppetlabs.com/browse/PUP-4647?focusedCommentId=836039&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-836039  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)  
 
 

 
   
 

  
 

  
 

   





-- 
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 puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.106812.1448282237000.5335.1636657020034%40Atlassian.JIRA.


Jira (PUP-5539) circular dependent RPM packages can't be uninstalled

2015-11-23 Thread Wouter Verhelst (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Wouter Verhelst created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-5539 
 
 
 
  circular dependent RPM packages can't be uninstalled  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Affects Versions:
 

 PUP 3.7.2, PUP 2.7.25 
 
 
 

Assignee:
 

 Unassigned 
 
 
 

Created:
 

 2015/11/23 4:37 AM 
 
 
 

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). 
 
 
 

Priority:
 
  Normal 
 
 
 

Reporter:
 
 Wouter Verhelst 
 
 
 
 
 
 
 
 
 
 
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]

Jira (PUP-5539) circular dependent RPM packages can't be uninstalled

2015-11-23 Thread Josh Cooper (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Josh Cooper commented on  PUP-5539 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: circular dependent RPM packages can't be uninstalled  
 
 
 
 
 
 
 
 
 
 
Hi Wouter Verhelst This was first reported in https://projects.puppetlabs.com/issues/1935 over 7 years ago, and was closed as a dup of https://projects.puppetlabs.com/issues/2198, because we'd like puppet to process packages in batches (for a variety of reasons, including handling this case). The redmine ticket 2198 was migrated to JIRA as PUP-1061, so I'm going to close this ticket as a dup of that one. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-5539) circular dependent RPM packages can't be uninstalled

2015-11-23 Thread Wouter Verhelst (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Wouter Verhelst commented on  PUP-5539 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: circular dependent RPM packages can't be uninstalled  
 
 
 
 
 
 
 
 
 
 
Hi Josh, 
While I agree that PUP-1061 would fix the issue, I'm not sure I would call it a duplicate, as this issue is not reproducible on my Debian system. Observe: 
wouter@gangtai:~/pup-5539$ apt-cache show 'pup-5539-*' Package: pup-5539-2 Status: install ok installed Priority: optional Section: misc Installed-Size: 9 Maintainer: Wouter Verhelst  Architecture: all Multi-Arch: foreign Version: 1.0 Depends: pup-5539-1 Description: Demo for 

PUP-5539
 - 2 This package demonstrates circular dependencies in the context of 

PUP-5539
 Description-md5: e16ff26ca636fb3ca372318d2193d8d7 
Package: pup-5539-1 Status: install ok installed Priority: optional Section: misc Installed-Size: 9 Maintainer: Wouter Verhelst  Architecture: all Multi-Arch: foreign Version: 1.0 Depends: pup-5539-2 Description: Demo for 

PUP-5539
 - 1 This package demonstrates circular dependencies in the context of 

PUP-5539
 Description-md5: a471646946df2c687ad3933e9611e645 
wouter@gangtai:~/pup-5539$ cat remove.pp  $packages = [ "pup-5539-1", "pup-5539-2" ] package  { $packages: ensure => absent, } 
wouter@gangtai:~/pup-5539$ sudo puppet apply --test remove.pp  Password:  Notice: Compiled catalog for gangtai.grep.be in environment production in 0.26 seconds Info: Applying configuration version '1448308191' Notice: /Stage[main]/Main/Package[pup-5539-2]/ensure: removed Error: Execution of '/usr/bin/apt-get -y -q remove pup-5539-1' returned 100: Reading package lists... Building dependency tree... Reading state information... E: Unable to locate package pup-5539-1 Error: /Stage[main]/Main/Package[pup-5539-1]/ensure: change from 1.0 to absent failed: Execution of '/usr/bin/apt-get -y -q remove pup-5539-1' returned 100: Reading package lists... Building dependency tree... Reading state information... E: Unable to locate package pup-5539-1 Info: Creating state file /var/lib/puppet/state/state.yaml Notice: Finished catalog run in 2.69 seconds wouter@gangtai:~/pup-5539$ dpkg -l pup-5539-1 dpkg-query: no packages found matching pup-5539-1 
While the spurious error about one of the two packages is slightly annoying and might result in false positives, the end result is still that both packages are not installed, exactly what is wanted. A simple way to work around that problem would be to list just one of the packages in the circular dependency; once you've done that, puppet will remove the packages, no problem. 
This is because the apt provider uses apt-get remove to remove a package, rather than calling dpkg directly. In contrast, the yum provider uses the rpm command to remove packages, rather than using yum erase, which will (similarly to apt-get remove) consider dependencies before removal. 
Since I believe that fixing PUP-1061 will require more work than changing the yum provider so that it calls yum erase rather than rpm -e, and since this is a discrepancy in behavi

Jira (PUP-5539) circular dependent RPM packages can't be uninstalled

2015-11-24 Thread Josh Cooper (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Josh Cooper commented on  PUP-5539 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: circular dependent RPM packages can't be uninstalled  
 
 
 
 
 
 
 
 
 
 
 
Since I believe that fixing PUP-1061 will require more work than changing the yum provider so that it calls yum erase rather than rpm -e, and since this is a discrepancy in behaviour between operating systems
 
That's a good point, I'd expect puppet to be consistent either way. Let me reopen this and mark it blocked on PUP-1061. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-5539) circular dependent RPM packages can't be uninstalled

2015-11-24 Thread Josh Cooper (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Josh Cooper updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-5539 
 
 
 
  circular dependent RPM packages can't be uninstalled  
 
 
 
 
 
 
 
 
 

Change By:
 
 Josh Cooper 
 
 
 
 
 
 
 
 
 
 With the following manifest snippet:{ { code:puppet} class gui {$packages_unwanted = ["gnome-media","gnome-media-libs",]package{$packages_unwanted:ensure => absent,provider => yum,}} {code } } I get the following when running {{puppet agent --test}} on a system that already has the two packages installed:{ { noformat} wouterv@bruct06-cal:~$ sudo puppet agent --test[sudo] password for wouterv: notice: Ignoring --listen on onetime runinfo: Retrieving plugininfo: Loading facts in /var/lib/puppet/lib/facter/ht.rbinfo: Loading facts in /var/lib/puppet/lib/facter/raid.rbinfo: Caching catalog for bruct06-cal.office.caliopa.cominfo: 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_64err: /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 {noformat } } 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. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) 
 
 
 
 
  
 
 
 
 
 
  

Jira (PUP-5539) circular dependent RPM packages can't be uninstalled

2015-11-26 Thread Wouter Verhelst (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Wouter Verhelst commented on  PUP-5539 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: circular dependent RPM packages can't be uninstalled  
 
 
 
 
 
 
 
 
 
 
Hi Josh, 
This issue is still listed as "duplicate"/"closed", although blocked on PUP-1061. Is this a misunderstanding on my end of how the system is supposed to work, or an oversight on yours?  
–  It is easy to love a country that is famous for chocolate and beer 
 – Barack Obama, speaking in Brussels, Belgium, 2014-03-26 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.