Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The checksum verification of the file failed #67

Closed
ProxiBlue opened this issue Apr 21, 2020 · 3 comments
Closed

The checksum verification of the file failed #67

ProxiBlue opened this issue Apr 21, 2020 · 3 comments

Comments

@ProxiBlue
Copy link

Hello,

can you shed some light on this issue. I am not entirely sure if this is a local setup issue.
I added your packagist.org repo as per instructions.
The repo was added to composer, as per instructions, and packagist disabled

"repositories": {
        "0": {
            "type": "composer",
            "url": "https://repo.magento.com/"
        },
        "dev": {
            "type": "path",
            "url": "./vendor-repo/*/*",
            "options": {
                "symlink": true
            }
        },
        "repman": {
            "type": "composer",
            "url": "https://repo.repman.io"
        },
        "packagist": false
    },

From that moment, ll packages fail to install, due to checksum error:

Failed, trying the next URL (0: The checksum verification of the file failed (downloaded from https://repo.repman.io/dists/symfony/console/4.1.12.0/9e87c798f67dc9fceeb4f3d57847b52d945d1a02.zip))Downloading (100%)         
  - Installing monolog/monolog (1.25.3): Downloading (100%)         
 Failed, trying the next URL (0: The checksum verification of the file failed (downloaded from https://repo.repman.io/dists/monolog/monolog/1.25.3.0/fa82921994db851a8becaf3787a9e73c5976b6f1.zip))Downloading (100%)         
  - Installing magento/zendframework1 (1.14.3): Downloading (100%)         
 Failed, trying the next URL (0: The checksum verification of the file failed (downloaded from https://repo.repman.io/dists/magento/zendframework1/1.14.3.0/726855dfb080089dc7bc7b016624129f8e7bc4e5.zip))Downloading (100%)         
  - Installing symfony/polyfill-php72 (v1.15.0): Downloading (100%)         
 Failed, trying the next URL (0: The checksum verification of the file failed (downloaded from https://repo.repman.io/dists/symfony/polyfill-php72/1.15.0.0/37b0976c78b94856543260ce09b460a7bc852747.zip))Downloading (100%)         
  - Installing symfony/polyfill-intl-idn (v1.15.0): Downloading (100%)         
 Failed, trying the next URL (0: The checksum verification of the file failed (downloaded from https://repo.repman.io/dists/symfony/polyfill-intl-idn/1.15.0.0/47bd6aa45beb1cd7c6a16b7d1810133b728bdfcf.zip))Downloading (100%)         
  - Installing ralouphie/getallheaders (3.0.3): Downloading (100%)         
 Failed, trying the next URL (0: The checksum verification of the file failed (downloaded from https://repo.repman.io/dists/ralouphie/getallheaders/3.0.3.0/120b605dfeb996808c31b6477290a714d356e822.zip))Downloading (100%)         
  - Installing guzzlehttp/psr7 (1.6.1): Downloading (100%)         
 Failed, trying the next URL (0: The checksum verification of the file failed (downloaded from https://repo.repman.io/dists/guzzlehttp/psr7/1.6.1.0/239400de7a173fe9901b9ac7c06497751f00727a.zip))Downloading (100%)         
  - Installing guzzlehttp/promises (v1.3.1): Downloading (100%)         
 Failed, trying the next URL (0: The checksum verification of the file failed (downloaded from https://repo.repman.io/dists/guzzlehttp/promises/1.3.1.0/a59da6cf61d80060647ff4d3eb2c03a2bc694646.zip))Downloading (connecting...)^C

If I remove all the repman stuff, it works fine, direct from packagist

✔ /vagrant/sites/magento2 [master|✚ 1…2] 
03:52 $ composer global remove repman-io/composer-plugin
Changed current directory to /home/vagrant/.composer
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 0 installs, 0 updates, 1 removal
  - Removing repman-io/composer-plugin (0.1.3)
Writing lock file
Generating autoload files
✔ /vagrant/sites/magento2 [master|✚ 1…2] 
03:53 $ 
@akondas
Copy link
Member

akondas commented Apr 21, 2020

Please provide:

  • which composer version you are using
  • are any additional flags or other plugins enabled

Due to the problem of changing checksums, verification for packages from github has been disabled in the Composer itself, so I suppose there is a checksum in your composer.lock. It yes, then composer update --lock command can help

@ProxiBlue
Copy link
Author

Hi,

Composer version 1.9.0 2019-08-02 20:55:32
https://github.com/hirak/prestissimo is also installed.

It yes, then composer update --lock command can help

Will check that out in a bit when I get back onto that task.

@ProxiBlue
Copy link
Author

Cannot reproduce.
Closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants