OPNsense Forum

Archive => 23.7 Legacy Series => Topic started by: maclinuxfree on October 27, 2023, 08:32:39 AM

Title: [solved] Could not update pls help
Post by: maclinuxfree 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!
Title: Re: Could not update pls help
Post by: franco 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
Title: Re: Could not update pls help
Post by: maclinuxfree on October 27, 2023, 08:51:13 AM
Thank you. Is there a way to download pkg manually?
Title: Re: Could not update pls help
Post by: franco on October 27, 2023, 08:52:45 AM
The second step should restore the correct version. Not working for you?


Cheers,
Franco
Title: Re: Could not update pls help
Post by: maclinuxfree 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
Title: Re: Could not update pls help
Post by: maclinuxfree on October 27, 2023, 09:10:52 AM
and FreeBSD repo was alread disabled
Title: Re: Could not update pls help
Post by: franco on October 27, 2023, 09:12:02 AM
Ok, bigger hammer?

# pkg bootstrap -f


Cheers,
Franco
Title: Re: Could not update pls help
Post by: maclinuxfree on October 27, 2023, 09:14:33 AM
good hammer :)

worked

cheers marco
Title: Re: [solved] Could not update pls help
Post by: maclinuxfree 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***
Title: Re: [solved] Could not update pls help
Post by: franco 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