Quote Originally Posted by nukewinter
If I try to run "apt-get --reinstall install php4-cgi -y" manually, I get the error messages "W: Not using locking for read only lock file /var/lib/dpkg/lock
E: Unable to write to /var/cache/apt/
E: The package lists or status file could not be parsed or open
The above indicates that you are not running as root or else you are running apt-get on a read-only filesystem (as you would from a knoppix cd as oppossed to chrooted in the master tree for a remaster). I haven't used the script but looking at it I can't see why you need to install php? What are the last messages and what error are you getting when you run install.sh?