# Composer update - version problems - dev vs. stable

**URL:** <https://forum.mautic.org/t/composer-update-version-problems-dev-vs-stable/33026>\
**Category:** Product Support\
**Created:** [August 5, 2024, 2:55pm UTC](https://forum.mautic.org/t/composer-update-version-problems-dev-vs-stable/33026 "2024-08-05T14:55:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rseffner](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/rseffner/32/2253_2.png) [@rseffner](https://forum.mautic.org/u/rseffner)\
**Post date:** [August 5, 2024, 2:55pm UTC](https://forum.mautic.org/t/composer-update-version-problems-dev-vs-stable/33026/1 "2024-08-05T14:55:55Z")

</div>

**Your software**  
My Mautic version is: 4.4.11  
My PHP version is: 8.0.30  
My Database type and version is: mariadb 10.11.6

**Your problem**  
My problem is: I cannot update mautic (composer installation from 4.4.11 to 4.4.12 (and up to 5.1.0).

These errors are showing:  
Problem 1  
- Root composer.json requires mautic/core-composer-scaffold 4.4.12, found mautic/core-composer-scaffold[dev-RCheesley-patch-1, 3.x-dev, 4.x-dev] but it does not match the constraint.  
Problem 2  
- Root composer.json requires mautic/core-project-message 4.4.12, found mautic/core-project-message[3.x-dev, 4.x-dev] but it does not match the constraint.

Steps I have tried to fix the problem:

- old composer.json contians:  
“mautic/core-composer-scaffold”: “4.x-dev”,  
“mautic/core-lib”: “4.4.11”,  
“mautic/core-project-message”: “4.x-dev”,
- new composer.json (from [https://raw.githubusercontent.com/mautic/recommended-project/4.4.12/composer.json](https://raw.githubusercontent.com/mautic/recommended-project/4.4.12/composer.json)) contains instead:  
“mautic/core-composer-scaffold”: “4.4.12”,  
“mautic/core-lib”: “4.4.12”,  
“mautic/core-project-message”: “4.4.12”,  
both contain:  
“minimum-stability”: “dev”,  
“prefer-stable”: true,

Also an composer require xxx:4.4.12 oder composer require xxx:\* does not resolve the issue.  
Hot to override 4.x-dev with 4.4.12?

Thanks
