The API Gateway Kong decided to change the name of their Centos package.
For versions up to 1.1 its "kong-community-edition", after that the package name is just "kong".
kong-community-edition.noarch 1.0.2-1 bintray--kong-kong-rpm
kong-community-edition.noarch 1.0.3-1 bintray--kong-kong-rpm
kong-community-edition.noarch 1.1.0rc1-1 bintray--kong-kong-rpm
kong.noarch 1.2.1-1 bintray--kong-kong-rpm
kong.noarch 1.2.2-1 bintray--kong-kong-rpm
kong.x86_64 1.3.0-1 bintray--kong-kong-rpm
Can I somehow tell YUM to upgrade the current installation of kong-community-edition 1.1 to the kong 1.3 package?
I've tried upgrading the currently installed version (1.1.0rc1-1)
yum upgrade kong-community-edition
but it reports that no upgrade is available.
I've also tried to upgrade specifically to the new version
yum upgrade kong-1.3.0-1
but that reports that Kong isn't installed.
I've also tried to use install to install the new version.
yum install kong-1.3.0-1
but that reports conflicts with the files that were created by kong-community-edition.
Is there any way I can tell yum that the version following kong-community-edition-1.1.0rc1-1 is actually kong-1.2.1-1 so I can use yum upgrade.
At the moment the only option I seem to have is to delete the kong-community-edition package and add the kong package fresh
yum remove kong-community-edition
yum install kong
but I was hoping to do an in place upgrade instead.
Answer:
As a user of the packages it can't be done. The kong package needs to properly identify that it obsoletes the kong-community-edition package and that needs to be done by the package maintainer.
To work around: remove kong-community-edition, install kong