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

FreeBSD txz package says architecture is Linux #352

Open
notifiarr-bot opened this issue Oct 14, 2023 · 5 comments
Open

FreeBSD txz package says architecture is Linux #352

notifiarr-bot opened this issue Oct 14, 2023 · 5 comments
Labels
bug Something isn't working

Comments

@notifiarr-bot
Copy link

I may just be an idiot (probably) but can anyone help me figure out how to install this in a freebsd jail? I'm not great on freebsd. I downloaded the unpackerr.amd64.freebsd.gz but tar doesn't want to unzip it. I extracted it on windows and its just a file called unpackerr.amd64.freebsd. If I extract that, it looks like a bunch of binary files. If i try to use the txz, i get this:
Installing unpackerr-0.9.8-365...
pkg: wrong architecture: Linux:5:x86:64 instead of FreeBSD:13:amd64
any help would be appreciated

Origin user: kleptoroth
Origin message: Discord Server Link
Reporting user: twitchcaptain
Reporting message: Discord Server Link

@davidnewhall
Copy link
Collaborator

This can at least be worked around with -f.

root@freebsd:~david # pkg add -f unpackerr-0.12.0_547.amd64.txz
Installing unpackerr-0.12.0-547...
pkg: wrong architecture: Linux:5:x86:64 instead of FreeBSD:13:amd64
Extracting unpackerr-0.12.0-547: 100%
root@freebsd:~david # unpackerr
[INFO] 2024/01/17 20:42:08 Unpackerr v0.12.0 Starting! PID: 893, UID: 0, GID: 0, Now: 2024-01-17 20:42:08 -0800 PST
[INFO] 2024/01/17 20:42:08 ==> GoLift Discord: https://golift.io/discord <==
[INFO] 2024/01/17 20:42:08 ==> Startup Settings <==
[INFO] 2024/01/17 20:42:08  => Sonarr Config: 0 servers

@davidnewhall
Copy link
Collaborator

Unfortunately this is a problem in the package creation tool we use. I do not have any easy way to fix this. :(
Upstream issue: jordansissel/fpm#1880

@davidnewhall davidnewhall added the bug Something isn't working label Jan 18, 2024
@eegeeZA
Copy link

eegeeZA commented Jun 4, 2024

I get pkg: archive_read_open_filename(unpackerr.amd64.freebsd.gz): Unrecognized archive format when trying with v0.13.1 either the unpackerr.amd64.freebsd.gz or the unzipped version.

@davidnewhall
Copy link
Collaborator

davidnewhall commented Jun 8, 2024

When trying what, exactly? Does 0.12.0 work? Does the package file work? unpackerr-0.13.1_613.amd64.txz

The other files are binaries. Only the txz file will work with the pkg command.

@eegeeZA
Copy link

eegeeZA commented Jun 8, 2024

image
The last command works fine with the -f argument. I'm using that in the jail currently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

3 participants