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

ARM64 version gets installed on ArmV7 platform (Raspberry Pi) #956

Closed
1 task done
josefwegner opened this issue Sep 14, 2021 · 6 comments · Fixed by #957
Closed
1 task done

ARM64 version gets installed on ArmV7 platform (Raspberry Pi) #956

josefwegner opened this issue Sep 14, 2021 · 6 comments · Fixed by #957
Assignees
Labels
🐛 bug Something isn't working

Comments

@josefwegner
Copy link

josefwegner commented Sep 14, 2021

Code of Conduct

  • I agree to follow this project's Code of Conduct

What happened?

Installed latest oh-my-posh version:

PS > Install-Module oh-my-posh -Scope CurrentUser

Untrusted repository
You are installing the modules from an untrusted repository. If you trust this repository, change its InstallationPolicy value by running the Set-PSRepository cmdlet. Are you sure
you want to install the modules from 'PSGallery'?
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "N"): A

Started pwsh:

pwsh                                                                                                                                                                            ─╯
PowerShell 7.1.4
Copyright (c) Microsoft Corporation.

https://aka.ms/powershell
Type 'help' to get help.

ResourceUnavailable: /home/pi/.local/share/powershell/Modules/oh-my-posh/3.181.1/oh-my-posh.psm1:73
Line |
  73 |      (& $poshCommand --init --shell=pwsh --config="$config") | Invoke- …
     |      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Program 'posh-linux-arm64' failed to run: Exec format errorAt /home/pi/.local/share/powershell/Modules/oh-my-posh/3.181.1/oh-my-posh.psm1:73 char:6 +     (&
     | $poshCommand --init --shell=pwsh --config="$config") | Invoke- … +      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~.

Loading personal and system profiles took 2415ms.
[pi@raspberrypi]: ~/>

System is Raspberry Pi OS:

$  uname -a
Linux raspberrypi 5.10.60-v7l+ #1449 SMP Wed Aug 25 15:00:44 BST 2021 armv7l GNU/Linux

Version

3.181.1

Theme

Modified powerlevel10k_rainbow

What OS are you seeing the problem on?

Linux

Which shell are you using?

powershell

Relevant log output

No response

@josefwegner josefwegner added the 🐛 bug Something isn't working label Sep 14, 2021
@JanDeDobbeleer
Copy link
Owner

JanDeDobbeleer commented Sep 14, 2021

Interesting. So here we need to have the regular arm version up? Good to know. I'll revert that change.

@josefwegner
Copy link
Author

Yeah, sorry. There is a beta of a 64bit version, but it is missing some gimmicks (Minecraft Pi, Wolfram Alpha, DRM, hardware video decode, ...), so the official image is still 32bit (armv7).

JanDeDobbeleer added a commit that referenced this issue Sep 14, 2021
JanDeDobbeleer added a commit that referenced this issue Sep 14, 2021
@josefwegner
Copy link
Author

Thank you very much for the quick fix!

@JanDeDobbeleer
Copy link
Owner

@josefwegner let me know if it works!

@josefwegner
Copy link
Author

Yes, updated oh-my-posh, and it works again. Thanks!

Copy link

github-actions bot commented Apr 8, 2024

This issue has been automatically locked since there has not been any recent activity (i.e. last half year) after it was closed. It helps our maintainers focus on the active issues.
If you have found a problem that seems similar, please open a discussion first, complete the body with all the details necessary to reproduce, and mention this issue as reference.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🐛 bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants