Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

GM's avatar
Level 8

Latest VirtualBox (5.1.8) for OSX breaks composer.

Just a quick note to people that the current live version of VirtualBox (5.1.8) for OS X hosts appears to cause data corruptions resulting in problems like NAT not working correctly and composer data errors

composer update
Loading composer repositories with package information
Updating dependencies (including require-dev)
Failed to decode response: zlib_decode(): data error
Retrying with degraded mode, check https://getcomposer.org/doc/articles/troubleshooting.md#degraded-mode for more info
[ErrorException]           
zlib_decode(): data error  

to fix this either.... revert to 5.1.6 (https://www.virtualbox.org/wiki/Download_Old_Builds) or upgrade to the test version (currently 5.1.9 r111830 (Qt5.6.2)

0 likes
4 replies
ejdelmonico's avatar

Hmm, I upgraded and no problems. I am running MacOS 10.12.1 with VB 5.1.8 r111374.

jiachiun's avatar

I had the exact same problem using VirtualBox (5.1.8). Reverted to 5.1.6 and it's now working. Thanks so much!

Erulezz's avatar

VirtualBox 5.1.10 is now available with the fix! :)

Please or to participate in this conversation.