Closed adrenth-mixcom closed 9 years ago
Sorry the was a permission problem on the server because i rebuild the package index with the wrong user a few days ago. I should have caught this earlier. The bug is fixed now. Please test again.
Btw, you could use https://packagist.drupal-composer.org/ because this is our new default domain.
At first got this exception from composer (while doing a composer update
):
[Composer\Repository\RepositorySecurityException]
The contents of http://packagist.drupal-composer.org/p/drupal/drupal$f4de725e0ec19547d5791f6724950020e9b42aae9c215773c4419f1d6ee99df8.json do not match its signature. This should indicate
a man-in-the-middle attack. Try running composer again and report this if you think it is a mistake.
Got rid of it by removing the composer.lock file to start from a clean slate. But still no luck. The output shows the latest Drupal 7 core version now (7.37.0).
Any suggestions what to do?
Try to run composer clear-cache once before composer update.
Cleared the cache, but i'm getting some different 404 responses. Is the package import still running?
Like:
[Composer\Downloader\TransportException]
The "https://packagist.drupal-composer.org/p/drupal/migrate_d2d_example$effd4fcc4419bfa92c112d39675b01e1c5acfcdf60c4cfd8c754bf3edce897e7.json" file could not be downloaded (HTTP/1.1 404 No
t Found)
[Composer\Downloader\TransportException]
The "https://packagist.drupal-composer.org/p/drupal/migrate_extras_profile2$cbf8ccf1d1bf55d1287f527008ecd70abaf4275b3833abcc9f46d232798c7b6e.json" file could not be downloaded (HTTP/1.1 40
4 Not Found)
migrate_d2d_example is a submodule of migrate_d2d. migrate_d2d_example itself is not in the packagist repo. you can workaround this issue by requiring migrate_d2d in your composer.json
This really was a nasty one.
A composer clear-cache was not enough. Removing the complete cache-path ~/.composer/cache
did the trick eventually. I'm running Drupal 7.37 now. And using the new packagist https URL.
Composer really was confused after changing the packagist URL, complaining about missing packages and .json files that could not be found.
My solution so far: sudo rm -rf ~/.composer/cache
.
Many thanks for fixing it and help with solving the issue! Much appreciated!
Great, i hope other users won´t have these problems.
Hi guys,
I'd like to update our Drupal Composer projects to the new Drupal Core (version 7.37). This version shows up at the packagist detail page: https://packagist.drupal-composer.org/packages/drupal/drupal, but it's not installing.
Fragments from composer.json:
When doing a
composer show drupal/drupal
, version 7.37.0 doesn't show up. I've already cleared composer's cache.