Author Topic: Avast has destroyed my MSYS2 installation  (Read 11567 times)

0 Members and 1 Guest are viewing this topic.

REDACTED

  • Guest
Avast has destroyed my MSYS2 installation
« on: June 25, 2018, 11:11:40 AM »
Hi all,

I was doing an MSYS2 update, and avast suddenly decided that C:\dev\msys64\usr\bin\gpg-agent.exe is a virus, and moved it to the virus box(!).
This caused the package database to cannot be signed, which corrupted the package databases.

So, my MSYS2 installation is now useless.

Unbelievable!

Offline Pondus

  • Probably Bot
  • ****
  • Posts: 37527
  • Not a avast user

Offline AndrewJ

  • Newbie
  • *
  • Posts: 6
Re: Avast has destroyed my MSYS2 installation
« Reply #2 on: July 09, 2018, 06:59:45 PM »
Can confirm that this also happened to me. I have now had to whitelist the whole Msys2 directory and reinstall from scratch. Stuff like this shouldn't happen!

REDACTED

  • Guest
Re: Avast has destroyed my MSYS2 installation
« Reply #3 on: July 19, 2018, 08:20:25 PM »
I'm running into the same problems, even with with the MSYS2 directory whitelisted under "exceptions" in the file AND the behavior shield.
Already submitted a false-positive report. Will report back when I get an email telling me what actions they've taken.

Symptoms:
  • installation breaking before it completes
  • operations failing during the installation in which you can "retry" but which never succeed the n-th time either
  • update issues when using pacman to update packages (whitelisting under "exceptions" didn't fix this problem for me!)

Current work-around is disabling avast. Either disable the file/behavior shield or uninstall avast completely.

Offline davexnet

  • Poster
  • *
  • Posts: 540
Re: Avast has destroyed my MSYS2 installation
« Reply #4 on: July 19, 2018, 11:02:13 PM »
I don't understand why avast, by default, deletes stuff without asking first.
Doesn't avast trust it's users?
AMD FX-4300 4GB DDR3
avast free 2279 (Windows XP), MBAM free

Online bob3160

  • Avast Überevangelist
  • Probably Bot
  • *****
  • Posts: 48551
  • 64 Years of Happiness
    • bob3160 Protecting Yourself, Your Computer and, Your Identity
Re: Avast has destroyed my MSYS2 installation
« Reply #5 on: July 19, 2018, 11:27:31 PM »
I don't understand why avast, by default, deletes stuff without asking first.
Doesn't avast trust it's users?
It has nothing to do with thrust but has everything to do with protection.
Most users unfortunately aren't experts in that field.
Free Security Seminar: https://bit.ly/bobg2023  -  Important: http://www.organdonor.gov/ -- My Web Site: http://bob3160.strikingly.com/ - Win 11 Pro v22H2 64bit, 16 Gig Ram, 1TB SSD, Avast Free 23.5.6066, How to Successfully Install Avast http://goo.gl/VLXdeRepair & Clean Install https://goo.gl/t7aJGq -- My Online Activity https://bit.ly/BobGInternet

Offline davexnet

  • Poster
  • *
  • Posts: 540
Re: Avast has destroyed my MSYS2 installation
« Reply #6 on: July 22, 2018, 12:56:11 AM »
I understand what you're saying, the problem I have is that
this action taken and too many false positives can be a disaster for
the user when avast is wrong.
Should we just accept that for "the greater good" ?
we should demand better
AMD FX-4300 4GB DDR3
avast free 2279 (Windows XP), MBAM free

Online bob3160

  • Avast Überevangelist
  • Probably Bot
  • *****
  • Posts: 48551
  • 64 Years of Happiness
    • bob3160 Protecting Yourself, Your Computer and, Your Identity
Re: Avast has destroyed my MSYS2 installation
« Reply #7 on: July 22, 2018, 03:05:31 PM »
I understand what you're saying, the problem I have is that
this action taken and too many false positives can be a disaster for
the user when avast is wrong.
Should we just accept that for "the greater good" ?
we should demand better
Since the reporting of a false positive is fairly simple and the subsequent resolution is fairly quick,
I can't think of anything better.
It's certainly better than allowing something a users deems a false positive to infect their system.
Your computer, your choice. I know what mine is. :)
Free Security Seminar: https://bit.ly/bobg2023  -  Important: http://www.organdonor.gov/ -- My Web Site: http://bob3160.strikingly.com/ - Win 11 Pro v22H2 64bit, 16 Gig Ram, 1TB SSD, Avast Free 23.5.6066, How to Successfully Install Avast http://goo.gl/VLXdeRepair & Clean Install https://goo.gl/t7aJGq -- My Online Activity https://bit.ly/BobGInternet

Offline bruce_b

  • Sr. Member
  • ****
  • Posts: 333
Re: Avast has destroyed my MSYS2 installation
« Reply #8 on: July 22, 2018, 05:09:14 PM »
Under Settings, Components, File Shield, Customize, Actions .. you can select what Avast will do when it thinks a file is a problem.  One of the choices is "Ask"

« Last Edit: July 22, 2018, 05:13:29 PM by bruce_b »
Dell Dimension 8200 P4 1.8Ghz Windows XP PRO SP3
Avast Free Antivirus 18.8.2356
Toshiba Satellite C855-S5347 Celeron B830 1.8Ghz
Windows 10 Home 64 Bit Version 1909 Build 18363.900
Avast Free Antivirus 20.4.2410 Build 20.4.5312.578

REDACTED

  • Guest
Re: Avast has destroyed my MSYS2 installation
« Reply #9 on: August 04, 2018, 06:31:40 AM »
Looking at the date of the first post, this is an old issue.  Is there a reason it's not resolved?  I just had the same problem on a fresh install, and it insists on interfering with installation through excepted paths.  I got ticked and fully disabled avast shields so it would quit breaking my crap.  Avast interfering with programs that are fine, blocking exceptions, not being able to restore a deleted file, and all the intrusive crap it does recently is becoming too much.  Hit the point where i'm tempted to start looking for a new AV.

Online bob3160

  • Avast Überevangelist
  • Probably Bot
  • *****
  • Posts: 48551
  • 64 Years of Happiness
    • bob3160 Protecting Yourself, Your Computer and, Your Identity
Re: Avast has destroyed my MSYS2 installation
« Reply #10 on: August 04, 2018, 03:17:52 PM »
Looking at the date of the first post, this is an old issue.  Is there a reason it's not resolved?  I just had the same problem on a fresh install, and it insists on interfering with installation through excepted paths.  I got ticked and fully disabled avast shields so it would quit breaking my crap.  Avast interfering with programs that are fine, blocking exceptions, not being able to restore a deleted file, and all the intrusive crap it does recently is becoming too much.  Hit the point where i'm tempted to start looking for a new AV.
Since you don't give any specifics, it's impossible to answer you or help you.
If you're looking for help, start your own topic and give specifics. If you just wanted to get something off your chest, you've already done that.


Free Security Seminar: https://bit.ly/bobg2023  -  Important: http://www.organdonor.gov/ -- My Web Site: http://bob3160.strikingly.com/ - Win 11 Pro v22H2 64bit, 16 Gig Ram, 1TB SSD, Avast Free 23.5.6066, How to Successfully Install Avast http://goo.gl/VLXdeRepair & Clean Install https://goo.gl/t7aJGq -- My Online Activity https://bit.ly/BobGInternet

REDACTED

  • Guest
Re: Avast has destroyed my MSYS2 installation
« Reply #11 on: November 26, 2018, 02:24:06 AM »
This just happened to me, that is serious shit, waste of time. I am unable to restore as the filed is not even in the chest. I am uninstalling this shitty AV from all my comp and will not recommend it to anyone anymore.

Offline NOSLEEP

  • Newbie
  • *
  • Posts: 1
Re: Avast has destroyed my MSYS2 installation
« Reply #12 on: March 01, 2019, 12:39:28 PM »
I ran into this problem when installing some MSYS packages (NOT while installing MSYS itself). I think I've managed to recover from this by doing the following:

  • add the msys64 folder (or maybe msys32) to Avast exclusions so it doesn't happen again (hopefully). The folder is likely C:\msys64.
  • disable all Avast shields (otherwise signing will fail apparently)
  • reinstall gnupg from an MSYS terminal (pacman -S gnupg)
  • re-enable shields

Also consider using bruce_b's answer to get Avast to (again, hopefully) ask before nuking false positives.

Offline Milos

  • Avast team
  • Super Poster
  • *
  • Posts: 2294
Re: Avast has destroyed my MSYS2 installation
« Reply #13 on: March 05, 2019, 07:43:29 AM »
Hello,
report the potential false positive through https://www.avast.com/false-positive-file-form.php, please.

Milos