Composer update - version problems - dev vs. stable

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) 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