hilverd / vagrant-ubuntu-oracle-xe

Install Oracle 11g XE in a Vagrant virtual machine running Ubuntu 12.04.
MIT License
287 stars 96 forks source link

/usr/bin/unzip -o oracle-xe-11.2.0-1.0.x86_64.rpm.zip returned 2 #18

Closed tekumara closed 9 years ago

tekumara commented 9 years ago

err: /Stage[main]/Oracle::Xe/Exec[unzip xe]/returns: change from notrun to 0 failed: /usr/bin/unzip -o oracle-xe-11.2.0-1.0.x86_64.rpm.zip returned 2 instead of one of [0] at /tmp/vagrant-puppet-4/modules-0/oracle/manifests/init.pp:154

Got this on my first vagrant up attempt. Executed vagrant up again and it went away.

hilverd commented 9 years ago

Thanks for letting me know. According to the unzip man page, exit status 2 is returned if "a generic error in the zipfile format was detected. Processing may have completed successfully anyway".

My best guess is that the downloaded zip file got corrupted somehow, see also #11. If vagrant reload --provision still produces this error then I would suggest to try again after re-downloading the file.

tekumara commented 9 years ago

Reprovisioning worked thank you :)

Thanks for letting me know. According to the unzip man page, exit status 2 is returned if "a generic error in the zipfile format was detected. Processing may have completed successfully anyway".

My best guess is that the downloaded zip file got corrupted somehow, see also #11 https://github.com/hilverd/vagrant-ubuntu-oracle-xe/issues/11. If vagrant reload --provision still produces this error then I would suggest to try again after re-downloading the file.

Reply to this email directly or view it on GitHub https://github.com/hilverd/vagrant-ubuntu-oracle-xe/issues/18#issuecomment-63169725 .