Skip to content

Instantly share code, notes, and snippets.

@apinstein
Last active December 26, 2015 04:29
Show Gist options
  • Save apinstein/7093453 to your computer and use it in GitHub Desktop.
Save apinstein/7093453 to your computer and use it in GitHub Desktop.
Composer problem with github fork with an error message like: The requested package propel/propel1 dev-alans-propel-1.6.7.1-fork could not be found Ensure that the *master* branch of your fork is up-to-date with the remote since composer looks your fork's master:composer.json to determine the package name.
my apps' composer.json:
{
"repositories": [
{
"type": "vcs",
"url": "https://github.com/apinstein/Propel"
}
],
"require": {
"swiftmailer/swiftmailer": "v5.0.2",
"propel/propel1": "dev-alans-propel-1.6.7.1-fork"
},
"require-dev": {
"kriswallsmith/assetic": "v1.1.2"
}
}
results of running composer -vv update propel/propel1
Loading composer repositories with package information
Reading composer.json of Propel (1.6.3)
Importing tag 1.6.3 (1.6.3.0)
Reading composer.json of Propel (1.6.2)
Importing tag 1.6.2 (1.6.2.0)
Reading composer.json of Propel (1.6.1)
Skipped tag 1.6.1, no composer file
Reading composer.json of Propel (1.6)
Skipped tag 1.6, no composer file
Reading composer.json of Propel (alans-propel-1.6.4.2-fork)
Importing branch alans-propel-1.6.4.2-fork (dev-alans-propel-1.6.4.2-fork)
Reading composer.json of Propel (alans-propel-1.6.7.1-fork)
Importing branch alans-propel-1.6.7.1-fork (dev-alans-propel-1.6.7.1-fork)
Reading composer.json of Propel (alans-propel-1.6.x-fork)
Importing branch alans-propel-1.6.x-fork (dev-alans-propel-1.6.x-fork)
Reading composer.json of Propel (bugfix)
Importing branch bugfix (dev-bugfix)
Reading composer.json of Propel (gh-152)
Importing branch gh-152 (dev-gh-152)
Reading composer.json of Propel (master)
Importing branch master (dev-master)
Reading composer.json of Propel (xml-normalizer-task)
Importing branch xml-normalizer-task (dev-xml-normalizer-task)
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- The requested package propel/propel1 dev-alans-propel-1.6.7.1-fork could not be 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment