Bug#398630: [Pkg-ltsp-devel] Bug#398630: ltsp-client: preinst fails

Lucas Nussbaum lucas at lucas-nussbaum.net
Tue Nov 14 18:47:20 UTC 2006


On 14/11/06 at 10:21 -0800, Vagrant Cascadian wrote:
> On Tue, Nov 14, 2006 at 05:59:00PM +0100, Lucas Nussbaum wrote:
> > Package: ltsp-client
> > Version: 0.99debian7
> > Severity: serious
> > Usertags: grid5000
> > 
> > Hi,
> > 
> > During a piuparts run over all the packages in etch, I ran into a
> > problem with your package:
> >   Selecting previously deselected package ltsp-client.
> >   Unpacking ltsp-client (from .../ltsp-client_0.99debian7_i386.deb) ...
> >   dpkg: error processing
> > /var/cache/apt/archives/ltsp-client_0.99debian7_i386.deb (--unpack):
> >    subprocess pre-installation script returned error exit status 1
> 
> this is intentional. from the description:
> 
> Description: LTSP client environment
>  The scripts needed to configure and boot an LTSP client.
>  .
>  DO NOT install this package on a regular machine, it is intended only
>  for installation inside a LTSP client filesystem.
> 
> it requires the presence of an /etc/ltsp_chroot file in order to
> install. this is a safety precaution to ensure that ltsp-client is being
> in an LTSP environment and not on the regular system, as the ltsp-client
> init scripts do things that most users would not want on a regular
> system.
> 
> though, now that you've brought it up, it might be better for the init
> scripts to check for the presence of /etc/ltsp_chroot rather than
> preinst.

preinst or postinst looks fine, but please output an error message
explaining exactly what you explained in that mail, instead of just
dying silently :-)
-- 
| Lucas Nussbaum
| lucas at lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr             GPG: 1024D/023B3F4F |




More information about the Pkg-ltsp-devel mailing list