Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Feb 2016 16:04:02 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        freebsd-questions@freebsd.org
Subject:   Re: pkg(8) doesn't work properly in chroot anymore
Message-ID:  <56B37672.8040805@infracaninophile.co.uk>
In-Reply-To: <56B37252.8070406@gmx.com>
References:  <56B37252.8070406@gmx.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--XQ4AtdeubOMWpFQDsiiBj5xGHoPjbbXvB
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 02/04/16 15:46, Nikos Vassiliadis wrote:
> I have several jails and in one of them pkg doesn't seem
> to function properly anymore
>=20
>=20
>> root@clio:~ # pkg -c /jails/sa/ info
>> pkg-1.6.2                      Package manager
>> root@clio:~ #
>=20
> or
>=20
>> root@clio:~ # chroot /jails/sa/ pkg info
>> pkg-1.6.2                      Package manager
>> root@clio:~ #
>=20
> This is not true. There is a spamassassin installation in that jail.
>=20

This suggests that the pkg database in /jails/sa/var/db/pkg has been
trashed.  Check in /jails/sa/var/backup to see if there is a usable
backup you might be able to revert to.

Failing that, if you know what should have been installed in that jail,
just reinstall it all and restart the jail.

	Matthew



--XQ4AtdeubOMWpFQDsiiBj5xGHoPjbbXvB
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJWs3Z3AAoJEABRPxDgqeTnIoYQALViZFFkX4YQtRj1Z3Mqdwbl
cFzT38QxU24srvMzAJivuwps6Ns0VRgFqq1CJ/g3RgsCHtPW5+mr8V+E4PkKmLfG
Z9zbbixBzvm02yLaTEtnOeQdhIOu9oquZL54OE5HvBTWKWPNMnrvOBE42q9AoM2H
bI1QjY5YUR+Zg1KMM3OmB3AHerPAdFa4QkpxvR6lpqsQdProjQtyJ6iI6dpVEsWD
uIRpfxzV0Af6EiTm0/8RQ3WB+Iw/HVOJwBOHwjIgDsQBnsHCscMfJgSVborFvR7k
8tvUyeHar1yFgYVAyKAlUQFUnf2XgCxD1MxcLMwdnl7MfrwI/9kuBkZsCx4HpSVI
IS2RBvikj3hjrU8myryVoitqAhwDv7r8MpO2DbSW+4C665jD2k/vnhSuJ2D9kc7x
rrwx2d+bVw7qq1iMio9oWE15MKTFM6Tp7gyfOCazRelIT2HmG0HE87QxjlkHuFI2
elR17lE5TjMDo4wB2UwCzxYWemNAlWh6tk+3OdoC+UTNV1Eqsmx1BNN7fSCjd4Lc
z6qLXQAVHvoqjGHQ4OyhSO6S4+zA6O80by/4Fs/jg7peE0S7dcDCUfgjDsu6jz/S
DEqpWFI4/RzFXEjKl7J/tmV1frffI2VNTVaMjebEajf8deT4OzLFitcSz4QPeXl3
BU/HCcKWXz5NJii6nJBS
=nCOg
-----END PGP SIGNATURE-----

--XQ4AtdeubOMWpFQDsiiBj5xGHoPjbbXvB--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56B37672.8040805>