LoginSignup
3
3

More than 5 years have passed since last update.

VirtualBox-5.1.8 で問題あり?

Last updated at Posted at 2016-11-15

以下の環境で Laravel(+PHPUnit) を勉強中の者です。

  • Windows 10(Host) + Vagrant-1.8.6 + VirtualBox-5.1.8
  • CentOS 7.2(Guest) + Ansible-2.2.0.0
  • nginx-1.10.1 + php-7.0.13 + php-fpm ...

ここ数日、composer によるインストールがうまくいかなくなりました。

$ composer global require "laravel/installer"
Changed current directory to /home/vagrant/.config/composer
Using version ^1.3 for laravel/installer
./composer.json has been created
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

Installation failed, deleting ./composer.json.


  [ErrorException]
  zlib_decode(): data error

今月から自分の作業場所が一つ増えたので、当初はその組織内の proxy/FW
あたりを疑っていました。ところが本日、別の作業場所(NATのみで出れる)
でも再現したので、どうもネットワークの問題ではなさそう。

https://github.com/composer/composer/issues/5814
https://forums.virtualbox.org/viewtopic.php?f=3&t=80396

で話題になっていました。

結局 VirtualBox-5.1.8 / 5.0.28 の問題のようで、自分のところでも 5.1.6
に戻して正常に動作することを確認しました。なんだかんだで、解決まで
2週間ほどかかったみたいです。関係者の皆様おつかれさまでしたm(_ _)m

3
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3