Avast isn’t meant to be installed from Safe Mode… you’d rather wait for a fix and get it installed in normal mode.