-
Notifications
You must be signed in to change notification settings - Fork 24.7k
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
Obsolete pre 7.0 noarch package in rpm #39472
Conversation
This commit makes the rpm metadata indicate the pre 7.0 noarch packages are obsoleted by this package. This fixes an issue where upgrading with yum would cause an error thinking there was nothing to upgrade. closes elastic#39414
Pinging @elastic/es-core-infra |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
This commit makes the rpm metadata indicate the pre 7.0 noarch packages are obsoleted by this package. This fixes an issue where upgrading with yum would cause an error thinking there was nothing to upgrade. closes elastic#39414
This commit makes the rpm metadata indicate the pre 7.0 noarch packages are obsoleted by this package. This fixes an issue where upgrading with yum would cause an error thinking there was nothing to upgrade. closes elastic#39414
@@ -330,6 +331,8 @@ Closure commonRpmConfig(boolean oss) { | |||
packageGroup 'Application/Internet' | |||
requires '/bin/bash' | |||
|
|||
obsoletes packageName, '7.0.0', Flags.LESS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rjernst Could it be that we are missing or need to improve some upgrade test ?
It seems that lack of this should have caused an upgrade to fail.
Might be because there was no conflicts so both got installed ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This commit makes the rpm metadata indicate the pre 7.0 noarch packages are obsoleted by this package. This fixes an issue where upgrading with yum would cause an error thinking there was nothing to upgrade. closes #39414
This commit makes the rpm metadata indicate the pre 7.0 noarch packages are obsoleted by this package. This fixes an issue where upgrading with yum would cause an error thinking there was nothing to upgrade. closes #39414
This commit makes the rpm metadata indicate the pre 7.0 noarch packages
are obsoleted by this package. This fixes an issue where upgrading with
yum would cause an error thinking there was nothing to upgrade.
closes #39414