Udating problem

Started by ldanna1945, August 08, 2024, 08:26:26 PM

Previous topic - Next topic
I tried to check for updates and got error cannot update repositories

Any Ideas?

Thanks in advance
LArry

https://pkg.opnsense.org/FreeBSD:13:amd64/24.1/sets/changelog.txz: Host does not resolve
Updating OPNsense repository catalogue...
pkg: https://mirrors.dotsrc.org/opnsense/FreeBSD:13:amd64/24.1/latest/meta.txz: No address record
repository OPNsense has no meta file, using default settings
pkg: https://mirrors.dotsrc.org/opnsense/FreeBSD:13:amd64/24.1/latest/packagesite.pkg: No address record
pkg: https://mirrors.dotsrc.org/opnsense/FreeBSD:13:amd64/24.1/latest/packagesite.txz: No address record
Unable to update repository OPNsense
Updating SunnyValley repository catalogue...
pkg: https://updates.zenarmor.com/opnsense/FreeBSD:13:amd64/24.1/${SUBSCRIPTION}/meta.txz: No address record
repository SunnyValley has no meta file, using default settings
pkg: https://updates.zenarmor.com/opnsense/FreeBSD:13:amd64/24.1/${SUBSCRIPTION}/packagesite.pkg: No address record
pkg: https://updates.zenarmor.com/opnsense/FreeBSD:13:amd64/24.1/${SUBSCRIPTION}/packagesite.txz: No address record
Unable to update repository SunnyValley
Error updating repositories!

DNS isn't working on the firewall itself. Give it a nameserver.


Cheers,
Franco

Observation
Looks like OPNsense cannot reach internet. From the console shell I cannot ping any outside address i.e 8.8.4.4 DNS server. Using the GUI to do a ping it also fails. OPNsense is in transparent bridge mode  so I think there is a configuration issue. Computers on the lan network behind the OPNsense work.

Larry

Success I believe,

So after much surfing internet I went in and created a gateway entry for the admin interface. Now updating seems to work so far. I've been able to upgrade OS to  24.7..1. Next is to see if I can upgrade Zenarmor and ClamAV.



More to come

LArry

Too Soon to rejoice!
OS updated fine but Clamav and Zenarmor doesn't seem to be able to update.

Here is a log message I got from Clamav after update failed

Clamd was NOT notified: Can't connect to clamd through /var/run/clamav/clamd.sock: Connection refused

Larry