Re: Upgrading 1.12.0 to 1.12.9 with yum impossible??

Shane Dawalt <[email protected]> Wed, 3 Jun 2015 00:40:07 -0400
Newsgroups gmane.network.opennms.install
Message-ID <[email protected]>
On 06/02/2015 07:58 PM, Roskens, Ronald wrote:
> Shane,
>
> I would also try specifying the version # for opennms-core on the yum command line.
    Thanks for the idea.  It didn't work, but it did lead me to 
specifying opennms-webui-1.12.9-2.noarch because the dependency 
condition for that package is the only one with ">=" and it appeared to 
be the condition that was causing the upgrade to 15. This minor change 
to your suggestion allowed the upgrade to complete.   Bizarre dependency 
condition behavior though.

    Shane

> Ron
>
>> -----Original Message-----
>> From: Shane Dawalt [mailto:[email protected]]
>> Sent: Monday, June 01, 2015 9:10 PM
>> To: [email protected]
>> Subject: [opennms-install] Upgrading 1.12.0 to 1.12.9 with yum impossible??
>>
>>
>>     I'm on an enterprise linux 6 box.  It has opennms-1.12.0-1 installed.  I want
>> to upgrade to opennms-1.12.9-2.  I thought (with obsoletes repo enabled) I
>> could do something like this.
>>
>> $ sudo yum upgrade-to opennms-1.12.9-2.noarch
>>
>> Resolving Dependencies
>> --> Running transaction check
>> ---> Package opennms.noarch 0:1.12.0-1 will be updated Package
>> ---> opennms.noarch 0:1.12.9-2 will be an update
>> --> Processing Dependency: opennms-core = 1.12.9-2 for package:
>> opennms-1.12.9-2.noarch
>> --> Processing Dependency: opennms-core = 1.12.9-2 for package:
>> opennms-1.12.9-2.noarch
>> --> Processing Dependency: opennms-webui >= 1.12.9-2 for package:
>> opennms-1.12.9-2.noarch
>> --> Processing Dependency: opennms-webui >= 1.12.9-2 for package:
>> opennms-1.12.9-2.noarch
>> --> Running transaction check
>> ---> Package opennms-core.noarch 0:1.12.0-1 will be updated Package
>> ---> opennms-core.noarch 0:1.12.9-2 will be an update Package
>> ---> opennms-webapp-jetty.noarch 0:1.12.0-1 will be updated Package
>> ---> opennms-webapp-jetty.noarch 0:15.0.2-1 will be an update
>> --> Processing Dependency: opennms-core = 15.0.2-1 for package:
>> opennms-webapp-jetty-15.0.2-1.noarch
>> --> Processing Dependency: opennms-core = 15.0.2-1 for package:
>> opennms-webapp-jetty-15.0.2-1.noarch
>> --> Running transaction check
>> ---> Package opennms.noarch 0:1.12.0-1 will be updated Package
>> ---> opennms.noarch 0:1.12.0-1 will be updated Package opennms.noarch
>> ---> 0:1.12.9-2 will be an update Package opennms.noarch 0:15.0.2-1 will
>> ---> be an update Package opennms-core.noarch 0:1.12.0-1 will be updated
>> ---> Package opennms-core.noarch 0:1.12.0-1 will be updated Package
>> ---> opennms-core.noarch 0:1.12.9-2 will be an update Package
>> ---> opennms-core.noarch 0:15.0.2-1 will be an update
>> --> Finished Dependency Resolution
>>
>> Dependencies Resolved
>>
>> ==========================================================
>> ======================
>>    Package                 Arch      Version Repository                  Size
>> ==========================================================
>> ======================
>> Updating:
>>    opennms                 noarch    15.0.2-1 opennms-obsolete-common
>> 2.2 k
>> Updating for dependencies:
>>    opennms-core            noarch    15.0.2-1 opennms-obsolete-common
>> 287 M
>>    opennms-webapp-jetty    noarch    15.0.2-1 opennms-obsolete-common
>> 193 M
>>
>> Transaction Summary
>> ==========================================================
>> ======================
>> Upgrade       3 Package(s)
>>
>>     But it wants to upgrade to 15.0.2.  I don't want it to do that. What am I doing
>> wrong?
>>
>>     Shane
>>
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Please read the OpenNMS Mailing List FAQ:
>> http://www.opennms.org/index.php/Mailing_List_FAQ
>>
>> opennms-install mailing list
>>
>> To *unsubscribe* or change your subscription options, see the bottom of
>> this page:
>> https://lists.sourceforge.net/lists/listinfo/opennms-install
> This e-mail message is being sent solely for use by the intended recipient(s) and may contain confidential information.  Any unauthorized review, use, disclosure or distribution is prohibited.  If you are not the intended recipient, please contact the sender by phone or reply by e-mail, delete the original message and destroy all copies. Thank you.
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Please read the OpenNMS Mailing List FAQ:
> http://www.opennms.org/index.php/Mailing_List_FAQ
>
> opennms-install mailing list
>
> To *unsubscribe* or change your subscription options, see the bottom of this page:
> https://lists.sourceforge.net/lists/listinfo/opennms-install


------------------------------------------------------------------------------
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-install mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-install