Feature #1999

Provider "apt" for the package resource can't downgrade

Added by Tim Stoop over 3 years ago. Updated about 2 years ago.

Status:Closed Start date:02/20/2009
Priority:High Due date:
Assignee:Markus Roberts % Done:

100%

Category:package
Target version:2.6.0
Affected Puppet version:0.25.4 Branch:plathrop:ticket/0.25.x/1999
Keywords:apt, apt-get, version, downgrade, package
Votes: 1

Description

To allow apt to downgrade to an older version of a package then the one installed, it needs the —force-yes option. One way around is, is to use the aptitude provider instead. However, it would be great if this option can be added only when a specific version is given for a package.

History

Updated by James Turnbull about 3 years ago

  • Status changed from Unreviewed to Accepted
  • Target version set to 4

Updated by Paul Lathrop over 2 years ago

  • Assignee set to Paul Lathrop

Updated by Paul Lathrop about 2 years ago

  • Priority changed from Low to High
  • % Done changed from 0 to 10
  • Affected Puppet version changed from 0.24.7 to 0.25.4

Setting this to higher-priority because I really need to fix this. :–) I’ve started writing the unit tests.

Updated by James Turnbull about 2 years ago

  • Tracker changed from Bug to Feature

Updated by James Turnbull about 2 years ago

  • Target version changed from 4 to 2.6.0

Paul – if you’ve got code I am happy to target this at Rowlf.

Updated by Paul Lathrop about 2 years ago

James Turnbull wrote:

Paul – if you’ve got code I am happy to target this at Rowlf.

Wow, I hadn’t even seen this update. I have code, but not code I’m ready to release. It got bumped back down in our priority list, but is again near the top. I should have something in the next week or so.

Updated by Paul Lathrop about 2 years ago

  • Status changed from Accepted to In Topic Branch Pending Review
  • % Done changed from 10 to 100
  • Branch set to ticket/0.25.x/1999

I’ve mailed a patch to the mailing list for comment; this is also available on Github:

http://github.com/plathrop/puppet/commits/ticket/0.25.x/1999

Updated by Paul Lathrop about 2 years ago

  • Assignee changed from Paul Lathrop to James Turnbull

Updated by Jesse Wolfe about 2 years ago

  • Assignee changed from James Turnbull to Markus Roberts

Updated by Markus Roberts about 2 years ago

  • Branch changed from ticket/0.25.x/1999 to plathrop:ticket/0.25.x/1999

Updated by Markus Roberts about 2 years ago

  • Status changed from In Topic Branch Pending Review to Closed

Pushed to master in commit:2fae0bded559a23dcab5338dd899e272e0d0678e

Also available in: Atom PDF