freight-team / freight

A modern take on the Debian archive.
Other
107 stars 37 forks source link

Deploying an aarch64 package breaks the registry #142

Closed JC3 closed 4 days ago

JC3 commented 4 days ago

When adding a package targeting aarch64 via freight add <packagefile> && freight cache, the following error occurs:

tee: /opt/packages/registry/apt/dists/stable-20241118120836003024287/main/binary-aarch64/Packages: No such file or directory

After this, all subsequent runs of freight fail with the same error. The only solution is to remove the offending package from /var/lib/freight/apt and run freight cache again.

Is there something I need to do to add aarch64 support?

JC3 commented 4 days ago

Adding "aarch64" to ARCHS in freight.conf and rerunning freight cache was all I needed to do.