How to update a Linux-based computer with Intelligent Updater definitions

Article:TECH96754  |  Created: 2009-01-14  |  Updated: 2014-07-20  |  Article URL http://www.symantec.com/docs/TECH96754
Article Type
Technical Solution



Issue



You want to know how to obtain and install standalone virus definitions on your Linux-based operating system (RedHat, Ubuntu, etc.), using Intelligent Updater (IU) definitions.


Environment



Note that the unix.sh updater (32-bit) provides the appropriate updates for both 32-bit and 64-bit SAV for Linux (SAVFL) clients. Even with 64-bit Linux systems, use the file that ends with "unix.sh" not "unix64.sh"

 

Additional information on methods of keeping Symantec AntiVirus for Linux clients up-to-date can be found in the Connect article SAV for Linux: A (Somewhat) Illustrated Guide Part 3 

 


Solution



1. Obtain the Intelligent Updater from one of the following locations:

a. http://www.symantec.com/security_response/definitions/download/detail.jsp?gid=sep#secTab3
Look for a filename ending in unix.sh (for example, 20091014-003-unix.sh).

b. ftp://ftp.symantec.com/AVDEFS/symantec_antivirus_corp/
Look for a filename ending in unix.sh (for example, 20091014-003-unix.sh).

c. ftp://ftp.symantec.com/AVDEFS/symantec_antivirus_corp/static/symcdefs-unix.sh
This is a statically named file that is updated with each daily release of definitions.

Note: The file download via HTTP is typically faster than FTP. The current size of the file is just over 500MB.
 

NOTE: The .SH file needs to have Executable permissions. To accomplish this, execute the following command:
chmod +x *unix.sh
 

2. The script must be executed as root or by using sudo; if it is not, the following error will occur.

    $ ./symcdefs-unix.sh
    Validating available tools...

    ERROR: Require write access to /opt/Symantec/virusdefs/incoming.
    There are several methods to meet this requirement.
    1. Run this script from the root user account.
    2. Add the current user as a member of the "avdefs" user
    group.
    3. chmod 777 for /opt/Symantec/virusdefs/incoming.
    We recommend either of the first two options for security reasons.


3. Uudecode and uncompress must be installed. These can usually be installed by installing the Sharutils package. In some instances, you may need to install the ncompress package as well.

Note: If you get an error referencing either utility, please run one of these commands as root or by using sudo to install them. The command to install sharutils may be different than those listed below, depending on the distribution and version of Linux being used.

    up2date sharutils
    yum install sharutils
    apt-get install sharutils

 

    up2date ncompress
    yum install ncompress
    apt-get install ncompress

 


4. A successful definition installation via Intelligent Updater should result in the following output.

    # ./symcdefs-unix.sh
    Validating available tools...
    Extracting Intelligent Updater software package...
    Checking software package for damage...
    Uncompressing software package...
    Extracting distribution files...
    Installing virus definitions to /opt/Symantec/virusdefs/incoming
    Copying definition files...
    Removing temporary files.
    Virus definitions installed successfully.
    A transcript of this installation has been saved as /var/log/iu-install.log





Legacy ID



2009101408060848


Article URL http://www.symantec.com/docs/TECH96754


Terms of use for this information are found in Legal Notices