Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
23.7 Legacy Series
»
[solved] Could not update pls help
« previous
next »
Print
Pages: [
1
]
Author
Topic: [solved] Could not update pls help (Read 1535 times)
maclinuxfree
Jr. Member
Posts: 57
Karma: 2
[solved] Could not update pls help
«
on:
October 27, 2023, 08:32:39 am »
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
Updating OPNsense repository catalogue...
pkg: No SRV record found for the repo 'OPNsense'
Fetching meta.conf: 100% 163 B 0.2kB/s 00:01
pkg: packagesite URL error for pkg+https://pkg.opnsense.org/FreeBSD:13:amd64/23.7/latest/packagesite.pkg -- pkg+:// implies SRV mirror type
pkg: packagesite URL error for pkg+https://pkg.opnsense.org/FreeBSD:13:amd64/23.7/latest/packagesite.txz -- pkg+:// implies SRV mirror type
Unable to update repository OPNsense
Updating mimugmail repository catalogue...
mimugmail repository is up to date.
Error updating repositories!
«
Last Edit: October 27, 2023, 09:15:10 am by maclinuxfree
»
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: Could not update pls help
«
Reply #1 on:
October 27, 2023, 08:41:30 am »
Yeah, you enabled the FreeBSD repository and now pkg 1.20 upgrade left you stranded.
1. Diable FreeBSD repo.
2. Run this:
# opnsense-revert pkg
Cheers,
Franco
Logged
maclinuxfree
Jr. Member
Posts: 57
Karma: 2
Re: Could not update pls help
«
Reply #2 on:
October 27, 2023, 08:51:13 am »
Thank you. Is there a way to download pkg manually?
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: Could not update pls help
«
Reply #3 on:
October 27, 2023, 08:52:45 am »
The second step should restore the correct version. Not working for you?
Cheers,
Franco
Logged
maclinuxfree
Jr. Member
Posts: 57
Karma: 2
Re: Could not update pls help
«
Reply #4 on:
October 27, 2023, 09:08:27 am »
sadly not. after revert.
Updating OPNsense repository catalogue...
pkg-static: No SRV record found for the repo 'OPNsense'
Fetching meta.conf: 100% 163 B 0.2kB/s 00:01
pkg-static: packagesite URL error for pkg+https://pkg.opnsense.org/FreeBSD:13:amd64/23.7/latest/packagesite.pkg -- pkg+:// implies SRV mirror type
pkg-static: packagesite URL error for pkg+https://pkg.opnsense.org/FreeBSD:13:amd64/23.7/latest/packagesite.txz -- pkg+:// implies SRV mirror type
Unable to update repository OPNsense
Updating mimugmail repository catalogue...
mimugmail repository is up to date.
Error updating repositories!
pkg-static: Repository OPNsense cannot be opened. 'pkg update' required
Logged
maclinuxfree
Jr. Member
Posts: 57
Karma: 2
Re: Could not update pls help
«
Reply #5 on:
October 27, 2023, 09:10:52 am »
and FreeBSD repo was alread disabled
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: Could not update pls help
«
Reply #6 on:
October 27, 2023, 09:12:02 am »
Ok, bigger hammer?
# pkg bootstrap -f
Cheers,
Franco
Logged
maclinuxfree
Jr. Member
Posts: 57
Karma: 2
Re: Could not update pls help
«
Reply #7 on:
October 27, 2023, 09:14:33 am »
good hammer
worked
cheers marco
Logged
maclinuxfree
Jr. Member
Posts: 57
Karma: 2
Re: [solved] Could not update pls help
«
Reply #8 on:
October 27, 2023, 09:17:00 am »
sorry now this occurs.
Number of packages to be removed: 4
Number of packages to be installed: 5
Number of packages to be upgraded: 19
Number of packages to be reinstalled: 71
The operation will free 72 MiB.
[1/99] Reinstalling pcre2-10.42...
[1/99] Extracting pcre2-10.42: .......... done
[2/99] Deinstalling p5-Authen-SASL-2.17...
[2/99] Deleting files for p5-Authen-SASL-2.17: .......... done
[3/99] Deinstalling p5-GSSAPI-0.28_2...
[3/99] Deleting files for p5-GSSAPI-0.28_2: .......... done
[4/99] Reinstalling libxml2-2.10.4_1...
[4/99] Extracting libxml2-2.10.4_1: .......... done
[5/99] Reinstalling php82-8.2.11...
[5/99] Extracting php82-8.2.11: .......... done
[6/99] Upgrading perl5 from 5.34.1_3 to 5.36.1_1...
[6/99] Extracting perl5-5.36.1_1: .......... done
[7/99] Reinstalling p5-TimeDate-2.33,1...
[7/99] Extracting p5-TimeDate-2.33,1: .......... done
pkg-static: Cannot delete vital package: opnsense!
pkg-static: If you are sure you want to remove opnsense,
pkg-static: unset the 'vital' flag with: pkg set -v 0 opnsense
Starting web GUI...done.
Generating RRD graphs...done.
***DONE***
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: [solved] Could not update pls help
«
Reply #9 on:
October 27, 2023, 09:17:41 am »
> Updating mimugmail repository catalogue...
Third party mirror not ready yet. See release notes for 23.7.7
Cheers,
Franco
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
23.7 Legacy Series
»
[solved] Could not update pls help