Avast for Mac will not update from original install

trying to install this on a Mac Mini. Works fine on my iMac at work.
Both are on the same Avast account.

This is what I get when I try to update:

Connecting to repository http://download.ff.avast.com/mac/vpsmac
Downloading vpsmac.lat…
Downloading vpsmac.lat… (retry 1)
Downloading vpsmac.lat… (retry 2)
Download failed [exit code 28]
Update aborted.
Cannot perform HTTP request. [1c]
tar: install/update.sh: Not found in archive
tar: Error exit delayed from previous errors.

  • RAW=‘/Library/Application Support/Avast/files/Setup/filedir/vpsmac.raw’
  • ‘[’ ‘!’ -f ‘/Library/Application Support/Avast/files/Setup/filedir/vpsmac.raw’ ‘]’
  • VERSION=13102301
  • ‘[’ -z 13102301 ‘]’
  • FILES_DIR=‘/Library/Application Support/Avast/files’
  • ‘[’ -d ‘/Library/Application Support/Avast/files/defs/13102301’ ‘]’
  • echo ‘Version already installed?’
    Version already installed?
  • exit 1
    Connecting to repository http://download.ff.avast.com/mac/AAFM
    Downloading AAFM.lat…
    Downloading AAFM.lat… (retry 1)
    Downloading AAFM.lat… (retry 2)
    Download failed [exit code 28]
    Update aborted.
    Cannot perform HTTP request. [1c]
    install/update.sh
    No program update available.

Any ideas???

Try uninstalling avast! and install it again. See if that works.

Cheers,
Hello

–Overview–
This is due to the connection timing out. (curl is existing with code 28)

I set the timeout to 90 seconds and this fixed the problem

–Details–
The file you need to edit is:
/Library/Application Support/Avast/files/Setup/download.sh

To be able to edit this file you need to add read/write permissions to the folders, subfolders and file in this path for the user/group you need.

The line to edit is:
DOWNLOAD=“curl -L -s --connect-timeout 5 -f”

Change to:
DOWNLOAD=“curl -L -s --connect-timeout 90 -f”

Cheers,
David

Bump