Skip to content
New issue

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

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

Already on GitHub? # to your account

install on ubuntu could be smoother - package architecture (musl-linux-amd64) does not match system (amd64) #3173

Open
danie-dejager opened this issue Jan 10, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@danie-dejager
Copy link

Installing bat on ubuntu is blocked by the package architecture:

dpkg -i bat-musl_0.25.0_musl-linux-amd64.deb
dpkg: error processing archive bat-musl_0.25.0_musl-linux-amd64.deb (--install):
 package architecture (musl-linux-amd64) does not match system (amd64)
Errors were encountered while processing:
 bat-musl_0.25.0_musl-linux-amd64.de

To install I had to run:

dpkg --force-architecture -i bat-musl_0.25.0_musl-linux-amd64.deb
@danie-dejager danie-dejager added the bug Something isn't working label Jan 10, 2025
@danie-dejager danie-dejager changed the title install on ubuntu could be smoother install on ubuntu could be smoother - package architecture (musl-linux-amd64) does not match system (amd64) Jan 10, 2025
@keith-hall
Copy link
Collaborator

did you consider downloading the normal (non-musl) package? https://github.com/sharkdp/bat/releases/download/v0.25.0/bat_0.25.0_amd64.deb

@danie-dejager
Copy link
Author

danie-dejager commented Jan 15, 2025

The issue is with the musl version and how it is packaged. I'm sure it's related to creation configs and not the file name.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants