opnsense-theme-dark icon indicating copy to clipboard operation
opnsense-theme-dark copied to clipboard

Install fails on FreeBSD:13:amd64

Open flyswatta opened this issue 2 years ago • 12 comments

running the package installer on OPNsense 22.1 fails with the error: pkg: wrong architecture: FreeBSD:12:amd64 instead of FreeBSD:13:amd64

flyswatta avatar Feb 26 '22 16:02 flyswatta

Also happening for me. My poor eyes :)

xijio avatar Mar 23 '22 06:03 xijio

root@OPNsense:~ # sudo pkg add https://github.com/mihakralj/opnsense-theme-dark/raw/main/os-theme-dark-devel-0.1.txz Fetching os-theme-dark-devel-0.1.txz: 100% 162 KiB 166.1kB/s 00:01 Installing os-theme-dark-devel-0.1... pkg: wrong architecture: FreeBSD:12:amd64 instead of FreeBSD:13:amd64

CIR-Engineering avatar Apr 22 '22 19:04 CIR-Engineering

Works for me...

root@fw-lte:~ # uname -r 12.1-RELEASE-p22-HBSD root@fw-lte:~ # pkg add https://github.com/mihakralj/opnsense-theme-dark/raw/main/os-theme-dark-devel-0.1.txz Fetching os-theme-dark-devel-0.1.txz: 100% 162 KiB 166.1kB/s 00:01
Installing os-theme-dark-devel-0.1... Extracting os-theme-dark-devel-0.1: 100%

gorfou avatar May 22 '22 00:05 gorfou

Yeah you are using 12.1
Doesn't work for me on 13.0 either

3urobeat avatar Jun 12 '22 22:06 3urobeat

I just managed to install it after modifying instances of 12 with 13 inside both manifests. Here it is for reference: os-theme-dark-devel-0.1.txz.zip

Serphentas avatar Sep 15 '22 17:09 Serphentas

image

zinkerzumper2112 avatar Aug 29 '23 16:08 zinkerzumper2112

this is a dead branch. This plugin evolved into Dracula theme and Solarized theme, available here: https://github.com/mimugmail/opn-repo/tree/main/misc

I can also provide a hack to fix this specific .txz if you insist to use this one, let me know.

mihakralj avatar Aug 29 '23 16:08 mihakralj

thanks

zinkerzumper2112 avatar Aug 29 '23 17:08 zinkerzumper2112

image

zinkerzumper2112 avatar Aug 29 '23 17:08 zinkerzumper2112

That is odd. But, you can replace this command:

fetch -o /usr/local/etc/pkg/repos/mimugmail.conf https://www.routerperformance.net/mimugmail.conf

with this:

sudo echo 'mimugmail: {
  url: "https://opn-repo.routerperformance.net/repo/${ABI}",
  priority: 190,
  enabled: yes
}' > /usr/local/etc/pkg/repos/mimugmail.conf

and then run pkg update to get repo functional and ready to be used.

mihakralj avatar Aug 29 '23 17:08 mihakralj

image

my feeling is that you ran both commands as one; fetch is a separate command from pkg update - either execute them one after another or put && between them.

mihakralj avatar Aug 30 '23 00:08 mihakralj

I had success taking just the Dracula theme from your other repo. mihakralj/repo-mihak with command below

sudo pkg add https://repo.mihak.link/plugins/os-theme-dracula-0.6_1.pkg`
root@OPNsense:~ $ sudo pkg add https://repo.mihak.link/plugins/os-theme-dracula-0.6_1.pkg
Fetching os-theme-dracula-0.6_1.pkg: 100%    5 MiB   2.5MB/s    00:02
Installing os-theme-dracula-0.6_1...
Extracting os-theme-dracula-0.6_1: 100%

image

viciousdrop avatar Feb 24 '24 13:02 viciousdrop