Sunday, May 17, 2009

re-creating the chroot

nice command to make a backup, of instance 293 into a directory-to-be-created called instance 293backup:
sudo cp -a /usr/local/zope/instance293 /usr/local/zope/instance293backup

must copy the sources.list file from the root install to the chroot install:
sudo cp /etc/apt/sources.list /opt/ltsp/i386/etc/apt/sources.list

then update the package list:
sudo chroot /opt/ltsp/i386 apt-get update

and to upgrade the packages:
sudo chroot /opt/ltsp/i386 apt-get dist-upgrade

From page: https://wiki.edubuntu.org/EdubuntuLTSPUpgradeNotes

Also, to deactivate a source that isn't responding during update and then prevents the update process, go to the source.list.d directory, find the offending source (e.g. stgraber-ppa-lucid.list and stgraber-ppa-lucid.list.save) and open them up with gedit, add a "#" at the start of the line with the address on it, save and close.  Do with both files (.list and .list.save).  ALSO, do in the chroot (as described above).

No comments:

Post a Comment