OPNsense Forum

English Forums => General Discussion => Topic started by: citrusfizz on April 21, 2016, 11:35:11 pm

Title: [SOLVED] Updating OPNsense
Post by: citrusfizz on April 21, 2016, 11:35:11 pm
I am having trouble updating OPNSENSE

This url appears to be broken
http://mirrors.supranet.net/pub/opnsense/FreeBSD:10:amd64/16.1/latest/meta.txz




root@OPNsense:~ # sudo pkg -d update
DBG(1)[22835]> pkg initialized
Updating OPNsense repository catalogue...
DBG(1)[22835]> PkgRepo: verifying update for OPNsense
Repository OPNsense has a wrong packagesite, need to re-create database
DBG(1)[22835]> PkgRepo: need forced update of OPNsense
DBG(1)[22835]> Pkgrepo, begin update of '/var/db/pkg/repo-OPNsense.sqlite'
DBG(1)[22835]> Fetch: fetching from: http://mirrors.supranet.net/pub/opnsense/FreeBSD:10:amd64/16.1/latest/meta.txz with opts "i"
DBG(1)[22835]> Fetch: fetching from: http://mirrors.supranet.net/pub/opnsense/FreeBSD:10:amd64/16.1/latest/meta.txz with opts "i"
DBG(1)[22835]> Fetch: fetching from: http://mirrors.supranet.net/pub/opnsense/FreeBSD:10:amd64/16.1/latest/meta.txz with opts "i"
pkg: http://mirrors.supranet.net/pub/opnsense/FreeBSD:10:amd64/16.1/latest/meta.txz: Operation timed out
repository OPNsense has no meta file, using default settings
DBG(1)[22835]> Fetch: fetching from: http://mirrors.supranet.net/pub/opnsense/FreeBSD:10:amd64/16.1/latest/packagesite.txz with opts "i"
DBG(1)[22835]> Fetch: fetching from: http://mirrors.supranet.net/pub/opnsense/FreeBSD:10:amd64/16.1/latest/packagesite.txz with opts "i"
DBG(1)[22835]> Fetch: fetching from: http://mirrors.supranet.net/pub/opnsense/FreeBSD:10:amd64/16.1/latest/packagesite.txz with opts "i"
pkg: http://mirrors.supranet.net/pub/opnsense/FreeBSD:10:amd64/16.1/latest/packagesite.txz: Operation timed out
Unable to update repository OPNsense


root@OPNsense:~ # ping google.com
PING google.com (216.58.192.174): 56 data bytes
64 bytes from 216.58.192.174: icmp_seq=0 ttl=57 time=10.737 ms
^C
--- google.com ping statistics ---
1 packets transmitted, 1 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 10.737/10.737/10.737/0.000 ms



root@OPNsense:~ # uname -a
FreeBSD OPNsense.ciasdzx.com 10.2-RELEASE-p14 FreeBSD 10.2-RELEASE-p14 #0 b8ff7a2(stable/16.1): Sun Mar 20 08:51:28 CET 2016     root@sensey64:/usr/obj/usr/src/sys/SMP  amd64
Title: Re: Updating OPNSESE
Post by: citrusfizz on April 21, 2016, 11:38:14 pm
This was solved,

I had to switch mirrors  in
System -> Settings -> General -> Firmware Mirrors

to a new location
Title: Re: Updating OPNSESE
Post by: franco on April 22, 2016, 08:39:20 am
Supranet seems to be offline, will see if I can get a hold of the maintainer or if we should remove the mirror. Thanks for the report. :)