OPNsense Forum

Archive => 16.7 Legacy Series => Topic started by: whatdoIknow on January 20, 2017, 03:08:59 pm

Title: [SOLVED] Lightsquid install and ACL Download problems
Post by: whatdoIknow on January 20, 2017, 03:08:59 pm
Hi,
I seem to be having issues installing lightsquid as when I use
# pkg install lightsquid

I get the following:
updating opnsense repository catalogue...
pkg: http://pkg.opnsense.org/freebsd:10:amd64/16.7/latest/meta.txz: no address record
repository opnsense has no meta file, using default settings
pkg: http://pkg.opnsense.org/freebsd:10:amd64/16.7/latest/packagesite.txz: no address record
unable to update repository opnsense
all repositories are up-to-date
pkg: repository opnsense cannot be opened. 'pkg update' required
pkg: no packages available to install matching 'lightsquid' have been found in the repositories



2nd) When trying to download ACL I get the following errors    - I added 2 links one http and the other ftp as I saw in a different post that ftp wasn't supported at the time.

Jan 20 13:54:19   fetchACLs.py: proxy acl: error downloading http://www.shallalist.de/Downloads/shallalist.tar.gz
Jan 20 13:54:19   configd.py: [ff13e807-f082-432d-b669-59c0ab111f8a] download proxy ACLs from remote locations
Jan 20 13:54:18   configd.py: generate template container OPNsense.Proxy
Jan 20 13:54:18   configd.py: [ecebb8d6-a4b4-419d-9085-354921044c31] generate template OPNsense.Proxy
Jan 20 13:54:10   fetchACLs.py: proxy acl: error downloading ftp://ftp.ut-capitole.fr/pub/reseau/cache/squidguard_contrib/blacklists.tar.gz
Jan 20 13:54:10   configd.py: [de276049-992c-4ada-a322-9bb40fcb9024] download proxy ACLs from remote                locations
Jan 20 13:54:10   configd.py: generate template container OPNsense.Proxy
Jan 20 13:54:10   configd.py: [608f4efe-888d-4bdc-bacd-544811d31f06] generate template OPNsense.Proxy



3rd) When trying to do an update of opnsense  - Repository Problem

Jan 20 13:55:00   configd.py: [05dd4730-0f13-4308-b108-a557d5583462] Script action failed with Command 'pkg rquery "%n|||%v|||%c|||%sh|||0"' returned non-zero exit status 74 at Traceback (most recent call last): File "/usr/local/opnsense/service/modules/processhandler.py", line 477, in execute stdout=output_stream, stderr=error_stream) File "/usr/local/lib/python2.7/subprocess.py", line 541, in check_call raise CalledProcessError(retcode, cmd) CalledProcessError: Command 'pkg rquery "%n|||%v|||%c|||%sh|||0"' returned non-zero exit status 74
Jan 20 13:55:00   configd.py: [05dd4730-0f13-4308-b108-a557d5583462] view remote packages
Jan 20 13:55:00   configd.py: [d15981e7-2598-4ff0-a242-e755be7c0b67] view local packages
Jan 20 13:55:00   configd.py: [e32a5224-5b0a-4147-a8b7-0ee404769227] Script action stderr returned "pkg: http://pkg.opnsense.org/FreeBSD:10:amd64/16.7/latest/meta.txz: No address record pkg: http://pkg.opnsense.org/FreeBSD:10:amd64/16.7/latest/packagesite.txz: No address record pkg: http://pkg.opnsense.org/FreeBSD:10:amd64/16.7/latest/meta.txz: No addre"
Jan 20 13:54:51   configd.py: [e32a5224-5b0a-4147-a8b7-0ee404769227] retrieve firmware update status
Jan 20 13:54:48   configd.py: [d4a7c34d-22db-4382-a357-c8a5f86a58b6] update firmware configuration
Jan 20 13:54:46   configd.py: [c605590f-4b62-4cb6-b407-227bc1e52d1c] Script action failed with Command 'pkg rquery "%n|||%v|||%c|||%sh|||0"' returned non-zero exit status 74 at Traceback (most recent call last): File "/usr/local/opnsense/service/modules/processhandler.py", line 477, in execute stdout=output_stream, stderr=error_stream) File "/usr/local/lib/python2.7/subprocess.py", line 541, in check_call raise CalledProcessError(retcode, cmd) CalledProcessError: Command 'pkg rquery "%n|||%v|||%c|||%sh|||0"' returned non-zero exit status 74
Jan 20 13:54:46   configd.py: [74806883-730a-4f87-9dbf-90df68476dec] retrieve firmware execution status
Jan 20 13:54:46   configd.py: [c605590f-4b62-4cb6-b407-227bc1e52d1c] view remote packages
Jan 20 13:54:46   configd.py: [eae170b8-204d-408b-961b-a8651acd5f0e] view local packages
Jan 20 13:54:33   lighttpd[38149]: (connections.c.1550) SSL: 1 -1 error:140E0197:SSL routines:SSL_shutdown:shutdown while in init

I am running OPNsense 16.7-amd64
FreeBSD 10.3-RELEASE-p5
OpenSSL 1.0.2h 3 May 2016

Please any help would be appreciated
thanks
Title: Re: Lightsquid install and ACL Download problems
Post by: franco on January 20, 2017, 03:13:31 pm
Hi there,

I think your DNS isn't working. Try to add a DNS server like 8.8.8.8 under System: Settings: General to confirm this temporarily.


Cheers,
Franco
Title: Re: Lightsquid install and ACL Download problems
Post by: whatdoIknow on January 23, 2017, 09:17:08 am
Hi there,

I think your DNS isn't working. Try to add a DNS server like 8.8.8.8 under System: Settings: General to confirm this temporarily.


Cheers,
Franco

Hi franco

Thank you for the help, fixing my DNS server seemed to have solved my issues.
 ;D

Much appreciated
whatdoIknow