[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

installing packages



On Fri, Aug 24, 2007 at 09:04:17AM -0400, Justin Pryzby wrote:
> On Fri, Aug 24, 2007 at 12:16:58PM +0330, Mohsen Pahlevanzadeh wrote:
> > Dear all,
> > I wanna install my packages, via apt-get or dpkg, But i don't how to use 
> > chroot along with apt-get ...
> I'm not sure I understand.  You can list packages to be installed in
> chroot_local-packageslists and put debs in chroot_localpackages, so
> there's no need to run apt-get manually.
> 
> If you want, you can run [sudo] chroot /path/to/chroot then apt-get
> all you want, and do other configuration things too; there's
> chroot_local-hooks for automating this.  You of course need
> resolv.conf and such things working otherwise the chrooted appliations
> won't have networking.

Also, if you set LH_INTERACTIVE to "shell" temporarily in conf/chroot,
you can use lh_chroot_interactive which, if I am not mistaken, will
handle /proc and resolv.conf (and probably other housekeeping tasks) for
you.
 
 -Juergen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/debian-live-devel/attachments/20070824/53907019/attachment.pgp 


Reply to: