pkg(8) doesn't work properly in chroot anymore
Matthew Seaman
m.seaman at infracaninophile.co.uk
Thu Feb 4 17:23:35 UTC 2016
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
>
>
>> root at clio:~ # pkg -c /jails/sa/ info
>> pkg-1.6.2 Package manager
>> root at clio:~ #
>
> or
>
>> root at clio:~ # chroot /jails/sa/ pkg info
>> pkg-1.6.2 Package manager
>> root at clio:~ #
>
> This is not true. There is a spamassassin installation in that jail.
>
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20160204/b3ef68a6/attachment.sig>
More information about the freebsd-questions
mailing list