Register for the iXsystems Community to get an ad-free experience and exclusive discounts in our eBay Store.

SOLVED pkg can't install anything

Status
Not open for further replies.

itskando

Member
Joined
Apr 30, 2018
Messages
171
I want to install openvpn in a jail; however,
the use of pkg install <anyProgram>
(including pkg install openvpn) states that
<anyProgram> isn't listed in the repository.
Code:
pkg: No packages available to install matching '<anyProgram>' have been found in the repositories


I do not believe that I have connection issues.
ping 192.168.86.1 (router IP) functions (in and out of jail).
ping www.google.com functions (in and out of jail).
[0% packet loss in all cases.]

I've been using my plex jail to start.
When I get pkg working,
I'll make new jail and create an openVPN server.


When I get a chance, I'll post:
• the jail parameters
• the ping outputs
• anything else?

This problem is listed here.
It mentions disabling security measures which seem implemented intentionally,
and no guide I have read has mentioned disabling something like this.
Is this a new standard practice?
 
Last edited:
D

dlavigne

Guest
That sounds like correct behavior for a jail created by a plugin installation. If you want to install your own pkgs, create a jail for this purpose.
 

itskando

Member
Joined
Apr 30, 2018
Messages
171
If you want to install your own pkgs, create a jail for this purpose.
The link I provided poses a solution to unbarring pkg restrictions.

I could make a new jail or modify the file listed in the link solution:
In the case of the latter:

• Is there a text file editor commonly included with restricted plugin repositories?
• Are there any other common knowledge restrictions when using plugins versus jails?

These questions aside, is there any other rule of thumb reasons to
always just make the jail and not use the plugin?
 

danb35

Wizened Sage
Joined
Aug 16, 2011
Messages
11,582
Is there a text file editor commonly included with restricted plugin repositories?
I believe ee is included. But why not make a new standard jail as recommended, rather than messing with one that isn't intended to be messed with?
 
Status
Not open for further replies.
Top