Project

General

Profile

Actions

Bug #2806

closed

On SLES, upgrade from 2.3 to 2.4.0~beta3 doesn't seem to remove rudder-cfengine-community package

Added by Nicolas PERRON over 12 years ago. Updated over 9 years ago.

Status:
Released
Priority:
1 (highest)
Assignee:
Jonathan CLARKE
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

Here is the latest packages in 2.3 before any update:

server:~ # zypper search -i -s rudder
Loading repository data...
Reading installed packages...

S | Name                      | Type    | Version                            | Arch   | Repository       
--+---------------------------+---------+------------------------------------+--------+------------------
i | rudder-cfengine-community | package | 1344830309:2.3.9.rc1.git-1.SLES.11 | x86_64 | (System Packages)
i | rudder-inventory-endpoint | package | 1344828384:2.3.9.rc1.git-1.SLES.11 | noarch | (System Packages)
i | rudder-inventory-ldap     | package | 1344829610:2.3.9.rc1.git-1.SLES.11 | x86_64 | (System Packages)
i | rudder-jetty              | package | 1344828931:2.3.9.rc1.git-1.SLES.11 | noarch | (System Packages)
i | rudder-policy-templates   | package | 1344829047:2.3.9.rc1.git-1.SLES.11 | noarch | (System Packages)
i | rudder-reports            | package | 1344828986:2.3.9.rc1.git-1.SLES.11 | noarch | (System Packages)
i | rudder-server-root        | package | 1344908199:2.3.9.rc1.git-1.SLES.11 | noarch | (System Packages)
i | rudder-webapp             | package | 1344826960:2.3.9.rc1.git-1.SLES.11 | noarch | (System Packages)

Zypper seems to remove only rudder-policy-templates:

server:~ # zypper up
Loading repository data...
Reading installed packages...

The following package updates will NOT be installed:

The following NEW packages are going to be installed:
  db43 rudder-agent rudder-techniques 

The following package is going to be REMOVED:
  rudder-policy-templates 

The following packages are going to be upgraded:
  rudder-inventory-endpoint rudder-inventory-ldap rudder-jetty rudder-reports rudder-server-root rudder-webapp 

The following packages are not supported by their vendor:
  db43 rudder-agent rudder-inventory-endpoint rudder-inventory-ldap rudder-jetty rudder-reports rudder-server-root rudder-techniques rudder-webapp 

6 packages to upgrade, 3 new, 1 to remove.
Overall download size: 132.3 MiB. After the operation, additional 115.0 MiB will be used.
[...]

And Finally, here are the list of packages still installed:

server:~ # zypper search -i -s rudder
Loading repository data...
Reading installed packages...

S | Name                      | Type    | Version                              | Arch   | Repository            
--+---------------------------+---------+--------------------------------------+--------+-----------------------
i | rudder-agent              | package | 1344922317:2.4.0.beta3.git-1.SLES.11 | x86_64 | Rudder 2.4 Nightly RPM
i | rudder-cfengine-community | package | 1344830309:2.3.9.rc1.git-1.SLES.11   | x86_64 | (System Packages)     
i | rudder-inventory-endpoint | package | 1344921122:2.4.0.beta3.git-1.SLES.11 | noarch | Rudder 2.4 Nightly RPM
i | rudder-inventory-ldap     | package | 1344922133:2.4.0.beta3.git-1.SLES.11 | x86_64 | Rudder 2.4 Nightly RPM
i | rudder-jetty              | package | 1344921434:2.4.0.beta3.git-1.SLES.11 | noarch | Rudder 2.4 Nightly RPM
i | rudder-reports            | package | 1344921467:2.4.0.beta3.git-1.SLES.11 | noarch | Rudder 2.4 Nightly RPM
i | rudder-server-root        | package | 1344921478:2.4.0.beta3.git-1.SLES.11 | noarch | Rudder 2.4 Nightly RPM
i | rudder-techniques         | package | 1344922049:2.4.0.beta3.git-1.SLES.11 | noarch | Rudder 2.4 Nightly RPM
i | rudder-webapp             | package | 1344921496:2.4.0.beta3.git-1.SLES.11 | noarch | Rudder 2.4 Nightly RPM

Since 2.4.0~beta3, rudder-cfengine-community is replaced by ruder-agent and should be removed, like rudder-policy-templates was replaced by rudder-techniques.

Both of them have in their spec files theses instructions: Provides and Obsoletes

For rudder-techniques (which remove rudder-policy-templates by zypper):

# The following lines allow this package (rudder-techniques) to 
# replace the older rudder-policy-templates package.
# See http://wiki.mandriva.com/en/Development/Howto/RPM_Advanced#Renaming_a_package
Provides: rudder-policy-templates
Obsoletes: rudder-policy-templates

For rudder-agent (which doesn't remove rudder-cfengine-community by zypper):

# Replaces rudder-cfengine-community since 2.4.0~beta3
Provides: rudder-cfengine-community
Obsoletes: rudder-cfengine-communtiy

Actions #1

Updated by Jonathan CLARKE over 12 years ago

  • Status changed from New to In progress
  • % Done changed from 0 to 50

Nicolas Perron wrote:

Provides: rudder-cfengine-community
Obsoletes: rudder-cfengine-communtiy

I think I've found the problem: a typo in "communt*iy*". Fixing, but still needs testing.

Actions #2

Updated by Jonathan CLARKE over 12 years ago

  • Status changed from In progress to Pending technical review
  • % Done changed from 50 to 100

Applied in changeset commit:be7a92f11f704ea0c9e013f3754de66f569691d6.

Actions #3

Updated by Jonathan CLARKE about 12 years ago

  • Status changed from Pending technical review to Released
  • Assignee changed from Nicolas PERRON to Jonathan CLARKE

Technical review is trivial, validating myself.

Actions #4

Updated by Nicolas PERRON almost 12 years ago

  • Project changed from Rudder to 34
  • Category deleted (11)
Actions #5

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