Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
22.1 Legacy Series
»
Missing /usr/local/etc/pkg/repos/OPNsense.conf
« previous
next »
Print
Pages: [
1
]
Author
Topic: Missing /usr/local/etc/pkg/repos/OPNsense.conf (Read 5435 times)
spectrematrix
Newbie
Posts: 3
Karma: 1
Missing /usr/local/etc/pkg/repos/OPNsense.conf
«
on:
December 15, 2021, 08:56:19 pm »
I had multiple failed attempts to update from dev version 22.1.b_141. I have tried to do a bootstrap install and now I have this issue where PKG shows unknown repository in update settings and running an update from Shell shows this:
opnsense-update
Missing /usr/local/etc/pkg/repos/OPNsense.conf
I am trying to find the correct file in the github to recreate the repo config, but I am not having luck.
Any help is appreciated.
Logged
spectrematrix
Newbie
Posts: 3
Karma: 1
Re: Missing /usr/local/etc/pkg/repos/OPNsense.conf
«
Reply #1 on:
December 15, 2021, 09:58:12 pm »
Can someone drop me a copy of the .conf text please.
Logged
franco
Administrator
Hero Member
Posts: 17657
Karma: 1611
Re: Missing /usr/local/etc/pkg/repos/OPNsense.conf
«
Reply #2 on:
December 16, 2021, 08:02:09 am »
Sorry, night time over here in Europe.
In general opnsense-bootstrap would bring everything in, but in the beta case you need to enable the snapshot option, which was broken by other things so the following patch is needed:
https://github.com/opnsense/update/commit/4a6db5d3ff9f82
# opnsense-bootstrap -zt opnsense-devel
That should do the trick then
Cheers,
Franco
Logged
spectrematrix
Newbie
Posts: 3
Karma: 1
Re: Missing /usr/local/etc/pkg/repos/OPNsense.conf
«
Reply #3 on:
December 16, 2021, 08:09:18 am »
Thank you sir! All good now.
Logged
franco
Administrator
Hero Member
Posts: 17657
Karma: 1611
Re: Missing /usr/local/etc/pkg/repos/OPNsense.conf
«
Reply #4 on:
December 16, 2021, 08:24:55 am »
Yay, thanks for the report!
I went a little further and added
https://github.com/opnsense/update/commit/7ba940e0d
which does automatic detection of the -t option now and this folds down to:
# opnsense-bootstrap -z
-z is needed, because we don't have stable branches and packages yet... that's coming with 22.1-RC1 in January.
Cheers,
Franco
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
22.1 Legacy Series
»
Missing /usr/local/etc/pkg/repos/OPNsense.conf