[solved] Could not update pls help

Started by maclinuxfree, October 27, 2023, 08:32:39 AM

Previous topic - Next topic
October 27, 2023, 08:32:39 AM Last Edit: October 27, 2023, 09:15:10 AM by maclinuxfree
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!

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

Thank you. Is there a way to download pkg manually?

The second step should restore the correct version. Not working for you?


Cheers,
Franco

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

and FreeBSD repo was alread disabled

Ok, bigger hammer?

# pkg bootstrap -f


Cheers,
Franco

good hammer :)

worked

cheers marco

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***

> Updating mimugmail repository catalogue...

Third party mirror not ready yet. See release notes for 23.7.7 ;)


Cheers,
Franco