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

0 Members and 1 Guest are viewing this topic.

Offline petasisg

  • Newbie
  • *
  • Posts: 1
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

  • Avast Überevangelist
  • Probably Bot
  • *****
  • Posts: 36302
“Ah beer. The cause of and the solution to all of life’s problems.”

"Operator! Give me the number for 911!"

Offline AndrewJ

  • Newbie
  • *
  • Posts: 5
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!

Offline Soup

  • Newbie
  • *
  • Posts: 1
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: 527
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

Offline bob3160

  • Avast Überevangelist
  • Probably Bot
  • *****
  • Posts: 41967
  • 59 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 avast! Security Seminar: https://goo.gl/kh3cqR  -  Important: http://www.organdonor.gov/ -- My Web Site: http://bob3160.strikingly.com/ - Win 10 Pro v1903 64bit, 8 Gig Ram, AvastFree 19.6.xxxx, How to Successfully Install Avast http://goo.gl/VLXdeRepair & Clean Install https://goo.gl/t7aJGq

Offline davexnet

  • Poster
  • *
  • Posts: 527
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

Offline bob3160

  • Avast Überevangelist
  • Probably Bot
  • *****
  • Posts: 41967
  • 59 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 avast! Security Seminar: https://goo.gl/kh3cqR  -  Important: http://www.organdonor.gov/ -- My Web Site: http://bob3160.strikingly.com/ - Win 10 Pro v1903 64bit, 8 Gig Ram, AvastFree 19.6.xxxx, How to Successfully Install Avast http://goo.gl/VLXdeRepair & Clean Install https://goo.gl/t7aJGq

Offline bruce_b

  • Sr. Member
  • ****
  • Posts: 324
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 1803 Build 17134.860
Avast Free Antivirus 19.6.2383

Offline Tonk

  • Newbie
  • *
  • Posts: 1
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.

Offline bob3160

  • Avast Überevangelist
  • Probably Bot
  • *****
  • Posts: 41967
  • 59 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 avast! Security Seminar: https://goo.gl/kh3cqR  -  Important: http://www.organdonor.gov/ -- My Web Site: http://bob3160.strikingly.com/ - Win 10 Pro v1903 64bit, 8 Gig Ram, AvastFree 19.6.xxxx, How to Successfully Install Avast http://goo.gl/VLXdeRepair & Clean Install https://goo.gl/t7aJGq

Offline bnjroos

  • Newbie
  • *
  • Posts: 1
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: 2096
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