Hello.
I created some jails by https://docs.freebsd.org/en/books/handbook/jails/.
Part of my jail.conf:
Host situation:
Jail situation:
If i want to install some package as
What could it be?
I created some jails by https://docs.freebsd.org/en/books/handbook/jails/.
Part of my jail.conf:
Code:
wsgi {
host.hostname = ${name}; # Hostname
path = "/usr/local/jails/containers/${name}"; # Path to the jail
exec.consolelog = "/var/log/jail_${name}_console.log";
mount.fstab="/etc/fstab.${name}";
vnet;
vnet.interface = "e0b_${name}"; # vnet interface(s)
exec.prestart += "/usr/local/sbin/jib addm ${name} re0";
exec.poststop += "/usr/local/sbin/jib destroy ${name}";
}
Host situation:
freebsd-version -kru
Code:
root@six:/usr/home/sailorsamoor # freebsd-version -kru
15.1-RELEASE
15.1-RELEASE
15.1-RELEASE
root@six:/usr/home/sailorsamoor #
Jail situation:
freebsd-version -j wsgi
Code:
root@six:/usr/home/sailorsamoor # freebsd-version -j wsgi
15.1-RELEASE
root@six:/usr/home/sailorsamoor #
If i want to install some package as
pkg -j wsgi install lsof, so I get this:
Code:
root@six:/usr/home/sailorsamoor # pkg -j wsgi install lsof
Updating FreeBSD-ports repository catalogue...
pkg: No SRV record found for the repo 'FreeBSD-ports'
pkg: Failed to fetch https://pkg.FreeBSD.org/FreeBSD:15:amd64/quarterly/meta.conf: Could not resolve hostname
pkg: packagesite URL error for pkg+https://pkg.FreeBSD.org/FreeBSD:15:amd64/quarterly/meta.txz -- pkg+:// implies SRV mirror type
repository FreeBSD-ports has no meta file, using default settings
pkg: packagesite URL error for pkg+https://pkg.FreeBSD.org/FreeBSD:15:amd64/quarterly/data.pkg -- pkg+:// implies SRV mirror type
pkg: packagesite URL error for pkg+https://pkg.FreeBSD.org/FreeBSD:15:amd64/quarterly/data.tzst -- pkg+:// implies SRV mirror type
pkg: packagesite URL error for pkg+https://pkg.FreeBSD.org/FreeBSD:15:amd64/quarterly/packagesite.pkg -- pkg+:// implies SRV mirror ty
pe
pkg: packagesite URL error for pkg+https://pkg.FreeBSD.org/FreeBSD:15:amd64/quarterly/packagesite.tzst -- pkg+:// implies SRV mirror t
ype
Unable to update repository FreeBSD-ports
Updating FreeBSD-ports-kmods repository catalogue...
pkg: No SRV record found for the repo 'FreeBSD-ports-kmods'
pkg: Failed to fetch https://pkg.FreeBSD.org/FreeBSD:15:amd64/kmods_quarterly_1/meta.conf: Could not resolve hostname
pkg: packagesite URL error for pkg+https://pkg.FreeBSD.org/FreeBSD:15:amd64/kmods_quarterly_1/meta.txz -- pkg+:// implies SRV mirror t
ype
repository FreeBSD-ports-kmods has no meta file, using default settings
pkg: packagesite URL error for pkg+https://pkg.FreeBSD.org/FreeBSD:15:amd64/kmods_quarterly_1/data.pkg -- pkg+:// implies SRV mirror t
ype
pkg: packagesite URL error for pkg+https://pkg.FreeBSD.org/FreeBSD:15:amd64/kmods_quarterly_1/data.tzst -- pkg+:// implies SRV mirror
type
pkg: packagesite URL error for pkg+https://pkg.FreeBSD.org/FreeBSD:15:amd64/kmods_quarterly_1/packagesite.pkg -- pkg+:// implies SRV m
irror type
pkg: packagesite URL error for pkg+https://pkg.FreeBSD.org/FreeBSD:15:amd64/kmods_quarterly_1/packagesite.tzst -- pkg+:// implies SRV
mirror type
Unable to update repository FreeBSD-ports-kmods
Error updating repositories!
root@six:/usr/home/sailorsamoor #
What could it be?