一段時間以來,作曲家一直在抱怨某些軟件包的校驗和驗證失敗。它繼續從源代碼安裝它們。許多軟件包的作曲家校驗和驗證失敗
通常這不是問題,但我想知道是否有什麼奇怪的事情發生。
例子:
- 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服務僅用於私人包裹。
任何人都可以想象問題是什麼?有人遇到過類似的問題嗎?
謝謝!
更新作曲家運行
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