Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Error: clangarm64: key "5F944B027F7FE2091985AA2EFA11531AA0AA7F57" is unknown" when using pacman command #4482

Closed
1 task done
Pldm24 opened this issue Apr 4, 2024 · 8 comments
Labels
external Issues caused by external software or project

Comments

@Pldm24
Copy link

Pldm24 commented Apr 4, 2024

Description / Steps to reproduce the issue

Whenever i want to use pacman command (I need pacman -S --needed base-devel mingw-w64-ucrt-x86_64-toolchain), it says "error: clangarm64: key "5F944B027F7FE2091985AA2EFA11531AA0AA7F57" is unknown :: Import PGP key 5F944B027F7FE2091985AA2EFA11531AA0AA7F57? [Y/n]". If i choose yes, console freezes for a couple of minutes and outputs another error. If i choose no, nothing happens.

Expected behavior

cpp-install-MSYS2-toolchain

Actual behavior

Снимок экрана (10)

Verification

Windows Version

MINGW64_NT-10.0-19045

Are you willing to submit a PR?

No response

@Pldm24 Pldm24 added the bug label Apr 4, 2024
@Biswa96
Copy link
Member

Biswa96 commented Apr 4, 2024

Did you use the latest installer from official web page https://www.msys2.org/ ?

@Pldm24
Copy link
Author

Pldm24 commented Apr 4, 2024

Did you use the latest installer from official web page https://www.msys2.org/ ?

Yes.

@Biswa96
Copy link
Member

Biswa96 commented Apr 4, 2024

Try to run pacman-key --init; pacman-key --populate first.

@Pldm24
Copy link
Author

Pldm24 commented Apr 4, 2024

Try to run pacman-key --init; pacman-key --populate first.

Снимок экрана (11)

Problem is still there.

@vagor77
Copy link

vagor77 commented Jun 27, 2024

Problem is still there.

Had exactly the same problem. Nothing helped. no real information on the problem. Exactly the same errors!

Solved like this:

  1. Deleted all, reboot
  2. disable antivirus: firewall, scanning, everything.
  3. installed msys2 again
  4. it works!

Let me know if it works for you and your antivirus :-)

@Biswa96
Copy link
Member

Biswa96 commented Jun 27, 2024

2. disable antivirus: firewall, scanning, everything.

It is not recommended to disable antivirus or firewall completely which would make the system more vulnerable to viruses. Instead, it is suggested to disable real-time scanning in msys2 installation directory when required.

@Biswa96 Biswa96 closed this as not planned Won't fix, can't repro, duplicate, stale Jun 27, 2024
@Biswa96 Biswa96 added external Issues caused by external software or project and removed bug labels Jun 27, 2024
@Pldm24
Copy link
Author

Pldm24 commented Jun 28, 2024

Problem is still there.

Had exactly the same problem. Nothing helped. no real information on the problem. Exactly the same errors!

Solved like this:

  1. Deleted all, reboot
  2. disable antivirus: firewall, scanning, everything.
  3. installed msys2 again
  4. it works!

Let me know if it works for you and your antivirus :-)

I disabled antivirus, reinstalled msys2 from scratch and it worked fine. I did it a while ago, so your answer is not actual anymore.

@vagor77
Copy link

vagor77 commented Jun 28, 2024

Problem is still there.

Had exactly the same problem. Nothing helped. no real information on the problem. Exactly the same errors!
Solved like this:

  1. Deleted all, reboot
  2. disable antivirus: firewall, scanning, everything.
  3. installed msys2 again
  4. it works!

Let me know if it works for you and your antivirus :-)

I disabled antivirus, reinstalled msys2 from scratch and it worked fine. I did it a while ago, so your answer is not actual anymore.

Good you resolved, this. Could be good if would publish the solution.
Because a lot of people still have the same problem and there are no solution published anywhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
external Issues caused by external software or project
Projects
None yet
Development

No branches or pull requests

3 participants