FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Edubuntu User

 
 
LinkBack Thread Tools
 
Old 01-21-2008, 04:13 PM
Bill Moseley
 
Default dist-upgrade of chroot

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?

Also, a new kernel came with the update.


Preparing to replace linux-image-2.6.22-14-386 2.6.22-14.46 (using .../linux-image-2.6.22-14-386_2.6.22-14.47_i386.deb) ...
Done.
Unpacking replacement linux-image-2.6.22-14-386 ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/ltsp-update-kernels
Cannot open ``/boot/nbi.img-2.6.22-14-386':File exists
run-parts: /etc/kernel/postrm.d/ltsp-update-kernels exited with return code 1
Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/linux-image-2.6.22-14-386.postrm line 320.
dpkg: warning - old post-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
[...]

So, what needs to be resolve there?

Wouldn't ltsp-updte-kernels need to be run after installing a new
kernel in the chroot from *outside* the chroot?


[1] Btw, shouldn ltsp-update-image be run after modifying the chroot
on https://wiki.edubuntu.org/InstallX11VncOnLtspClients ?


--
Bill Moseley
moseley@hank.org


--
edubuntu-users mailing list
edubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/edubuntu-users
 

Thread Tools




All times are GMT. The time now is 11:04 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org