I just tried installing the flag module on Drupal 8.5.3 and got the following error message: "flag-7.x-3.9.tar.gz does not contain any .info.yml files". When I unzip the .ZIP archive, the flag.info.yml file is there. When I unzip the .GZ file, the flag.info.yml file is there. And when I look into the installed flag module folder, the flag.info.yml file is there as well. The installation process also gives "success." So . . . there must be some bug giving a spurious error message? I notice that the module contains two extra submodules: "Flag Bookmark" and "Flag Follower". But those also contain their info.yml files. A mystery.
Closed: cannot reproduce
Flag core
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.