Installation error "The checksum verification of the file failed"
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 31
- Forks
- 21
- PR merge metrics
- No merged PRs in 30d
Description
Hi! I'm getting this error while installing Magento 2.2.5 metapackage. Version of this package is locked at 1.2.0
- Installing magento/composer (1.2.0): Downloading https://api.github.com/repos/magento/composer/zipball/130753af2b755f1967e253deb661225942bb302c
Downloading (connecting...)
Following redirect (2) https://codeload.github.com/magento/composer/legacy.zip/130753af2b755f1967e253deb661225942bb302c
Downloading https://codeload.github.com/magento/composer/legacy.zip/130753af2b755f1967e253deb661225942bb302c
Downloading (100%)Writing /home/andrej/.cache/composer/files/magento/composer/cb127348c0bb164392460cc8e62b6ceca9dd20ca.zip into cache from /home/andrej/projects/M2.2/eplehuset/vendor/magento/composer/dba449468119e0cef591df8e93d5f5dd
Failed: [UnexpectedValueException] 0: The checksum verification of the file failed (downloaded from https://api.github.com/repos/magento/composer/zipball/130753af2b755f1967e253deb661225942bb302c)
[UnexpectedValueException]
The checksum verification of the file failed (downloaded from https://api.github.com/repos/magento/composer/zipball/130753af2b755f1967e253deb661225942bb302c)
Exception trace:
() at phar:///usr/local/bin/composer/src/Composer/Downloader/FileDownloader.php:178
Composer\Downloader\FileDownloader->doDownload() at phar:///usr/local/bin/composer/src/Composer/Downloader/FileDownloader.php:94
Composer\Downloader\FileDownloader->download() at phar:///usr/local/bin/composer/src/Composer/Downloader/ArchiveDownloader.php:36
Composer\Downloader\ArchiveDownloader->download() at phar:///usr/local/bin/composer/src/Composer/Downloader/ZipDownloader.php:71
Composer\Downloader\ZipDownloader->download() at phar:///usr/local/bin/composer/src/Composer/Downloader/DownloadManager.php:213
Composer\Downloader\DownloadManager->download() at phar:///usr/local/bin/composer/src/Composer/Installer/LibraryInstaller.php:186
Composer\Installer\LibraryInstaller->installCode() at phar:///usr/local/bin/composer/src/Composer/Installer/LibraryInstaller.php:90
Composer\Installer\LibraryInstaller->install() at phar:///usr/local/bin/composer/src/Composer/Installer/InstallationManager.php:173
Composer\Installer\InstallationManager->install() at phar:///usr/local/bin/composer/src/Composer/Installer/InstallationManager.php:160
Composer\Installer\InstallationManager->execute() at phar:///usr/local/bin/composer/src/Composer/Installer.php:588
Composer\Installer->doInstall() at phar:///usr/local/bin/composer/src/Composer/Installer.php:227
Composer\Installer->run() at phar:///usr/local/bin/composer/src/Composer/Command/InstallCommand.php:119
Composer\Command\InstallCommand->execute() at phar:///usr/local/bin/composer/vendor/symfony/console/Command/Command.php:242
Symfony\Component\Console\Command\Command->run() at phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:842
Symfony\Component\Console\Application->doRunCommand() at phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:193
Symfony\Component\Console\Application->doRun() at phar:///usr/local/bin/composer/src/Composer/Console/Application.php:251
Composer\Console\Application->doRun() at phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:117
Symfony\Component\Console\Application->run() at phar:///usr/local/bin/composer/src/Composer/Console/Application.php:100
Composer\Console\Application->run() at phar:///usr/local/bin/composer/bin/composer:58
require() at /usr/local/bin/composer:24
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at phar:///usr/local/bin/composer/src/Composer/Downloader/FileDownloader.php:178 and inspect the download path for magento/composer 1.2.0 from the URLs in the report. Reproduce the Magento 2.2.5 installation if possible, determine why the downloaded checksum differs, and document or correct the verification failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100