r/opnsenseโ€ข
marunga

Can't update 21.7.7 anymore - Fetch times out no matter what.

***GOT REQUEST TO CHECK FOR UPDATES***

Currently running OPNsense 21.7.7 (amd64/OpenSSL) at Sun May 1 15:01:51 CEST 2022

Fetching changelog information, please wait... fetch: transfer timed out

Updating OPNsense repository catalogue...

pkg: https://opnsense-mirror.hiho.ch/FreeBSD:12:amd64/21.7/latest/meta.txz: Operation timed out

repository OPNsense has no meta file, using default settings

pkg: https://opnsense-mirror.hiho.ch/FreeBSD:12:amd64/21.7/latest/packagesite.txz: Operation timed out

Unable to update repository OPNsense

Error updating repositories!

pkg: Repository OPNsense cannot be opened. 'pkg update' required

Checking integrity... done (0 conflicting)

Your packages are up to date.

***DONE***

Hi everyone, I get the error message shown above whenever I try to update a 21.7.7 OPNSense Appliance.

What I have tried so far

  • Of course: System has been rebooted
  • Verified the WAN connection works. I can ping both from LAN Hosts as well directly from the box.
  • Enabled "Prefer IP4"
  • Tried multiple repositories (including the default one)
  • Tried to update via CLI both by option 12 or by shell (the first one simply doing nothing, the later one also timing out)
  • Tried to use " sudo pkg install -r OPNsense -f pkg " to redo pkg

โ€‹

Has anyone any ideas how to proceed here? I would rather not reinstall the box atm and tbh I am all out of ideas.

Kind regards,

Rob

Posted May 1, 2022, 1:26 PM UTC ยท edited

69
madrascafeโ€ข

try changing your DNS to 1.1.1.1 and see if that resolves it

what happens when you open this link in your browser?

https://opnsense-mirror.hiho.ch/FreeBSD:12:amd64/21.7/latest/

3
ctrl-brkโ€ข

try changing your DNS to 1.1.1.1 and see if that resolves it

I see what you did there

5
madrascafeโ€ข

๐Ÿ˜‰

3
marungaOPโ€ข

Thank you for your help!

1.1.1.1 was already set up as the primary DNS (see the screenshot).

But it seems DNS is indeed the problem - I can also not resolve other domainnames from the box (the box is not the DNS server for the network, I use adguard for that)

โ€‹

The link resolves to a standard folder in the browser

1
madrascafeโ€ข

Disable Adguard for a short time, use unbound a d use port 53 there and maybe after uograde revert back

1
marungaOPโ€ข

Found the solution in the end - a defective route routed all DNS traffic on the device to an invalid target (a test target I had forgotten about). As the normal DNS is done by the Adguard that didn't affect any other devices.

1
madrascafeโ€ข

uncheck the "DNS list can be overridden..."

1
zerocoldx911โ€ข

Opens just fine

1
zerocoldx911โ€ข

21.7.8 having same problems, sounds like the repos might be dead

1