Resolved: 27.3.6 update failed and has left pkgs in a mess (or I have :-/)

Started by mannp, November 02, 2023, 04:39:57 PM

Previous topic - Next topic
Hi all

I am in a mess and wondered if I could get some sensible direction before I need to reinstall :)

I updated to 23.7.6 and the update failed, (loss of internet midway) leaving me with a broken pkg system.

I have force updated the pkg system and the cli seems happy with that, I tried an opnsense-boostrap, and it seems it is not able to download core as it's trying to access GitHub via ipv6

I can ping GitHub with ipv4, but it fails when it tries ipv6 (I can also wget -4 if I can manually download bootstrap files somehow?)

The GUI is giving me the following;

QuoteThe release type "opnsense" is not available on this repository.

full gui info;

Quote***GOT REQUEST TO CHECK FOR UPDATES***
Currently running OPNsense 23.7.6 at Thu Nov  2 15:34:36 GMT 2023
Fetching changelog information, please wait... Missing /usr/local/etc/pkg/repos/OPNsense.conf
Repository not found: OPNsense
Updating FreeBSD repository catalogue...
Fetching meta.conf: . done
Fetching packagesite.pkg: .......... done
Processing entries: .......... done
FreeBSD repository update completed. 34071 packages processed.
All repositories are up to date.
pkg: Unknown repository: OPNsense
Checking for upgrades (1 candidates): . done
Processing candidates (1 candidates): . done
Checking integrity... done (0 conflicting)
Your packages are up to date.
self: No packages available to install matching 'opnsense'
***DONE***

I have tried to touch the missing file and force update → sudo pkg update --force which succeeds but gives me the same GUI error above.

It feels like my ipv6 has borked somehow and a bootstrap might work if I can force only trying to update using ipv4; is that possible?

Thanks in advance

Resolved with an edit to the bootstrap script of 'fetch -4' and core downloaded and the script completed.

So I am back :)