Bug #1884

The addupdate target on the package installation PT is broken. We should enable it again when possible

Added by Matthieu CERDA almost 3 years ago. Updated about 2 years ago.

Status:Discussion Start date:2011-09-30
Priority:4 Due date:
Assignee:- % Done:

0%

Category:Policy Templates
Target version:Rudder - Ideas (not version specific)
Pull Request:

Description

The addupdate target on the package installation PT is broken. We should enable it again when possible

History

#2 Updated by Jonathan CLARKE almost 3 years ago

  • Target version set to Ideas (2.4 specific)

#3 Updated by François ARMAND almost 3 years ago

  • Target version changed from Ideas (2.4 specific) to 2.4.0~alpha1

#4 Updated by Jonathan CLARKE almost 3 years ago

  • Target version changed from 2.4.0~alpha1 to 2.4.0~alpha2

#5 Updated by Jonathan CLARKE over 2 years ago

  • Target version changed from 2.4.0~alpha2 to 2.4.0~alpha3

#6 Updated by Matthieu CERDA over 2 years ago

  • Status changed from New to Discussion
  • Needs translating set to No

This still seems broken in CFengine, no class gets raised when the package is already installed and up to date.

rudder> Checking if package (nano,*,*) is at the desired state (installed=1,matched=1)
rudder>  -> Package promises to refer to itself as "nano" to the manager
rudder>  -> Package version seems to match criteria
rudder> Checking if latest available version is newer than installed...
rudder> Looking for an installed package older than (nano,*,*)
rudder> Found installed package (nano,2.2.4-1,default)
rudder> Installed package is up to date, not updating

For reference, here is the add flavor output :

rudder> Checking if package (nano,*,*) is at the desired state (installed=1,matched=1)
rudder>  -> Package promises to refer to itself as "nano" to the manager
rudder>  -> Package version seems to match criteria
rudder>  -> Package "nano" already installed, so we never add it again
rudder>  ?> defining promise result class debian_install_kept_nano

#7 Updated by Jonathan CLARKE over 2 years ago

  • Target version changed from 2.4.0~alpha3 to 2.4.0~alpha4

#8 Updated by François ARMAND over 2 years ago

  • Target version changed from 2.4.0~alpha4 to 2.4.0~alpha5

#9 Updated by Jonathan CLARKE over 2 years ago

  • Target version changed from 2.4.0~alpha5 to 2.4.0~alpha6

#10 Updated by Jonathan CLARKE over 2 years ago

  • Target version changed from 2.4.0~alpha6 to 2.4.0~alpha7

#11 Updated by Jonathan CLARKE over 2 years ago

  • Target version changed from 2.4.0~alpha7 to 2.3.8

#12 Updated by Jonathan CLARKE about 2 years ago

  • Target version changed from 2.3.8 to Ideas (2.5 specific)

#13 Updated by Jonathan CLARKE about 2 years ago

  • Target version changed from Ideas (2.5 specific) to Ideas (not version specific)

Also available in: Atom PDF