Results 1 to 2 of 2

Thread: Version check fails on multiarch (i386/x86_64)

  1. #1
    Join Date
    Jan 2006
    Rep Power

    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/ 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.


    row 885 in util/
    PKGINSTALLED=`$PACKAGEQUERY $pkg 2> /dev/null`


    PKGINSTALLED=`$PACKAGEQUERY $pkg 2> /dev/null | sort -u`

  2. #2
    Join Date
    Sep 2005
    Rep Power

    Default nice trick

    I'll add that to the script monday.

Similar Threads

  1. Check ZCS Version
    By telescop in forum Administrators
    Replies: 8
    Last Post: 04-14-2008, 10:55 AM
  2. Toaster Problem
    By jdell in forum Users
    Replies: 8
    Last Post: 03-08-2007, 03:03 AM
  3. CENTOS 4.3 -SME Server 7.0 Instal of version 4 fails
    By ricardon in forum Installation
    Replies: 7
    Last Post: 08-17-2006, 05:10 AM
  4. Bayes filter import bug
    By jwilso2 in forum Developers
    Replies: 4
    Last Post: 11-03-2005, 08:01 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts