Installing squid from PCBSD - PBI inside jail

Status
Not open for further replies.

Malo

Cadet
Joined
Feb 22, 2013
Messages
6
Hi.. I'm trying to install squid inside my jail. Following the docs (http://doc.freenas.org/index.php/Installing_a_PC-BSD_PBI)
i run the following command inside jail
Code:
root@JailOne:/ # pkg install pcbsd-utils
The package management tool is not yet installed on your system.
Do you want to fetch and install it now? [y/N]: y
Bootstrapping pkg please wait
Installing pkg-1.0.11... done
If you are upgrading from the old package format, first run:
 
  # pkg2ng
Updating repository catalogue
repo.txz                                                                                                        100% 1832    1.8KB/s  1.8KB/s  00:00
pkg: Package 'pcbsd-utils' was not found in the repositories


But it looks like there is something wrong
Code:
root@JailOne:/ # pkg2ng
Fetching bsd.pkgng.mk as it is required for converting installed ports
/tmp/pkg2ng.8FK0bWXh/bsd.pkgng.mk            100% of  10 kB 1396 kBps
Conversion has been successfully finished
Your old packages database has been moved to: /var/db/pkg.bak.
root@JailOne:/ # pkg install pcbsd-utils
Updating repository catalogue
Repository catalogue is up-to-date, no need to fetch fresh copy
pkg: Package 'pcbsd-utils' was not found in the repositories
root@JailOne:/ # root@JailOne:/ # pkg install pcbsd-utils


If I run pbi_browser
Code:
root@JailOne:/ # pbi_browser
ERROR: No available repos!
root@JailOne:/ #


How can i download the repos?
 
D

dlavigne

Guest
Just to clarify, this error occurs after running these two commands (from the same doc link)?

Code:
pkg install pcbsd-utils
 
service pbid onestart
 

mrbryo

Cadet
Joined
Oct 18, 2013
Messages
5
Well, I ran the first command and it worked tonight. Not sure what changed...
Second command worked too...
 
Status
Not open for further replies.
Top