rackspace / php-opencloud

The PHP SDK for OpenStack clouds
developer.rackspace.com
Other
451 stars 249 forks source link

Installation failed, reverting ./composer.json to its original content. #250

Closed hawksalon closed 10 years ago

hawksalon commented 10 years ago

I'm not sure why I'm getting this error

root@dev:/var/www/php-opencloud-master# php composer.phar require rackspace/php-opencloud:dev-master ./composer.json has been updated 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 failed, reverting ./composer.json to its original content.

jamiehannaford commented 10 years ago

If you go into your composer.json file, what version is Composer trying to install? You need to set it to:

{
    "require": {
        "rackspace/php-opencloud": "dev-master"
    }
}

It looks like you're telling Composer to install the SDK without specifying a new version number, and it's failing because you already have an older version installed. If you explicitly tell it to install dev-master it should work.

jamiehannaford commented 10 years ago

@hawksalon I'll close this issue for now, but if you're experiencing any more issues with Composer feel free to open up a new issue with further details.

ilyesbenkhaled commented 7 years ago

i have the same problem with symfony 3.2

jashimcse2015 commented 7 years ago

{ "require": { "rackspace/php-opencloud": "dev-master" } } it dose not work again message :Installation failed, reverting ./composer.json to its original content.

dativavalentine commented 7 years ago

ERRORS.docx

dativavalentine commented 7 years ago

i am installing the laravel passport it brings me an error. BUt i have already install laravel 5.3 what is the problem. Pliiz heelp Thanks in advance

ashishjohnnet commented 7 years ago

Enter package # to add, or the complete package name if it is not listed: 2 Enter the version constraint to require (or leave blank to use the latest version): 3.4 Search for a package: ./composer.json has been updated 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 failed, reverting ./composer.json to its original content.

i'm installing slim package 2, but its not installling plz help me

blackbai commented 7 years ago

have you resolve?

adil117 commented 6 years ago

Hi iam having this problem can any one resolve it Using version ^2.0 for laravel/dusk ./composer.json has been updated 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 failed, reverting ./composer.json to its original content.

pinninti19 commented 6 years ago

Hi, similar problem, can any one help me how to fix it. Thanks!

Using version ^1.0 for rstgroup/zf-local-config-module ./composer.json has been updated 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 failed, reverting ./composer.json to its original content. likithreddy@likithreddy-Inspiron-13-5368:~/Downloads/zf-local-config-module-master$

priyeshwar-AGL commented 6 years ago

Hi I have this issues please get and fix Your requirements could not be resolved to an installable set of packages.

Problem 1

Installation failed, reverting ./composer.json to its original content.

Leleking commented 6 years ago

hello, hard the same problem and i resolved it by just changing my internet service provider. I was using my school's public wifi for my work but when i switched to a simple MTN modem it worked so easily so try changing your internet service provider and lets see what happens

jayantsr83 commented 6 years ago

I just removed the version and it works for me

Rania2910 commented 6 years ago

@jayantsr83 can you please tell me how you removes the version ?

jayantsr83 commented 6 years ago

Like in my case i just remove 1.0.0 at the end of Installation request for rackspace/php-opencloud 1.0.0

Tamizhanstalin commented 6 years ago

Your requirements could not be resolved to an installable set of packages. composer require furqansiddiqui/ethereum-rpc i am facing this error, any solution pls

Problem 1

Installation failed, reverting ./composer.json to its original content.

messipag commented 6 years ago

It work for me when i removed the version

El-Diablo1 commented 6 years ago

just remove the version and i will work command Below. composer require "laravelcollective/html"

Tamizhanstalin commented 6 years ago

yes thanks

mdsayedarif84 commented 6 years ago

Hi pls anyone help me,how i solve this problem.pls pls pls :\fs-xampp\htdocs\ecommerce>composer require gloudemans/shoppingcart Using version ^2.5 for gloudemans/shoppingcart ./composer.json has been updated 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 failed, reverting ./composer.json to its original content.

fielmln123 commented 5 years ago

λ Composer require nesbot/carbon
Using version ^2.10 for nesbot/carbon
./composer.json has been updated
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

this is the result guys cant install.

CWANZETSE commented 5 years ago

If you go into your composer.json file, what version is Composer trying to install? You need to set it to:

{
    "require": {
        "rackspace/php-opencloud": "dev-master"
    }
}

It looks like you're telling Composer to install the SDK without specifying a new version number, and it's failing because you already have an older version installed. If you explicitly tell it to install dev-master it should work.

muhammadshahidraficp commented 5 years ago

i have the same problem with symfony 3.2

screenshot from 2019-01-20 21-43-47

what to do?

ibrahimsayar commented 5 years ago

{ "require": { "rackspace/php-opencloud": "dev-master" } } it dose not work again message :Installation failed, reverting ./composer.json to its original content.

Thanks, really run

azeemkhalil commented 5 years ago

Hi, similar problem, can any one help me how to fix it. Thanks!

Using version ^1.0 for rstgroup/zf-local-config-module ./composer.json has been updated 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

  • phpunit/phpunit 5.7.9 requires ext-dom * -> the requested PHP extension dom is missing from your system.
  • phpunit/phpunit 5.7.8 requires ext-dom * -> the requested PHP extension dom is missing from your system.
  • phpunit/phpunit 5.7.7 requires ext-dom * -> the requested PHP extension dom is missing from your system.
  • phpunit/phpunit 5.7.6 requires ext-dom * -> the requested PHP extension dom is missing from your system.
  • phpunit/phpunit 5.7.5 requires ext-dom * -> the requested PHP extension dom is missing from your system.
  • phpunit/phpunit 5.7.4 requires ext-dom * -> the requested PHP extension dom is missing from your system.
  • phpunit/phpunit 5.7.3 requires ext-dom * -> the requested PHP extension dom is missing from your system.
  • phpunit/phpunit 5.7.26 requires ext-dom * -> the requested PHP extension dom is missing from your system.
  • phpunit/phpunit 5.7.25 requires ext-dom * -> the requested PHP extension dom is missing from your system.
  • phpunit/phpunit 5.7.24 requires ext-dom * -> the requested PHP extension dom is missing from your system.
  • phpunit/phpunit 5.7.23 requires ext-dom * -> the requested PHP extension dom is missing from your system.
  • phpunit/phpunit 5.7.22 requires ext-dom * -> the requested PHP extension dom is missing from your system.
  • phpunit/phpunit 5.7.21 requires ext-dom * -> the requested PHP extension dom is missing from your system.
  • phpunit/phpunit 5.7.20 requires ext-dom * -> the requested PHP extension dom is missing from your system.
  • phpunit/phpunit 5.7.2 requires ext-dom * -> the requested PHP extension dom is missing from your system.
  • phpunit/phpunit 5.7.19 requires ext-dom * -> the requested PHP extension dom is missing from your system.
  • phpunit/phpunit 5.7.18 requires ext-dom * -> the requested PHP extension dom is missing from your system.
  • phpunit/phpunit 5.7.17 requires ext-dom * -> the requested PHP extension dom is missing from your system.
  • phpunit/phpunit 5.7.16 requires ext-dom * -> the requested PHP extension dom is missing from your system.
  • phpunit/phpunit 5.7.15 requires ext-dom * -> the requested PHP extension dom is missing from your system.
  • phpunit/phpunit 5.7.14 requires ext-dom * -> the requested PHP extension dom is missing from your system.
  • phpunit/phpunit 5.7.13 requires ext-dom * -> the requested PHP extension dom is missing from your system.
  • phpunit/phpunit 5.7.12 requires ext-dom * -> the requested PHP extension dom is missing from your system.
  • phpunit/phpunit 5.7.11 requires ext-dom * -> the requested PHP extension dom is missing from your system.
  • phpunit/phpunit 5.7.10 requires ext-dom * -> the requested PHP extension dom is missing from your system.
  • phpunit/phpunit 5.7.1 requires ext-dom * -> the requested PHP extension dom is missing from your system.
  • phpunit/phpunit 5.7.0 requires ext-dom * -> the requested PHP extension dom is missing from your system.
  • Installation request for phpunit/phpunit ^5.7 -> satisfiable by phpunit/phpunit[5.7.0, 5.7.1, 5.7.10, 5.7.11, 5.7.12, 5.7.13, 5.7.14, 5.7.15, 5.7.16, 5.7.17, 5.7.18, 5.7.19, 5.7.2, 5.7.20, 5.7.21, 5.7.22, 5.7.23, 5.7.24, 5.7.25, 5.7.26, 5.7.3, 5.7.4, 5.7.5, 5.7.6, 5.7.7, 5.7.8, 5.7.9].

To enable extensions, verify that they are enabled in those .ini files:

  • /etc/php/7.0/cli/php.ini

  • /etc/php/7.0/cli/conf.d/10-opcache.ini

  • /etc/php/7.0/cli/conf.d/10-pdo.ini

  • /etc/php/7.0/cli/conf.d/20-calendar.ini

  • /etc/php/7.0/cli/conf.d/20-ctype.ini

  • /etc/php/7.0/cli/conf.d/20-exif.ini

  • /etc/php/7.0/cli/conf.d/20-fileinfo.ini

  • /etc/php/7.0/cli/conf.d/20-ftp.ini

  • /etc/php/7.0/cli/conf.d/20-gettext.ini

    • /etc/php/7.0/cli/conf.d/20-iconv.ini
    • /etc/php/7.0/cli/conf.d/20-json.ini
    • /etc/php/7.0/cli/conf.d/20-phar.ini
    • /etc/php/7.0/cli/conf.d/20-posix.ini
    • /etc/php/7.0/cli/conf.d/20-readline.ini
    • /etc/php/7.0/cli/conf.d/20-shmop.ini
    • /etc/php/7.0/cli/conf.d/20-sockets.ini
    • /etc/php/7.0/cli/conf.d/20-sysvmsg.ini
    • /etc/php/7.0/cli/conf.d/20-sysvsem.ini
    • /etc/php/7.0/cli/conf.d/20-sysvshm.ini
    • /etc/php/7.0/cli/conf.d/20-tokenizer.ini You can also run php --ini inside terminal to see which files are used by PHP in CLI mode.

Installation failed, reverting ./composer.json to its original content. likithreddy@likithreddy-Inspiron-13-5368:~/Downloads/zf-local-config-module-master$

did yo solve it ???

andrepinheiro111 commented 5 years ago

que problema e esse:

Your requirements could not be resolved to an installable set of packages.

Problem 1

riponahmed2201 commented 5 years ago

I just removed the version and it works for me

which version you use? please tell me.

rajesh-sargam commented 5 years ago

i have used laravel 5.4

JosephArch commented 4 years ago

Using version ^8.0 for laravel/passport ./composer.json has been updated 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 failed, reverting ./composer.json to its original content.

Alguien me puede ayudar con esto

designer999 commented 4 years ago

how to remove version and where please

donphelix commented 4 years ago

@designer999 Having the same problem, did you find the solution?

Mansourkira commented 4 years ago

just run this : composer require laravel/ui "^1.0" --dev

php artisan ui vue --auth

dedediana commented 4 years ago

just run this : composer require laravel/ui "^1.0" --dev

php artisan ui vue --auth

Work for me using Laravel 6.18.0

farridkun commented 4 years ago

just run this : composer require laravel/ui "^1.0" --dev

php artisan ui vue --auth

Ahooy!, its work thanks bro!

HadiNiazi commented 4 years ago

It works fine for me when i removed the version. before command is : composer require "laravelcollective/html":"^5.4.0"

After removing version : composer require "laravelcollective/html"

shindekalpesharun commented 4 years ago

It works on ubuntu and must be check laravel set environmental $ *composer create-project laravel/laravel BlogLaravel "7."**

for composer and laravel set envrmental path $ export PATH="$PATH:$HOME/.composer/vendor/bin" $ echo 'export PATH="$PATH:$HOME/.composer/vendor/bin"' >> ~/.bashrc $ source ~/.bashrc

devsnayan commented 4 years ago

I am in same problem. composer require noitran/opendox doesn't work.

BriceBlanco commented 4 years ago

Hi,i have also the same problem when i'm running.Someone help??

composer require maddhatter/laravel-fullcalendar

Using version ^1.3 for maddhatter/laravel-fullcalendar ./composer.json has been updated 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 failed, reverting ./composer.json to its original content.

coderblower commented 4 years ago

Your requirements could not be resolved to an installable set of packages.

Problem 1

Installation failed, reverting ./composer.json to its original content.

Jhonata-Moreira commented 4 years ago

Hi guys. Is a in problem int the artisan version. A solution I found for anyone trying to install dusk is:

run composer require --dev laravel/dusk:"^5.0"

with that, your laravel version will get the latest version of dusk

For others problems, run php artisan --version. Go to your version laravel documentation e search what is trying install. Will have the version you need.

I hope it help ;)

ississam commented 3 years ago

Hi guys, i have the same problem with Zendframework 2 , when i rum composer require zendframework/zend-cache