Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chef server core 12.0 rc6 rpm thinks its newer than ga #40

Closed
andrewelizondo opened this issue Dec 8, 2014 · 4 comments
Closed

chef server core 12.0 rc6 rpm thinks its newer than ga #40

andrewelizondo opened this issue Dec 8, 2014 · 4 comments

Comments

@andrewelizondo
Copy link

Attempting to upgrade from chef server 12 rc6 to the ga release prompted the following.

$ rpm -Uvh chef-server-core-12.0.0-1.el6.x86_64.rpm
warning: chef-server-core-12.0.0-1.el6.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 83ef826a: NOKEY
Preparing... ########################################### [100%]
package chef-server-core-12.0.0_rc.6-1.el6.x86_64 (which is newer than chef-server-core-12.0.0-1.el6.x86_64) is already installed

@sean-horn
Copy link
Contributor

I have also seen this happen on CentOS 6.3. The resulting installed server seems to work ok, if you force it with

rpm -Uvh --oldpackage chef-server-core-12.0.0-1.el6.x86_64.rpm

Here is the package info for both packages

[vagrant@localhost ~]$ rpm -qai -f chef-server-core-12.0.0_rc.6-1.el6.x86_64.rpm
Name        : chef-server-core             Relocations: /
Version     : 12.0.0_rc.6                       Vendor: @ip-172-21-2-208.us-west-2.compute.internal
Release     : 1.el6                         Build Date: Tue 11 Nov 2014 12:26:08 AM UTC
Install Date: (not installed)               Build Host: ip-172-21-2-208.us-west-2.compute.internal
Group       : default                       Source RPM: chef-server-core-12.0.0_rc.6-1.el6.src.rpm
Size        : 1295049470                       License: unknown
Signature   : DSA/SHA1, Tue 11 Nov 2014 12:29:32 AM UTC, Key ID 2940aba983ef826a
Packager    : Chef Software, Inc.
URL         : http://www.getchef.com
Summary     : The full stack of chef-server
Description :
The full stack of chef-server

[vagrant@localhost ~]$ rpm -qai -f chef-server-core-12.0.0-1.el6.x86_64.rpm
Name        : chef-server-core             Relocations: /
Version     : 12.0.0                            Vendor: @ip-172-21-2-166.us-west-2.compute.internal
Release     : 1.el6                         Build Date: Tue 25 Nov 2014 04:12:57 PM UTC
Install Date: (not installed)               Build Host: ip-172-21-2-166.us-west-2.compute.internal
Group       : default                       Source RPM: chef-server-core-12.0.0-1.el6.src.rpm
Size        : 1294877060                       License: unknown
Signature   : DSA/SHA1, Tue 25 Nov 2014 04:16:25 PM UTC, Key ID 2940aba983ef826a
Packager    : Chef Software, Inc.
URL         : http://www.getchef.com
Summary     : The full stack of chef-server
Description :
The full stack of chef-server

@sdelano
Copy link
Contributor

sdelano commented May 13, 2015

@stevendanna @schisamo - I know we've gone a bit of the ways towards addressing this issue, but where do we currently stand?

  • Will RC releases still show up as being newer than the GA releases?
  • What about nightlies with datestamps?

@schisamo
Copy link
Contributor

This was fixed with: chef/omnibus@0d5e3d1

From what I can tell CS 12.0.3+ should be G2G.

@stevendanna
Copy link
Contributor

I'm going to close this out. Our packaging infrastructure has changed substantially from the time this was filed and we believe this issue to be resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants