Package dependency issue?
JohnD Blackburn <[email protected]>
| Newsgroups | gmane.network.opennms.general |
|---|---|
| Message-ID | <DB6PR0602MB2902502F6B332239A274DF80CBA90@DB6PR0602MB2902.eurprd06.prod.outlook.com> |
Hi all, Over the past month, I've had someone else following a procedure I wrote for upgrading our opennms installation, and they were working through it to upgrade our system from 21.0.2 to 21.0.4. Part way through the exercise, 21.0.5 was released. This should not have been an issue, as my procedure runs: yum update opennms-<TARGET VERSION> which in the past has not been an issue, and yum correctly selects all the dependent packages with the same version number. However, recently I rolled out opennms-plugin-protocol-cifs, and this time when the yum update to 21.0.4 was run, yum correctly selected the 21.0.4 version of all dependent packages except for the cifs plugin, which it picked the 21.0.5 version. This then unexpectedly caused yum to then re-evaluate the dependencies and it installed OpenNMS 21.0.5 instead. (this was an issue because all the XML files we were deploying were built and tested on/for 21.0.4) Resolving Dependencies --> Running transaction check ---> Package opennms.noarch 0:21.0.2-1 will be updated ---> Package opennms.noarch 0:21.0.4-1 will be an update --> Processing Dependency: opennms-core = 21.0.4-1 for package: opennms-21.0.4-1.noarch --> Processing Dependency: opennms-webui = 21.0.4-1 for package: opennms-21.0.4-1.noarch --> Processing Dependency: opennms-core = 21.0.4-1 for package: opennms-21.0.4-1.noarch --> Processing Dependency: opennms-webui = 21.0.4-1 for package: opennms-21.0.4-1.noarch --> Running transaction check ---> Package opennms-core.noarch 0:21.0.2-1 will be updated --> Processing Dependency: opennms-core = 21.0.2-1 for package: opennms-plugin-protocol-cifs-21.0.2-1.noarch --> Processing Dependency: opennms-core = 21.0.2-1 for package: opennms-plugin-protocol-cifs-21.0.2-1.noarch ---> Package opennms-core.noarch 0:21.0.4-1 will be an update ---> Package opennms-webapp-jetty.noarch 0:21.0.2-1 will be updated ---> Package opennms-webapp-jetty.noarch 0:21.0.4-1 will be an update --> Running transaction check ---> Package opennms-plugin-protocol-cifs.noarch 0:21.0.2-1 will be updated ---> Package opennms-plugin-protocol-cifs.noarch 0:21.0.5-1 will be an update --> Processing Dependency: opennms-core = 21.0.5-1 for package: opennms-plugin-protocol-cifs-21.0.5-1.noarch --> Processing Dependency: opennms-core = 21.0.5-1 for package: opennms-plugin-protocol-cifs-21.0.5-1.noarch --> Running transaction check ---> Package opennms.noarch 0:21.0.2-1 will be updated ---> Package opennms.noarch 0:21.0.2-1 will be updated ---> Package opennms.noarch 0:21.0.4-1 will be an update ---> Package opennms.noarch 0:21.0.5-1 will be an update ---> Package opennms-core.noarch 0:21.0.2-1 will be updated ---> Package opennms-core.noarch 0:21.0.2-1 will be updated ---> Package opennms-core.noarch 0:21.0.4-1 will be an update ---> Package opennms-core.noarch 0:21.0.5-1 will be an update ---> Package opennms-webapp-jetty.noarch 0:21.0.2-1 will be updated ---> Package opennms-webapp-jetty.noarch 0:21.0.2-1 will be updated ---> Package opennms-webapp-jetty.noarch 0:21.0.4-1 will be an update ---> Package opennms-webapp-jetty.noarch 0:21.0.5-1 will be an update --> Finished Dependency Resolution The server that this update ran on was our UAT server, so re-deploying it with 21.0.2 was not an issue, and an updated procedure that specifies the version for both opennms and the cifs plugin was able to correctly update the server to 21.0.4. I'm just wondering if there is a package dependency issue here that caused the cifs plugin to incorrectly be upgraded to a later version than specified? NOTE: OS = Oracle Linux 7.4 Regards, John Blackburn ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Please read the OpenNMS Mailing List FAQ: http://www.opennms.org/index.php/Mailing_List_FAQ opennms-discuss mailing list To *unsubscribe* or change your subscription options, see the bottom of this page: https://lists.sourceforge.net/lists/listinfo/opennms-discuss