winget + bun on arm64 = "Hash not found for hardlink target"

Feb 12, 2025
60
0
0
bun wont install through winget on arm64, the bunx alias trips this

Hash not found for hardlink target: C:\Users\<user>\AppData\Local\Microsoft\WinGet\Packages\Oven-sh.Bun_Microsoft.Winget.Source_8wekyb3d8bbwe\.\bun-windows-aarch64\bun.exe
0x8a150052 : Failed to install portable package

worse part, it leaves an EMPTY uninstall key in HKCU so every retry fails with "different source already exists" until that key gets deleted