-
Notifications
You must be signed in to change notification settings - Fork 9
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
Composer update fails on ubuntu 22.04 #166
Comments
$ docker-compose up --build |
Tries to do composer update and got the follwing error
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Only one of these can be installed: symfony/yaml[2.0.4, ..., v2.8.52, v3.0.0, ..., v3.4.47, v4.0.0, ..., v4.4.45, v5.0.0, ..., v5.4.43, v6.0.0, ..., v6.4.11, v7.0.0, ..., v7.1.4], twig/twig[2.0.4, 2.0.5, 2.0.6], symfony/symfony[v3.1.0, ..., v3.1.10]. [twig/twig, symfony/symfony] replace symfony/yaml and thus cannot coexist with it.
- tss/automailer-bundle dev-master requires symfony/swiftmailer-bundle ^2.8|^3 -> satisfiable by twig/twig[2.0.6, ..., v2.16.0, v3.0.1, ..., v3.13.0].
- Root composer.json requires tss/automailer-bundle dev-master -> satisfiable by tss/automailer-bundle[dev-master].
- Root composer.json requires symfony/symfony 3.1.* -> satisfiable by symfony/symfony[v3.1.0, ..., v3.1.10].
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
Steps
will get
ERROR [app 6/29] RUN apt-get install -y --fix-missing php7.1-bcmath php7.1-bz2 php7.1-cli php7.1-common php7 4.0s
This is solver by making the following changes.
docker-compose up --build
you will get another error
campr_app | Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. It is recommended that you run
composer update
orcomposer update <package name>
.campr_app | Package operations: 161 installs, 0 updates, 0 removals
campr_app |
campr_app |
campr_app | [RuntimeException]
campr_app | /app/backend/vendor does not exist and could not be created.
The text was updated successfully, but these errors were encountered: