Upgrade as follows:
Unzip magneto162.zip to magento folder
cp -R magento/* .
edit php.ini - add a server timeout of 5000.
rm -rf var/cache
rm -rf var/session
rm -rf var/locks
load up index.php page and database upgrade will happen. If you get the foreign key error, then run the script again.
login to admin
Use magento connect to install Web-forms extension.
rm -rf var/cache
rm -rf var/session
rm -rf var/locks
Check that the admin component works.
Copy the webforms template and XML files from the default template to the template used.
clear the cache again.
NOTE: this took hours to work out!!!