OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • opnsense-update tries to reach FreeBSD:11:i386/16.7 ?
« previous next »
  • Print
Pages: [1]

Author Topic: opnsense-update tries to reach FreeBSD:11:i386/16.7 ?  (Read 4680 times)

AssetBurned

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
    • View Profile
opnsense-update tries to reach FreeBSD:11:i386/16.7 ?
« 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
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13986
  • Karma: 1211
    • View Profile
Re: opnsense-update tries to reach FreeBSD:11:i386/16.7 ?
« Reply #1 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
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13986
  • Karma: 1211
    • View Profile
Re: opnsense-update tries to reach FreeBSD:11:i386/16.7 ?
« Reply #2 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.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13986
  • Karma: 1211
    • View Profile
Re: opnsense-update tries to reach FreeBSD:11:i386/16.7 ?
« Reply #3 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. :)
Logged

AssetBurned

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
    • View Profile
Re: opnsense-update tries to reach FreeBSD:11:i386/16.7 ?
« Reply #4 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
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13986
  • Karma: 1211
    • View Profile
Re: opnsense-update tries to reach FreeBSD:11:i386/16.7 ?
« Reply #5 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
Logged

AssetBurned

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
    • View Profile
Re: opnsense-update tries to reach FreeBSD:11:i386/16.7 ?
« Reply #6 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.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13986
  • Karma: 1211
    • View Profile
Re: opnsense-update tries to reach FreeBSD:11:i386/16.7 ?
« Reply #7 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
Logged

tillsense

  • Sr. Member
  • ****
  • Posts: 309
  • Karma: 48
    • View Profile
Re: opnsense-update tries to reach FreeBSD:11:i386/16.7 ?
« Reply #8 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
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13986
  • Karma: 1211
    • View Profile
Re: opnsense-update tries to reach FreeBSD:11:i386/16.7 ?
« Reply #9 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.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • opnsense-update tries to reach FreeBSD:11:i386/16.7 ?
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2