I'd definitely go with removing the version check.  It probably does 
need to be checked into trunk, but that's over my head.

I ran into this problem yesterday with the install script when upgrading 
from 1.5.90 to 1.5.91.  I popped into IRC, reported bug 2461, and fixed 
the immediate installer issue (by hardcoding the path) on my own copy.  
Ben fixed the install script, closed the bug, and created new packages, 
which I pulled down with apt.  I re-ran the installer, which worked.

I then went to lunch and forgot all about it for a few hours.  I hadn't 
tried to start opennms, because we're not in production yet.  When I ran 
into the bootstrap issue, I reported it to the IRC channel and moved on 
to other things, not realizing it was a pretty simple symlink issue.

That brings us to now, and this thread.  I removed the bogus directory, 
installed the -3 version of the packages, re-ran the installer again, 
and now it all works.


Paul Donohue wrote:
>> Alex Bennee wrote:
>>
>> | Ahh a apt-get remove / install cycle appears to have un-wedged it.
>> | The /usr/share/opennms/lib was stuck as an empty directory instead of a
>> | symlink. Seems fixed now.
>>
>> Ah, so the preinstall might need to move it out of the way before
>> upgrade.  I'll look into it, but I've got some other things to check on
>> first.  Mind opening a bug so I don't forget?
>>
>> Thanks for the report.  =)
>>     
>
> It already does move it out of the way before the upgrade:
> http://opennms.svn.sourceforge.net/viewvc/opennms/debian/branches/opennms-1.6/libopennms-java.preinst?revision=8954&view=markup
>
> Perhaps removing
>   if dpkg --compare-versions "$2" le "1.3.11-1"; then
> will help, so that it moves it even if you're not upgrading from <= 1.3.11-1
>
> BTW, SVN revision 9067 was only applied to the opennms-1.6 branch ... should 
> it be applied to trunk too?
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
> Don't miss this year's exciting event. There's still time to save $100. 
> Use priority code J8TL2D2. 
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> _______________________________________________
> Please read the OpenNMS Mailing List FAQ:
> http://www.opennms.org/index.php/Mailing_List_FAQ
>
> opennms-devel mailing list
>
> To *unsubscribe* or change your subscription options, see the bottom of this 
> page:
> https://lists.sourceforge.net/lists/listinfo/opennms-devel
>   


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-devel mailing list

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

Reply via email to