2017-08-08 104 views
0

一段时间以来,作曲家一直在抱怨某些软件包的校验和验证失败。它继续从源代码安装它们。许多软件包的作曲家校验和验证失败

通常这不是问题,但我想知道是否有什么奇怪的事情发生。

例子:

- Installing doctrine/data-fixtures (v1.2.2): Downloading (100%) Failed to download doctrine/data-fixtures from dist: The checksum verification of the file failed (downloaded from https://api.github.com/repos/doctrine/data-fixtures/zipball/17fa5bfe6ff52e35cb3d9ec37c934a2f4bd1fa2e) Now trying to download from source

- Installing ocramius/proxy-manager (1.0.2): Downloading (100%) Failed to download ocramius/proxy-manager from dist: The checksum verification of the file failed (downloaded from https://api.github.com/repos/Ocramius/ProxyManager/zipball/57e9272ec0e8deccf09421596e0e2252df440e11) Now trying to download from source

- Installing doctrine/migrations (v1.5.0): Downloading (100%) Failed to download doctrine/migrations from dist: The checksum verification of the file failed (downloaded from https://api.github.com/repos/doctrine/migrations/zipball/c81147c0f2938a6566594455367e095150547f72) Now trying to download from source

- Installing doctrine/orm (v2.5.6): Downloading (100%) Failed to download doctrine/orm from dist: The checksum verification of the file failed (downloaded from https://api.github.com/repos/doctrine/doctrine2/zipball/e6c434196c8ef058239aaa0724b4aadb0107940b) Now trying to download from source

这从一个composer install调用了我的本地机器上。然而,许多软件包安装得很好。

在我们的Jenkins服务器上,就我所见,这发生在所有包上。

这是怎么回事?我们在本地网络中运行了SATIS服务,但似乎作曲家抱怨原始软件包位置的dist文件。 SATIS服务仅用于私人包裹。

任何人都可以想象问题是什么?有人遇到过类似的问题吗?

谢谢!

回答

0

尝试查看/更新作曲家版本和

+0

更新作曲家运行composer clear-cache今天: '#composer.phar --version 作曲版本1.5.0 2017年8月8日11:08:04' 之前手动清除缓存,现在按照建议操作: '#composer.phar clear-cache 缓存目录不存在(cache-vcs-dir): 清除缓存(cache-repo-dir):/root/.composer/cache/repo 清除缓存(cache-files-dir):/root/.composer/cache/files 清除缓存(cache-dir):/root/.composer/cache 所有缓存清除.' 相同的结果:-(它甚至是相同的包失败。 – t11n