# Update 6.1.5 auf 6.2.0 Fehler

**URL:** <https://forum.shopware.com/t/update-6-1-5-auf-6-2-0-fehler/67058>\
**Category:** Installation / Einstieg\
**Created:** [19. Mai 2020 um 14:11 UTC](https://forum.shopware.com/t/update-6-1-5-auf-6-2-0-fehler/67058 "2020-05-19T14:11:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Exe](https://avatars.discourse-cdn.com/v4/letter/e/49beb7/32.png) [@Exe](https://forum.shopware.com/u/Exe)\
**Post date:** [19. Mai 2020 um 14:11 UTC](https://forum.shopware.com/t/update-6-1-5-auf-6-2-0-fehler/67058/1 "2020-05-19T14:11:38Z")

</div>

Unser aktuelles Livesystem, dass aber im Wartungsmodus ist und nur als Vorbereitung dient, wollte ich schnell über den Updater auf 6.2.0 updaten.

Nach etwa 15min folgender Fehler:  
Error  
Please execute “composer install” from the command line to install the required dependencies for Shopware 6

Über composer install dafür eine Abhängikeit, die auf einemal zwingend PH 7.4 will.

-bash-4.2$ composer install  
The “ocramius/package-versions” plugin was skipped because it requires a Plugin API version ("^1.0.0") that does not match your Composer installation (“2.0.0”). You may need to run composer update with the “–no-plugins” option.  
\> [! -f vendor/autoload.php] || bin/console system:update:prepare  
Run Update preparations  
Installing dependencies from lock file (including require-dev)  
Verifying lock file contents can be installed on current platform.  
Your lock file does not contain a compatible set of packages. Please run composer update.

&nbsp; Problem 1  
&nbsp; &nbsp; - ocramius/package-versions is locked to version 1.4.0 and an update of this package was not requested.  
&nbsp; &nbsp; - ocramius/package-versions 1.4.0 requires composer-plugin-api ^1.0.0 -\> found composer-plugin-api[2.0.0] but it does not match the constraint.

Use the option --with-all-dependencies to allow updates and removals for packages currently locked to specific versions.  
ocramius/package-versions only provides support for Composer 2 in 1.8+, which requires PHP 7.4.  
If you can not upgrade PHP you can require composer/package-versions-deprecated to resolve this with PHP 7.0+.

Ist das jetzt wirklich vorgesehen, dass man mit Composer Workarounds anfängt?

---

<div class="post-metadata">

**Author:** ![shyim](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/shyim/32/7681_2.png) [@shyim](https://forum.shopware.com/u/shyim)\
**Post date:** [19. Mai 2020 um 14:14 UTC](https://forum.shopware.com/t/update-6-1-5-auf-6-2-0-fehler/67058/2 "2020-05-19T14:14:34Z")

</div>

Benutz auch eine Stabille Composer Version wenn du produktiv bist, dann sollte der Fehler auch nicht auftauchen

---

<div class="post-metadata">

**Author:** ![Exe](https://avatars.discourse-cdn.com/v4/letter/e/49beb7/32.png) [@Exe](https://forum.shopware.com/u/Exe)\
**Post date:** [19. Mai 2020 um 14:26 UTC](https://forum.shopware.com/t/update-6-1-5-auf-6-2-0-fehler/67058/3 "2020-05-19T14:26:32Z")

</div>

Ich habe auf den Composer keinen Einfluss. Das ist nur ein kleines&nbsp;mangaged Hosting, um schon langsam Shop-Daten einzupflegen. Das eigentliche Setup kommt erst noch.

composer self-update kann ich da leider nicht durchführen. Könnte nur schauen, ob ich eine phar hole und darüber ausführe.
