Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-08-2006, 05:11 AM
Intermediate Member
 
Posts: 16
Default Version check fails on multiarch (i386/x86_64)

Hi all,

While the installer checks for prerequisites, it tries to figure out the installed version using the rpm -q command. On a dual-arch box (mine is a FC4 x86_64), this command can return more than one single line; this leads to errors within the install script.

To avoid these errors, I changed line 885 in util/utilfunc.sh to eliminate dupliates using "sort" (see below).

Hope this helps anyone else with this problem. Maybe this modification should be added to the standard scripts.

Regards
--Marcel

row 885 in util/utilfunc.sh:
replace
PKGINSTALLED=`$PACKAGEQUERY $pkg 2> /dev/null`

by

PKGINSTALLED=`$PACKAGEQUERY $pkg 2> /dev/null | sort -u`
Reply With Quote
  #2 (permalink)  
Old 01-08-2006, 09:31 AM
Zimbra Employee
 
Posts: 2,103
Default nice trick

I'll add that to the script monday.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.