Project

General

Profile

Actions

Bug #3405

closed

Upgrading techniques with nightly build

Added by Dennis Cabooter over 11 years ago. Updated over 9 years ago.

Status:
Released
Priority:
2
Assignee:
Matthieu CERDA
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

I've upgraded the rudder-techniques package on Ubuntu Precise, and now apt is complaining:

root@rudder-client:/var/rudder/configuration-repository/techniques# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 rudder-webapp : Depends: rudder-techniques (= 2.5.0-precise0) but 2.5.2~rc1~git201304100525-precise0 is installed
E: Unmet dependencies. Try using -f.

What is the best way to upgrade the rudder-techniques package and avoid this "unmet dependencies" error?

Actions #1

Updated by Matthieu CERDA over 11 years ago

  • Project changed from Rudder to 34
  • Status changed from New to 8
  • Assignee set to Matthieu CERDA
  • Priority changed from N/A to 2
  • Target version set to 2.6.0~beta1

It looks like you pulled a recent package (a git version) and are trying to update to a 2.5.0 release.

Basically, rudder-webapp has this dependency: "rudder-techniques (= ${binary:Version})"

Which means it will "attach" itself to the most recent release of rudder-agent.

We should use a ">=" dependency to prevent this.

Actions #2

Updated by Matthieu CERDA over 11 years ago

  • Status changed from 8 to In progress
  • Target version changed from 2.6.0~beta1 to 2.3.12

I'm committing a fix for this in the 2.3 branch, which will be merged on the upper branches afterwards.

To fix the problem temporarily, you can reinstall the 2.5.0-precise0 rudder-techniques package, which will only overwrite your system techniques. You will not lose any recent techniques from the 2.5.2~rc1~git201304100525-precise0 package you installed beside the system ones.

Actions #3

Updated by Matthieu CERDA over 11 years ago

  • Status changed from In progress to Pending technical review
  • Target version changed from 2.3.12 to 2.4.5
  • % Done changed from 0 to 100
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/33

This is only relevant on 2.4+ branches. Retargetting.

PR available ! => https://github.com/Normation/rudder-packages/pull/33

Actions #4

Updated by Matthieu CERDA over 11 years ago

  • Status changed from Pending technical review to Pending release

Applied in changeset commit:891043fcdc2e384d17ad0a3062674a71a6e55ec9.

Actions #5

Updated by Jonathan CLARKE over 11 years ago

Applied in changeset commit:c4f00cde3a232784290c573eb71931d83cec6672.

Actions #6

Updated by Nicolas PERRON over 11 years ago

  • Status changed from Pending release to Released
Actions #7

Updated by Benoît PECCATTE over 9 years ago

  • Project changed from 34 to Rudder
  • Category set to Packaging
Actions

Also available in: Atom PDF