Author Topic: Avast for Mac will not update from original install  (Read 3505 times)

0 Members and 1 Guest are viewing this topic.

Offline digitalgecko

  • Newbie
  • *
  • Posts: 1
Avast for Mac will not update from original install
« on: December 14, 2013, 02:51:55 PM »
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????

Offline GrēætGrįëf

  • Newbie
  • *
  • Posts: 11
    • Tech News (private)
Re: Avast for Mac will not update from original install
« Reply #1 on: December 24, 2013, 01:56:35 AM »
Try uninstalling avast! and install it again. See if that works.

Cheers,
Hello
HP 250 G1 with Windows 8.1 64 bit running on an Intel Celeron 1000M clocked at 1.8 GHz processor.  Intel HD Graphics and 4 GB of RAM.

Complaints or personal issues to discuss with me?  PM it.

Offline DavidAtk

  • Newbie
  • *
  • Posts: 3
Re: Avast for Mac will not update from original install
« Reply #2 on: January 19, 2014, 02:39:15 AM »
--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

Offline DavidAtk

  • Newbie
  • *
  • Posts: 3
Re: Avast for Mac will not update from original install
« Reply #3 on: April 04, 2014, 12:32:14 PM »
Bump