# Unsupported architecture

**URL:** <https://discourse.julialang.org/t/unsupported-architecture/48786>\
**Category:** New to Julia\
**Tags:** package\
**Created:** [October 22, 2020, 1:37am UTC](https://discourse.julialang.org/t/unsupported-architecture/48786 "2020-10-22T01:37:01Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![jacob-roth](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jacob-roth/32/1862_2.png) [@jacob-roth](https://discourse.julialang.org/u/jacob-roth)\
**Post date:** [October 22, 2020, 1:37am UTC](https://discourse.julialang.org/t/unsupported-architecture/48786/1 "2020-10-22T01:37:01Z")

</div>

I just updated to MacOS 10.15.7 and am having some registries trouble.  
I try to add `LinearAlgebra` (tested with other basic pkgs too) and receive the following error.  
Any idea what might be causing this and how to fix?  
I `rm -rf` the registries director and retried with no luck.

```julia
Updating registry at `~/.julia/registries/General`
   Updating git-repo `https://github.com/JuliaRegistries/General.git`
  Resolving package versions...
  Installed Zlib_jll ─ v1.2.11+19
ERROR: LoadError: ArgumentError: Unsupported architecture 'aarch64' for macOS
Stacktrace:
 [1] MacOS at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.5/Pkg/src/BinaryPlatforms.jl:144 [inlined]
 [2] unpack_platform(::Dict{String,Any}, ::String, ::String) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.5/Pkg/src/Artifacts.jl:429
 [3] (::Pkg.Artifacts.var"#21#22"{String,String})(::Dict{String,Any}) at ./none:0
 [4] iterate at ./generator.jl:47 [inlined]
 [5] Dict{Pkg.BinaryPlatforms.Platform,Dict{String,Any}}(::Base.Generator{Array{Dict{String,Any},1},Pkg.Artifacts.var"#21#22"{String,String}}) at ./dict.jl:102
 [6] artifact_meta(::String, ::Dict{String,Any}, ::String; platform::Pkg.BinaryPlatforms.Platform) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.5/Pkg/src/Artifacts.jl:553
 [7] ensure_all_artifacts_installed(::String; platform::Pkg.BinaryPlatforms.Platform, pkg_uuid::Nothing, include_lazy::Bool, verbose::Bool, quiet_download::Bool) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.5/Pkg/src/Artifacts.jl:951
 [8] download_artifacts(::Pkg.Types.Context, ::Array{String,1}; platform::Pkg.BinaryPlatforms.MacOS, verbose::Bool) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.5/Pkg/src/Operations.jl:663
 [9] download_artifacts(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}; platform::Pkg.BinaryPlatforms.MacOS, verbose::Bool) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.5/Pkg/src/Operations.jl:642
 [10] add(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}, ::Array{Base.UUID,1}; preserve::Pkg.Types.PreserveLevel, platform::Pkg.BinaryPlatforms.MacOS) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.5/Pkg/src/Operations.jl:1141
 [11] add(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}; preserve::Pkg.Types.PreserveLevel, platform::Pkg.BinaryPlatforms.MacOS, kwargs::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.5/Pkg/src/API.jl:189
 [12] add(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.5/Pkg/src/API.jl:140
 [13] #add#21 at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.5/Pkg/src/API.jl:67 [inlined]
 [14] add at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.5/Pkg/src/API.jl:67 [inlined]
 [15] #add#20 at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.5/Pkg/src/API.jl:66 [inlined]
 [16] add at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.5/Pkg/src/API.jl:66 [inlined]
 [17] add(::String; kwargs::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.5/Pkg/src/API.jl:65
 [18] add(::String) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.5/Pkg/src/API.jl:65
 [19] top-level scope at /Users/myu/.julia/config/startup.jl:2
 [20] include(::Function, ::Module, ::String) at ./Base.jl:380
 [21] include at ./Base.jl:368 [inlined]
 [22] include_ifexists at ./client.jl:213 [inlined]
 [23] load_julia_startup() at ./client.jl:328
 [24] exec_options(::Base.JLOptions) at ./client.jl:267
 [25] _start() at ./client.jl:506

```

---

<div class="post-metadata">

**Author:** ![metab0t](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/metab0t/32/15551_2.png) [@metab0t](https://discourse.julialang.org/u/metab0t)\
**Post date:** [October 22, 2020, 1:56am UTC](https://discourse.julialang.org/t/unsupported-architecture/48786/2 "2020-10-22T01:56:19Z")

</div>

I also see the same error today.  
It might be related to the experimental platform [commit](https://github.com/JuliaPackaging/Yggdrasil/commit/a9872abf38e8494ef26cfb9a1087faa69ca88eca)  
@staticfloat Can you have a look into this issue?

---

<div class="post-metadata">

**Author:** ![FCo](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fco/32/12808_2.png) [@FCo](https://discourse.julialang.org/u/FCo)\
**Post date:** [October 22, 2020, 1:59am UTC](https://discourse.julialang.org/t/unsupported-architecture/48786/3 "2020-10-22T01:59:29Z")

</div>

I just got the same error too! (Julia v1.5.0)

---

<div class="post-metadata">

**Author:** ![alyst](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/alyst/32/18855_2.png) [@alyst](https://discourse.julialang.org/u/alyst)\
**Post date:** [October 22, 2020, 2:17am UTC](https://discourse.julialang.org/t/unsupported-architecture/48786/4 "2020-10-22T02:17:04Z")

</div>

me too (Julia 1.5.0)  
It really looks like it’s related to Zlib\_jll as when I remove everything that depends on it, the error goes away.

---

<div class="post-metadata">

**Author:** ![Hugo\_Carlos\_Martinez](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/hugo_carlos_martinez/32/18857_2.png) [@Hugo\_Carlos\_Martinez](https://discourse.julialang.org/u/Hugo_Carlos_Martinez)\
**Post date:** [October 22, 2020, 2:47am UTC](https://discourse.julialang.org/t/unsupported-architecture/48786/5 "2020-10-22T02:47:59Z")

</div>

Same mistake on install Flux

---

<div class="post-metadata">

**Author:** ![staticfloat](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/staticfloat/32/34_2.png) [@staticfloat](https://discourse.julialang.org/u/staticfloat)\
**Post date:** [October 22, 2020, 2:55am UTC](https://discourse.julialang.org/t/unsupported-architecture/48786/6 "2020-10-22T02:55:04Z")

</div>

The new `Zlib_jll` release has been reverted, please `pkg> update` and try again.

---

<div class="post-metadata">

**Author:** ![liuyxpp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/liuyxpp/32/9870_2.png) [@liuyxpp](https://discourse.julialang.org/u/liuyxpp)\
**Post date:** [October 22, 2020, 3:10am UTC](https://discourse.julialang.org/t/unsupported-architecture/48786/7 "2020-10-22T03:10:32Z")

</div>

Same error when install DrWatson.

```julia
(@v1.5) pkg> add DrWatson
   Updating registry at `~/.julia/registries/General`
######################################################################## 100.0%
  Resolving package versions...
  Installed Zstd_jll ────────────────── v1.4.5+2
  Installed ghr_jll ─────────────────── v0.13.0+1
  Installed Libgcrypt_jll ───────────── v1.8.5+4
  Installed Glib_jll ────────────────── v2.59.0+4
  Installed Xorg_libXext_jll ────────── v1.3.4+4
  Installed Libmount_jll ────────────── v2.34.0+3
  Installed Xorg_libX11_jll ─────────── v1.6.9+4
  Installed DrWatson ────────────────── v1.16.1
  Installed OpenSpecFun_jll ─────────── v0.5.3+4
  Installed Libglvnd_jll ────────────── v1.3.0+3
  Installed Libuuid_jll ─────────────── v2.34.0+7
  Installed Xorg_xtrans_jll ─────────── v1.4.0+3
  Installed Xorg_libXrandr_jll ──────── v1.5.2+4
  Installed ZeroMQ_jll ──────────────── v4.3.2+5
  Installed Xorg_libXdmcp_jll ───────── v1.1.3+4
  Installed OpenBLAS_jll ────────────── v0.3.10+1
  Installed MPFR_jll ────────────────── v4.0.2+4
  Installed XML2_jll ────────────────── v2.9.10+3
  Installed XSLT_jll ────────────────── v1.1.33+4
  Installed Cairo_jll ───────────────── v1.16.0+6
  Installed Libffi_jll ──────────────── v3.2.1+4
  Installed Xorg_libXinerama_jll ────── v1.1.4+4
  Installed Pixman_jll ──────────────── v0.38.4+5
  Installed Xorg_libpthread_stubs_jll ─ v0.1.0+3
  Installed Libiconv_jll ────────────── v1.16.0+7
  Installed Xorg_libXrender_jll ─────── v0.9.10+4
  Installed Libgpg_error_jll ────────── v1.36.0+3
  Installed FFTW_jll ────────────────── v3.3.9+6
  Installed PCRE_jll ────────────────── v8.42.0+4
  Installed LZO_jll ─────────────────── v2.10.0+3
  Installed Xorg_libXi_jll ──────────── v1.7.10+4
  Installed Xorg_libXfixes_jll ──────── v5.0.3+4
  Installed Libtiff_jll ─────────────── v4.1.0+2
  Installed Expat_jll ───────────────── v2.2.7+6
  Installed JpegTurbo_jll ───────────── v2.0.1+3
  Installed Xorg_libXau_jll ─────────── v1.0.9+4
  Installed Xorg_libxcb_jll ─────────── v1.13.0+3
  Installed Xorg_libXcursor_jll ─────── v1.2.0+4
  Installed Gettext_jll ─────────────── v0.20.1+7
  Installed Fontconfig_jll ──────────── v2.13.1+14
  Installed Zlib_jll ────────────────── v1.2.11+18
  Installed GMP_jll ─────────────────── v6.1.2+7
Downloading artifact: ghr
Downloading artifact: ZeroMQ
ERROR: ArgumentError: Unsupported architecture 'aarch64' for macOS

```

Run update again does not help.

```julia
(@v1.5) pkg> update
   Updating registry at `~/.julia/registries/General`
ERROR: ArgumentError: Unsupported architecture 'aarch64' for macOS

```

Resolve cmd also reports error:

```julia
(@v1.5) pkg> resolve
ERROR: ArgumentError: Unsupported architecture 'aarch64' for macOS

```

---

<div class="post-metadata">

**Author:** ![staticfloat](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/staticfloat/32/34_2.png) [@staticfloat](https://discourse.julialang.org/u/staticfloat)\
**Post date:** [October 22, 2020, 3:13am UTC](https://discourse.julialang.org/t/unsupported-architecture/48786/8 "2020-10-22T03:13:10Z")

</div>

Yes, there are other packages that need reverting, those are currently in-process here: [https://github.com/JuliaRegistries/General/pull/23433](https://github.com/JuliaRegistries/General/pull/23433)

Once that is merged, `update` and try again!

---

<div class="post-metadata">

**Author:** ![Ahmed\_Salih](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ahmed_salih/32/206579_2.png) [@Ahmed\_Salih](https://discourse.julialang.org/u/Ahmed_Salih)\
**Post date:** [October 23, 2020, 6:51pm UTC](https://discourse.julialang.org/t/unsupported-architecture/48786/9 "2020-10-23T18:51:01Z")

</div>

I don’t understand why I see this when I am on Windows? 🙂

Kind regards

---

<div class="post-metadata">

**Author:** ![staticfloat](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/staticfloat/32/34_2.png) [@staticfloat](https://discourse.julialang.org/u/staticfloat)\
**Post date:** [October 23, 2020, 7:09pm UTC](https://discourse.julialang.org/t/unsupported-architecture/48786/10 "2020-10-23T19:09:36Z")

</div>

Have you done a `Pkg.update()` recently? The problematic commit should have been reverted.

---

<div class="post-metadata">

**Author:** ![LachanceAlex](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lachancealex/32/18907_2.png) [@LachanceAlex](https://discourse.julialang.org/u/LachanceAlex)\
**Post date:** [October 23, 2020, 7:20pm UTC](https://discourse.julialang.org/t/unsupported-architecture/48786/11 "2020-10-23T19:20:43Z")

</div>

I’m also on MacOS 10.15.7 and am having this issue.

@staticfloat I get the error when I run Pkg.update(), so I can’t use that to solve it

(@v1.4) pkg\> update  
Updating registry at `~/.julia/registries/General`  
Updating git-repo `https://github.com/JuliaRegistries/General.git`  
ERROR: ArgumentError: Unsupported architecture ‘aarch64’ for macOS  
Stacktrace:  
[1] MacOS at /Users/julia/buildbot/worker/package\_macos64/build/usr/share/julia/stdlib/v1.4/Pkg/src/BinaryPlatforms.jl:216 [inlined]  
[2] unpack\_platform(::Dict{String,Any}, ::String, ::String) at /Users/julia/buildbot/worker/package\_macos64/build/usr/share/julia/stdlib/v1.4/Pkg/src/Artifacts.jl:429  
[3] (::Pkg.Artifacts.var"#21#22"{String,String})(::Dict{String,Any}) at ./none:0  
etc…

---

<div class="post-metadata">

**Author:** ![staticfloat](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/staticfloat/32/34_2.png) [@staticfloat](https://discourse.julialang.org/u/staticfloat)\
**Post date:** [October 23, 2020, 7:33pm UTC](https://discourse.julialang.org/t/unsupported-architecture/48786/12 "2020-10-23T19:33:25Z")

</div>

Can you please give me the following information:

```julia
$ cd ~/.julia/registries/General/
$ git log -1
commit 3d71c93e612c37d1485dacc89b5a3e86726ddd05 (HEAD -> master, origin/master)
Author: Registrator <ci@juliacomputing.com>
Date: Fri Oct 23 22:08:59 2020 +0530

    New version: RuntimeGeneratedFunctions v0.4.1 (#23547)
    
    UUID: 7e49a35a-f44a-4d26-94aa-eba1b4ca6b47
    Repo: https://github.com/SciML/RuntimeGeneratedFunctions.jl.git
    Tree: 55b38c4af78ea3b81b15fb6734e761bca265b1c6
    
    Registrator tree SHA: e934b8c55381f28735124f23e8f7e96d09b20416

```

```julia
pkg> status
Status `~/.julia/environments/v1.5/Project.toml`
  [12aac903] BinaryBuilder v0.3.0 `~/.julia/dev/BinaryBuilder`
  [7f725544] BinaryBuilderBase v0.5.0 `~/.julia/dev/BinaryBuilderBase`
...
  [83775a58] Zlib_jll v1.2.11+19 `~/.julia/dev/Zlib_jll`

```

---

<div class="post-metadata">

**Author:** ![jeremiedb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jeremiedb/32/29150_2.png) [@jeremiedb](https://discourse.julialang.org/u/jeremiedb)\
**Post date:** [October 23, 2020, 7:37pm UTC](https://discourse.julialang.org/t/unsupported-architecture/48786/13 "2020-10-23T19:37:48Z")

</div>

```julia
C:\Users\Jeremie\.julia\registries\General>git log -1
commit d690558fb1f8740d46a1bd18758ccbcfd0846e9e (HEAD -> master, origin/master)
Author: Registrator <ci@juliacomputing.com>
Date: Sat Oct 24 00:56:52 2020 +0530

    New version: MultivariateMoments v0.3.3 (#23552)

    UUID: f4abf1af-0426-5881-a0da-e2f168889b5e
    Repo: https://github.com/JuliaAlgebra/MultivariateMoments.jl.git
    Tree: 534a1feb8416b10f4991bd8c3107cdae47748e15

    Registrator tree SHA: e934b8c55381f28735124f23e8f7e96d09b20416

```

```julia
(@v1.5) pkg> st
Status `C:\Users\Jeremie\.julia\environments\v1.5\Project.toml`
  [1c724243] AWSS3 v0.7.2
  [c52e3926] Atom v0.12.24
  [fbb218c0] BSON v0.2.6
  [6e4b80f9] BenchmarkTools v0.5.0
  [336ed68f] CSV v0.7.7
  [052768ef] CUDA v2.0.2
  [f6006082] EvoTrees v0.5.1
  [c43c736e] Genie v1.3.0
  [e5e0dc1b] Juno v0.8.4
  [91a5bcdd] Plots v1.6.8
  [6f49c342] RCall v0.13.9
  [295af30f] Revise v3.1.6
  [90137ffa] StaticArrays v0.12.4
  [2913bbd2] StatsBase v0.33.1
  [fd094767] Suppressor v0.2.0
  [f269a46b] TimeZones v1.4.0
  [009559a3] XGBoost v1.1.1

(@v1.5) pkg>

```

That’s on Windows, same issue on Ubuntu machine.

---

<div class="post-metadata">

**Author:** ![LachanceAlex](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lachancealex/32/18907_2.png) [@LachanceAlex](https://discourse.julialang.org/u/LachanceAlex)\
**Post date:** [October 23, 2020, 7:48pm UTC](https://discourse.julialang.org/t/unsupported-architecture/48786/14 "2020-10-23T19:48:16Z")

</div>

commit 2f9c99095867c91d5dd7503ea94c285f6a6727ec (HEAD → master, origin/master)  
Author: Registrator [ci@juliacomputing.com](mailto:ci@juliacomputing.com)  
Date: Sat Oct 24 01:08:01 2020 +0530

```
New version: Unfolding v0.1.3 (#23554)

UUID: c5d2ca1b-4127-462e-b5fa-7f6e5ca16f83
Repo: https://github.com/rmcaixeta/Unfolding.jl.git
Tree: 210642ed60bbabc353bde5413f7257bfa9005ffb

Registrator tree SHA: e934b8c55381f28735124f23e8f7e96d09b20416

```

pkg\> status  
Project projectname v0.1.0  
Status `~/projectDIR//Project.toml`  
[336ed68f] CSV v0.7.7  
[19ecbf4d] Codecs v0.5.0  
[a93c6f00] DataFrames v0.21.7  
[7806a523] DecisionTree v0.10.9  
[31c24e10] Distributions v0.23.10  
[c43c736e] Genie v1.1.0  
[0ef565a4] Geodesy v0.5.0  
[f67ccb44] HDF5 v0.13.5  
[cd3eb016] HTTP v0.8.17  
[f7bf1975] Impute v0.1.1  
[4138dd39] JLD v0.10.0  
[682c06a0] JSON v0.21.0  
[7d188eb4] JSONSchema v0.3.2  
[e6f89c97] LoggingExtras v0.4.2  
[295af30f] Revise v2.7.4  
[30578b45] URIParser v0.4.1  
[ddb6d928] YAML v0.4.2  
[ade2ca70] Dates  
[56ddb016] Logging  
[44cfe95a] Pkg  
[9a3f8284] Random  
[6462fe0b] Sockets  
[10745b16] Statistics

---

<div class="post-metadata">

**Author:** ![staticfloat](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/staticfloat/32/34_2.png) [@staticfloat](https://discourse.julialang.org/u/staticfloat)\
**Post date:** [October 23, 2020, 7:56pm UTC](https://discourse.julialang.org/t/unsupported-architecture/48786/15 "2020-10-23T19:56:01Z")

</div>

It appears a new package version snuck in that broke things again. We’ve since yanked that version; please now `Pkg.update()` and try again.

---

<div class="post-metadata">

**Author:** ![LachanceAlex](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lachancealex/32/18907_2.png) [@LachanceAlex](https://discourse.julialang.org/u/LachanceAlex)\
**Post date:** [October 23, 2020, 8:02pm UTC](https://discourse.julialang.org/t/unsupported-architecture/48786/16 "2020-10-23T20:02:47Z")

</div>

Works for me now! Thanks!

---

<div class="post-metadata">

**Author:** ![liuyxpp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/liuyxpp/32/9870_2.png) [@liuyxpp](https://discourse.julialang.org/u/liuyxpp)\
**Post date:** [October 24, 2020, 8:20am UTC](https://discourse.julialang.org/t/unsupported-architecture/48786/17 "2020-10-24T08:20:59Z")

</div>

Everything works now. Thanks!
