Avast WEBforum

Consumer Products => Avast Mac Security => Topic started by: ecb1000@gmail.com on September 18, 2018, 08:06:54 PM

Title: Unable to Install
Post by: ecb1000@gmail.com on September 18, 2018, 08:06:54 PM
I've just updates my MacBook Pro to High Sierra. Relatively painless, but on completion I found that Avast wasn't working, wouldn't update or scan. Only thing I could think of trying was to uninstall and then reinstall Avast. Uninstalling proved difficult but I finally got there. Carried out a thorough search and could find no Avast files remaining.

So, I downloaded the latest version of Avast and tried to install, but got a message telling me Avast was already installed and I needed to uninstall it first. Used the Uninstall tool that came with the download and tried again, and again, and again...... No joy, it's still there. Looked hard for any Avast files on the Mac but nothing I can find.

Any advice gratefully received.
Title: Re: Unable to Install
Post by: lukas.hasik on September 19, 2018, 10:18:32 AM
ecb1000, That looks like terrible experience! Would you mind to help us to solve it with a bit more details?
1) what did the Avast UI say when you'd found it wasn't working? Was there any message / error shown?
2) how did you Uninstall? A) from app menu > Uninstall Avast B) d'n'd of the Avast from Applications to Trash C) some other way?
3) lets check if there are any leftovers Avast AV installs - please open the Terminal and run following commands
- a) ls -la /Library/Application\ Support/Avast/
- b) ls -la /Applications/Avast.app/
- c) kextstat | grep avast
4) there should be some logs about Avast's install/uninstall process in the /tmp directory. Would you mind to send them to me - hasik (at) avast (dot) com
5) restart your Mac, it helps sometime. - but please check 4) first otherwise the /tmp will be cleaned on restart ;)
Title: Re: Unable to Install
Post by: richardhonig2001@yahoo.com on September 29, 2018, 09:51:34 PM
I am having the same problem too.  I ran my terminal and this is what came back:

Last login: Sat Sep 29 12:23:00 on console
Richards-Mac-mini:~ richard$ ls -la /Library/Application\ Support/Avast/
total 8
drwxr-xr-x   8 root  wheel  272 Sep 24 23:41 .
drwxr-xr-x  27 root  admin  918 Feb  9  2018 ..
drwxr-xr-x  17 root  wheel  578 Sep 24 23:41 config
-rw-r--r--   1 root  wheel    1 Sep 15  2017 display-version.tag
drwxr-xr-x  12 root  wheel  408 Sep 24 23:41 run
drwx------   8 root  wheel  272 Sep 24 23:36 submit-data
drwxr-xr-x   6 root  wheel  204 Sep 24 14:01 update-data
drwxr-xr-x   5 root  wheel  170 Sep 24 23:40 vps9
Richards-Mac-mini:~ richard$ ls -la /Applications/Avast.app/
ls: /Applications/Avast.app/: No such file or directory
Richards-Mac-mini:~ richard$ kextstat | grep avast
Richards-Mac-mini:~ richard$
Title: Re: Unable to Install
Post by: jakub.bednar on October 22, 2018, 05:14:06 PM
Hello ecb100,

to manually uninstall Avast, you need to run following commands in Terminal

sudo rm -rf /Applications/Avast.app                     this will remove our UI part of the application
sudo rm -rf /Library/Applicaiton\ Support/Avast    this will remove our configuration files and other data files
sudo rm /Library/LaunchDaemons/com.avast.*     this will remove our system-wide registration files
sudo rm /Library/LaunchAgents/com.avast.*         this will remove our per-user registration files
rm ~/Library/Application\ Support/Avast               this will remove per-user configurations

Now the system should be clean from Avast and you should be able to install the latest version.

Hope it helps.

Best regards,

Title: Re: Unable to Install
Post by: Francisco374 on August 09, 2021, 06:35:58 PM
I've made a mistake by sending Avast to trash. So I followed your instructions to to get rid of all Avast files and after that I removed all Avast files I find in my Mac. But trying to install Avast Security Online I'm getting a message saying that Avast can't be installed because it's already installed and I have to uninstall it in first place. So, as I do not know how can I surpass this problem I would like to ask you a suggestion to have it installed.
Thanks in advance, Francisco
Title: Re: Unable to Install
Post by: maximd611 on October 28, 2021, 06:56:33 PM
So I ran the commands that you guy's gave and none of them worked. The only script that did worked was when I typed this in and it did gave information. So The thing is I am new to mac and I tried Re-Install the program from putting it to trash.

total 0
drwxr-xr-x   10 root  wheel   320 Sep 29 08:39 .
drwxr-xr-x   18 root  admin   576 Sep 29 08:38 ..
drwxr-xr-x  128 root  wheel  4096 Feb 17  2021 cacerts
drwxr-xr-x   19 root  wheel   608 Oct  1 06:02 config
drwxr-xr-x   11 root  wheel   352 Oct  1 06:02 run
drwxr-xr-x    9 root  wheel   288 Sep 30 10:11 state
drwx------    7 root  wheel   224 Sep 29 08:38 submit-data
drwx------    3 root  wheel    96 Oct  1 06:00 ui-data
drwxr-xr-x    8 root  wheel   256 Sep 30 07:51 update-data
drwxr-xr-x    7 root  wheel   224 Sep 30 10:28 vps9
Title: Re: Unable to Install
Post by: duullccee on November 22, 2021, 09:17:47 PM
im also unable to install avast and i tried those on terminal but they don't work either and sometimes they ask for a password but im not sure on what the password is
Title: Re: Unable to Install
Post by: maximd611 on December 01, 2021, 05:45:22 PM
Hey, So when you said you don't know the password try to use your apple ID Password or the the password that you have to unlock your mac and see if you still having that password issue. Then tell me what you got on your results on from the command.