opnsense-update tries to reach FreeBSD:11:i386/16.7 ?

Started by AssetBurned, November 16, 2016, 10:41:04 PM

Previous topic - Next topic
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

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

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.

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. :)

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

The same for "-ur 17.1.a"?

If yes, what is the output of:

# pkg info opnsense


Thanks,
Franco

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.

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

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

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.