dist-upgrade of chroot

Gavin McCullagh gmccullagh at gmail.com
Wed Jan 23 12:01:58 GMT 2008


On Mon, 21 Jan 2008, Bill Moseley wrote:

> This is on Edubuntu Gutsy.
> 
> I wanted to enable vnc[1], but my chroot only had a cdrom for
> sources.list.  So I copied the sources.list file from the server to
> the chroot, and then ran a dist-upgrade.
> 
> Then I got a few errors:
> 
>     Can not write log, openpty() failed (/dev/pts not mounted?)
> 
> In addition to chroot /opt/ltsp/i386 do I need to mount /dev/pts in
> general?  Same with /proc?

I think it might be better to build a new chroot.   

	sudo ltsp-build-client --base /opt/ltsp_new 

Then you can swap them with
	sudo mv /opt/ltsp/i386 /opt/ltsp/i386_old 
	sudo mv /opt/ltsp-new/i386 /opt/ltsp/i386

Gavin




More information about the edubuntu-users mailing list