OPNsense Forum

Archive => 17.1 Legacy Series => Topic started by: AssetBurned on November 16, 2016, 10:41:04 pm

Title: opnsense-update tries to reach FreeBSD:11:i386/16.7 ?
Post by: AssetBurned on November 16, 2016, 10:41:04 pm
Hi,

I tried to figure out how to get to a version past OPNsense 17.1.a_440-i386. And for that I tried to run the firmware update check from the GUI. And get a "Repository Problem" error.

So I checked in the console and saw that opnsense-update tries to reach http://pkg.opnsense.org/FreeBSD:11:i386/16.7/latest/meta.txz

I used this to update to 17.1.a:
# opnsense-update -t opnsense-devel
# opnsense-update -ur 17.1.a
# reboot

and now I tried to run this:
# opnsense-update -sn "17.1\/latest"
# opnsense-update -fp
# reboot

but still stuck with the 440 version and the repository error. Well no wonder that 16.7 folder doesn't exist in the FreeBSD 11 branch.

So what do I miss here?!

CU AssetBurned
Title: Re: opnsense-update tries to reach FreeBSD:11:i386/16.7 ?
Post by: franco on November 20, 2016, 09:18:17 pm
Hi AssetBurned

Thanks for trying 17.1-ALPHA. :)

It looks like the packages reinstall did not go through, but it's hard to guess what happened without providing the output from the commands.


Cheers,
Franco
Title: Re: opnsense-update tries to reach FreeBSD:11:i386/16.7 ?
Post by: franco on November 24, 2016, 03:22:12 pm
I found the issue with the recent update for pkg 1.9.3. I'm issuing 1.9.3_1 with a fix that is supposed to be in 1.9.4, which hasn't been released yet.
Title: Re: opnsense-update tries to reach FreeBSD:11:i386/16.7 ?
Post by: franco on November 24, 2016, 04:02:44 pm
ATTENTION TO CROSS-READERS: pkg update is for i386. it can break your amd64 system! change architecture accordingly in the link...

# pkg add -f https://pkg.opnsense.org/snapshots/i386/pkg-1.9.3_1.txz
# opnsense-update -upr 17.1.a
# /usr/local/etc/rc.reboot

That should now properly apply all packages. It will downgrade the opnsense-devel package, but that's just because the 17.1-ALPHA is older and there won't be any new snapshots before 17.1-BETA. :)
Title: Re: opnsense-update tries to reach FreeBSD:11:i386/16.7 ?
Post by: AssetBurned on November 24, 2016, 06:28:06 pm
Hi,

Thank you now it seems to work again from the webpage. However the "upr" doesn't work as u is not recognised as parameter.

CU AssetBurned
Title: Re: opnsense-update tries to reach FreeBSD:11:i386/16.7 ?
Post by: franco on November 24, 2016, 06:32:36 pm
The same for "-ur 17.1.a"?

If yes, what is the output of:

# pkg info opnsense


Thanks,
Franco
Title: Re: opnsense-update tries to reach FreeBSD:11:i386/16.7 ?
Post by: AssetBurned on November 28, 2016, 07:46:17 pm
yes same with -ur

The output is:
Shared object "labsal.so.7" not found, required by "pkg".

I checked with another opnsense installation that I archived and I get already an error when running this command:
pkg add -f https://pkg.opnsense.org/snapshots/i386/pkg-1.9.3_1.txz

the error states that it is for the wrong architecture.
Title: Re: opnsense-update tries to reach FreeBSD:11:i386/16.7 ?
Post by: franco on November 30, 2016, 08:54:37 am
That's why I put the all-caps disclaimer in this thread with a topic static "i386" in here.

I'll rebuild all for 16.7.10, the pkg bug was really nasty and impossible to catch (at least for me). Everything will be back to normal then.


Cheers,
Franco
Title: Re: opnsense-update tries to reach FreeBSD:11:i386/16.7 ?
Post by: tillsense on December 02, 2016, 07:34:44 pm
hi franco,

the link leads to the "404 Not Found" and the repo was so there neither for i386 nor amd64.
The requested URL /snapshots/amd64/pkg-1.9.3_1.txz was not found on this server.

cheers till
Title: Re: opnsense-update tries to reach FreeBSD:11:i386/16.7 ?
Post by: franco on December 02, 2016, 07:36:19 pm
I've pulled all the alpha images now, they were getting too old and no time to update them since work on the beta should go forward. Sorry.