Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Aug 2014 15:31:11 +0200
From:      Matthias Apitz <guru@unixarea.de>
To:        Nikolai Lifanov <lifanov@mail.lifanov.com>
Cc:        freebsd-current@freebsd.org, freebsd-ports@freebsd.org
Subject:   Re: installing packages into a mounted system
Message-ID:  <20140814133111.GA2346@La-Habana>
In-Reply-To: <53ECB81E.8040308@mail.lifanov.com>
References:  <20140814131850.GA28408@sh4-5.1blu.de> <53ECB81E.8040308@mail.lifanov.com>

next in thread | previous in thread | raw e-mail | index | archive | help
El día Thursday, August 14, 2014 a las 09:22:38AM -0400, Nikolai Lifanov escribió:

> > # PACKAGESITE=file://PKGDIR export PACKAGESITE
> > # chroot /mnt /usr/local/sbin/pkg-static install xorg-7.7
> > Updating repository catalogue
> > pkg-static: file://PKGDIR/digests.txz: No such file or directory
> > pkg-static: No digest falling back on legacy catalog format
> > pkg-static: file://PKGDIR/repo.txz: No such file or directory 
> > 
> 
> >From the man page:
>      pkg [-v] [-d] [-l] [-N] [-j <jail name or id> | -c <chroot path>]
> 
> You could try copying pkg-static inside the chroot and use pkg-static -c
> (from the host, don't invoke the chroot command manually).
> 
> I have been installing packages to jails this way for a while.

# pkg-static -c /mnt install xorg-7.7

gives the same error messages as above.

Thanks

	matthias
-- 
Matthias Apitz               |  /"\   ASCII Ribbon Campaign:
E-mail: guru@unixarea.de     |  \ /   - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X    - No proprietary attachments
phone: +49-170-4527211       |  / \   - Respect for open standards
                             | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign



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