OPNsense Forum

Archive => 20.7 Legacy Series => Topic started by: Pfirepfox on February 14, 2021, 02:57:09 PM

Title: Updates not working
Post by: Pfirepfox on February 14, 2021, 02:57:09 PM
Hi all,

I am attempting to upgrade to the latest series but keep getting greeted with "Timeout while connecting to the selected mirror" or occasionally "the package manager is not responding". At the moment i am using LibreSSL, Production and Hostcentral in Melbourne Australia and able to hit the mirror on my LAN and download the packages individually. Updating from console remains at "Fetching change log information, please wait...". Also all plugins installed are now showing "orphaned". IDS/IPS appears clean with no alerts triggered at update time and Unbound appears ok as i can browse to the mirror.

Also "do not use the local DNS service as a nameserver for this system" is checked
As well as "prefer to use IPv4 even if IPv6 is available" is checked

Has anyone experienced this or know of a fix?

Thanks
Title: Re: Updates not working
Post by: Pfirepfox on February 15, 2021, 02:58:49 PM
I have tried to force the update through console again this time using the force flag, output below.


root@OPNsense:~ # sudo pkg -d update -f
DBG(1)[81561]> pkg initialized
Updating OPNsense repository catalogue...
DBG(1)[81561]> PkgRepo: verifying update for OPNsense
DBG(1)[81561]> Pkgrepo, begin update of '/var/db/pkg/repo-OPNsense.sqlite'
DBG(1)[81561]> Request to fetch pkg+http://mirror.as24220.net/opnsense/FreeBSD:12:amd64/21.1/libressl/meta.conf
DBG(1)[81561]> opening libfetch fetcher
DBG(1)[81561]> Fetch > libfetch: connecting
DBG(1)[81561]> Fetch: fetching from: http://mirror.as24220.net/opnsense/FreeBSD:12:amd64/21.1/libressl/meta.conf with opts "i"
DBG(1)[81561]> Fetch: fetcher chosen: http
Fetching meta.conf:   0%


Anyone aware of why meta.conf would fail to download?
Title: Re: Updates not working
Post by: Pfirepfox on February 16, 2021, 03:13:45 PM
I have now managed to get meta.conf to download but fetching packagesite.txz now times out


root@OPNsense:~ # sudo pkg -d update -f
DBG(1)[33446]> pkg initialized
Updating OPNsense repository catalogue...
DBG(1)[33446]> PkgRepo: verifying update for OPNsense
DBG(1)[33446]> Pkgrepo, begin update of '/var/db/pkg/repo-OPNsense.sqlite'
DBG(1)[33446]> Request to fetch pkg+http://mirrors.nycbug.org/pub/opnsense/FreeBSD:12:amd64/21.1/libressl/meta.conf
DBG(1)[33446]> opening libfetch fetcher
DBG(1)[33446]> Fetch > libfetch: connecting
DBG(1)[33446]> Fetch: fetching from: http://mirrors.nycbug.org/pub/opnsense/FreeBSD:12:amd64/21.1/libressl/meta.conf with opts "i"
DBG(1)[33446]> Fetch: fetcher chosen: http
Fetching meta.conf: 100%    163 B   0.2kB/s    00:01
DBG(1)[33446]> Request to fetch pkg+http://mirrors.nycbug.org/pub/opnsense/FreeBSD:12:amd64/21.1/libressl/packagesite.txz
DBG(1)[33446]> opening libfetch fetcher
DBG(1)[33446]> Fetch > libfetch: connecting
DBG(1)[33446]> Fetch: fetching from: http://mirrors.nycbug.org/pub/opnsense/FreeBSD:12:amd64/21.1/libressl/packagesite.txz with opts "i"
DBG(1)[33446]> Fetch: fetcher chosen: http
Fetching packagesite.txz:  60%  120 KiB 122.9kB/s    00:00 ETA