[Spacewalk-list] Problem pushing OpenOffice packages

David Nutter davidn at bioss.sari.ac.uk
Tue Feb 2 11:10:55 UTC 2010


On Tue, Feb 02, 2010 at 10:43:28AM +0000, John Hodrien wrote:
> On Tue, 2 Feb 2010, David Nutter wrote:
> 
> >Seems to work OK for me on Spacewalk 0.7 with the ooobasis-3.1-pyuno
> >package. I haven't tried a full push of all the packages. I ran into
> >the same issue (with 0.6) but got around it by repackaging
> >Openoffice. This had another advantage for us in that we could install
> >OpenOffice 3 and the OpenOffice 2.3 packages side-by-side. You're
> >welcome to my spec file if it's any use.
> 
> Thanks.  I tracked it down to a one line change in 0.7, so I've backported 
> the
> fix.  I was going to repackage, but that seemed like an unnecessary hassle.

Ah, good. 

> OO3 seems to sit alongside OO2.3 on my CentOS box reasonably happily as far 
> as
> I can see, although I probably do plan on replacing OO2 entirely anyway.  
> Just
> need to make sure I don't cause problems for users in the process.
> 
> In your case, what did the spec file work around?

Going off-topic but I think there were two issues:

1) a dependency on the JRE that ships with openoffice.org3 which
conflicted with another JRE or JDK package which we already had
installed. If you gave RPM --force --nodeps when installing the
packages openoffice worked fine so the problem was purely in the
packages headers.

This was probably resolvable by other means but repackaging and
explicitly resetting the dependency on Java fixed it for us without
having to mess with our Java config which at the time was quite
complicated due to the need to support 32bit browsers for plugin Java
use. 

2) The two different versions fought over who owned the commands
/usr/bin/openoffice.org and some others. I wanted OO 2.3 to be the
default for users who didn't take an explicit action to enable OO 3
(namely put it in their $PATH) and couldn't seem to get it to work
reliably with both packages installed. I may have been using an older
build at the time though. Maybe I should try again with the latest
package rather than repackaging it every few months. 


Regards,

-- 
David Nutter  				Tel: +44 (0)131 650 4888
BioSS, JCMB, King's Buildings, Mayfield Rd, EH9 3JZ. Scotland, UK 

Biomathematics and Statistics Scotland (BioSS) is formally part of The
Scottish Crop Research Institute (SCRI), a registered Scottish charity
No. SC006662




More information about the Spacewalk-list mailing list