Sherwood Botsford wrote:
> Answering my own post.  Sigh.
>
> I have discovered that Debian systems have a raft of package
> installers.
>
> So far, dpkg is the only one I've found to support installing
> into a different place in the tree.
>
> So:  To install foo into /opt/ltsp/i386:
>
> On server:  aptitude install foo
>
> Aptitude will download foo and any dependencies, and leave the
> packages in /var/cache/apt/archives
>
> Now I can run
> dpkg --root=/opt/ltsp/i386 --install /var/cache/apt/archives/foo*
>
> Usually this will fuss, becuase not all the dependencies will
> match.  Rerun the command several times, adding packages.
>
> Better way?
>   

In LTSP5 the client tree of /opt/ltsp/i386 is fully maintained by the 
Debian package managers (dpkg, apt, aptitude ... whatever you like).
Installing packages in the client tree is done by using chroot.
This well described in the following pages:

"Update MueKow"
http://developer.novell.com/wiki/index.php/HOWTO:_Install_MueKow_on_Ubuntu#Update_MueKow

or

"Upgrading the client chroot"
https://wiki.edubuntu.org/EdubuntuLTSPUpgradeNotes#head-cd086cebbbdcd7e05fb4165273ec2d220127fbab

or

"Updating your LTSP chroot"
http://doc.ubuntu.com/edubuntu/handbook/C/ltsp-updates.html#id2802165

You use the same procedure to add/remove packages to/from the LTSP 
client chroot, just replace "apt-get update" in the above described 
procedures with the respective package manager command.
Eg. to install wget into the LTSP chroot, use "apt-get install wget" in 
the chroot ... as if you'd install it on any Debian system.
Managing packages in the LTSP chroot could not be more simple, than that.
I love LTSP5. :-)


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to