Skip to content
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

Installation with sample data failing #881

Closed
jameswithers opened this issue Dec 29, 2014 · 7 comments
Closed

Installation with sample data failing #881

jameswithers opened this issue Dec 29, 2014 · 7 comments
Labels
bug report Fixed in 2.3.x The issue has been fixed in 2.3 release line Issue: Format is not valid Gate 1 Failed. Automatic verification of issue format is failed

Comments

@jameswithers
Copy link

Following installation guide here: http://devdocs.magento.com/guides/v1.0/install-gde/install/install-overview.html.

I get through to http://devdocs.magento.com/guides/v1.0/install-gde/install/sample-data.html:

$ composer update
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for magento/sample-data 0.42.0-beta1 -> satisfiable by magento/sample-data[0.42.0-beta1].
    - magento/sample-data 0.42.0-beta1 requires magento/framework 0.42.0-beta1 -> no matching package found.

Potential causes:
 - A typo in the package name
 - The package is not available in a stable-enough version according to your minimum-stability setting
   see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details.

Read <http://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
@mazhalai
Copy link
Contributor

@jameswithers Can you please confirm that you do you have

"repositories": [
    {
        "type": "composer",
        "url": "http://packages.magento.com/"
    }
],

in composer.json

@jameswithers
Copy link
Author

@mazhalai Yes I did (magento/sample-data 0.42.0-beta1 -> satisfiable by magento/sample-data[0.42.0-beta1].).

It fails on magento/sample-data 0.42.0-beta1 requires magento/framework 0.42.0-beta1 -> no matching package found..

The composer.json available at http://packages.magento.com/#!/magento/sample-data shows:

{
    "name": "magento/sample-data",
    "description": "Sample Data scripts",
    "version": "0.42.0-beta1",
    "require": {
        "magento/framework": "0.42.0-beta1",
        "magento/magento-composer-installer": "*",
        "magento/sample-data-media": "0.42.0-beta1"
...

The problem is that in the composer.json for Magento2, it shows:

{
    "name": "magento/project-community-edition",
    "description": "Magento project (Community Edition)",
    "type": "project",
    "version": "0.42.0-beta2",
    "license": [
        "OSL-3.0",
        "AFL-3.0"
    ],
...

I cannot seem to locate the repo for packages.magento.com

@jameswithers
Copy link
Author

I found a workaround here: http://translate.google.co.uk/translate?hl=en&sl=ru&u=http://mage2.ru/topic/12/&prev=search.

Same root cause though: different version in packages to main project repo.

@maksek maksek added MX bug report Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development labels Dec 29, 2014
@maksek
Copy link
Contributor

maksek commented Dec 29, 2014

Hi @jameswithers, thanks for reporting the issue. It is confirmed and we are working on it.

@maksek
Copy link
Contributor

maksek commented Dec 30, 2014

@jameswithers, we have updated sample data. Please check now.

@maksek maksek added Progress: needs update and removed Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development labels Dec 30, 2014
@jameswithers
Copy link
Author

@maksek Takes a long time to install, but it works now.

magento-team pushed a commit that referenced this issue Mar 1, 2017
[Epam] Extend functional test sprint 2

- MTO-111: [Test] Update Category if Use Category Flat (Cron is ON, "Update on Save" Mode)
- MTO-113: [Test] Captcha on admin login
- MTO-146: [Test] Create offline Order from "Edit Customer" Admin page
- MTO-124: [Constraint] Update Simple Product with enabled Catalog Product Flat
- MTO-142: [Test] Captcha on front login
fe-lix- pushed a commit to fe-lix-/magento2 that referenced this issue Apr 29, 2018
…sts-Rework

MSI-430: Integration tests rework
@magento-engcom-team
Copy link
Contributor

Hi @jameswithers. Thank you for your report.
The issue has been fixed in magento/graphql-ce#953 by @pmclain in 2.3-develop branch
Related commit(s):

The fix will be available with the upcoming 2.3.4 release.

@magento-engcom-team magento-engcom-team added Fixed in 2.3.x The issue has been fixed in 2.3 release line Issue: Format is not valid Gate 1 Failed. Automatic verification of issue format is failed labels Sep 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report Fixed in 2.3.x The issue has been fixed in 2.3 release line Issue: Format is not valid Gate 1 Failed. Automatic verification of issue format is failed
Projects
None yet
Development

No branches or pull requests

5 participants