You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
composer update fails with [RuntimeException] Could not load package exakat/exakat in http://repo.packagist.org: [UnexpectedValueException] Could not parse version constraint ~7.*: Invalid version string "~7.*"
#142
Open
rcampbel3 opened this issue
Sep 28, 2020
· 2 comments
Today when I went to do 'composer update' on my exakat server, I got this error:
# composer update -vvv
Reading ./composer.json
Loading config file ./composer.json
Checked CA file /etc/ssl/certs/ca-certificates.crt: valid
Executing command (/data): git branch --no-color --no-abbrev -v
Executing command (/data): git describe --exact-match --tags
Executing command (/data): git log --pretty="%H" -n1 HEAD
Executing command (/data): hg branch
Executing command (/data): fossil branch list
Executing command (/data): fossil tag list
Executing command (/data): svn info --xml
Reading /root/.composer/composer.json
Loading config file /root/.composer/composer.json
Reading /data/vendor/composer/installed.json
Reading /root/.composer/vendor/composer/installed.json
Loading plugin PHPStan\ExtensionInstaller\Plugin
Loading plugin Ergebnis\Composer\Normalize\NormalizePlugin
Loading plugin Dealerdirect\Composer\Plugin\Installers\PHPCodeSniffer\Plugin
Loading plugin PackageVersions\Installer
Running 1.9.3 (2020-02-04 12:58:49) with PHP 7.4.10 on Linux / 4.15.0-1060-aws
Loading composer repositories with package information
Downloading https://repo.packagist.org/packages.json
Writing /root/.composer/cache/repo/https---repo.packagist.org/packages.json into cache
Updating dependencies (including require-dev)
Reading /root/.composer/cache/repo/https---repo.packagist.org/p-provider-2013.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/p-provider-2014.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/p-provider-2015.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/p-provider-2016.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/p-provider-2017.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/p-provider-2018.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/p-provider-2019.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/p-provider-2019-10.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/p-provider-2020-01.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/p-provider-2020-04.json from cache
Downloading http://repo.packagist.org/p/provider-2020-07%2421e77575bbbf0d089aa5fe7c81483934a95b09bffdd9adf46ce5c589782f9dc0.json
Writing /root/.composer/cache/repo/https---repo.packagist.org/p-provider-2020-07.json into cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/p-provider-archived.json from cache
Downloading http://repo.packagist.org/p/provider-latest%24410ef293e662bdd9e930f981a7537b1c637ed6ab1f43a31d2f6cc0e4c38a27b4.json
Writing /root/.composer/cache/repo/https---repo.packagist.org/p-provider-latest.json into cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-ircmaxell$php-types.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-roave$security-advisories.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-sensiolabs$security-checker.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-wapmorgan$php-code-fixer.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-amphp$amp.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-amphp$byte-stream.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-behat$gherkin.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-behat$transliterator.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-psr$container.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-symfony$config.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-symfony$console.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-symfony$dependency-injection.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-symfony$event-dispatcher.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-symfony$translation.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-symfony$yaml.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-behat$behat.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-symfony$filesystem.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-symfony$polyfill-ctype.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-symfony$deprecation-contracts.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-symfony$polyfill-php80.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-symfony$debug.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-symfony$polyfill-mbstring.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-symfony$contracts.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-symfony$polyfill-php73.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-symfony$service-contracts.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-symfony$string.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-symfony$event-dispatcher-contracts.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-symfony$translation-contracts.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-psr$log.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-psr$cache.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-symfony$polyfill-intl-grapheme.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-symfony$polyfill-intl-normalizer.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-psr$event-dispatcher.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-php-di$php-di.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-symfony$process.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-tightenco$collect.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-webmozart$assert.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-bmitch$churn-php.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-container-interop$container-interop.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-php-di$invoker.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-php-di$phpdoc-reader.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-jeremeamia$superclosure.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-nikic$php-parser.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-symfony$var-dumper.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-symfony$polyfill-php56.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-symfony$polyfill-php72.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-symfony$polyfill-util.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-brightzone$gremlin-php.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-cerdic$css-tidy.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-clue$graph.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-composer$ca-bundle.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-composer$semver.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-composer$spdx-licenses.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-composer$xdebug-handler.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-justinrainbow$json-schema.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-seld$jsonlint.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-seld$phar-utils.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-symfony$finder.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-composer$composer.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-composer$package-versions-deprecated.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-consolidation$robo.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-webmozart$path-util.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-dave-liddament$sarb.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-squizlabs$php-codesniffer.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-dealerdirect$phpcodesniffer-composer-installer.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-ircmaxell$php-cfg.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-designsecurity$progpilot.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-phpdocumentor$graphviz.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-dnoegel$php-xdg-base-dir.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-docopt$docopt.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-doctrine$lexer.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-doctrine$annotations.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-doctrine$collections.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-doctrine$inflector.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-doctrine$instantiator.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-nette$http.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-nette$utils.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-tracy$tracy.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-dogma$dogma.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-pdepend$pdepend.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-phploc$phploc.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-phpmd$phpmd.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-phpmetrics$phpmetrics.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-sebastian$phpcpd.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-twig$twig.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-edgedesign$phpqa.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-henrikbjorn$lurker.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-league$container.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-consolidation$log.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-consolidation$annotated-command.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-consolidation$output-formatters.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-dflydev$dot-access-data.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-grasmash$yaml-expander.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-consolidation$config.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-consolidation$self-update.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-g1a$composer-test-scenarios.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-sebastian$finder-facade.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-sebastian$git.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-sebastian$version.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-sebastian$cli-parser.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-phpunit$php-file-iterator.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-hoa$ruler.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-zetacomponents$base.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-zetacomponents$console-tools.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-phpunit$php-timer.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-theseer$fdomdocument.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-phpdocumentor$reflection-docblock.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-victorjonsson$markdowndocs.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-grasmash$expander.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-hoa$core.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-hoa$compiler.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-hoa$file.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-hoa$visitor.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-phpunit$phpunit.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-dflydev$markdown.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-phpdocumentor$reflection-common.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-phpdocumentor$type-resolver.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-hoa$iterator.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-hoa$math.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-hoa$regex.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-hoa$stream.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-hoa$string.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-hoa$ustring.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-ergebnis$json-normalizer.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-ergebnis$json-printer.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-localheinz$diff.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-ergebnis$composer-normalize.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-phpstan$phpstan.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-ergebnis$phpstan-rules.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-jean85$pretty-package-versions.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-nette$bootstrap.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-nette$di.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-nette$neon.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-nette$robot-loader.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-nette$schema.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-phpstan$phpdoc-parser.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-ocramius$package-versions.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-nette$php-generator.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-nette$finder.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-friendsofphp$php-cs-fixer.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-guiguiboy$php-cli-progress-bar.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-exakat$exakat.json from cache
[RuntimeException]
Could not load package exakat/exakat in http://repo.packagist.org: [UnexpectedValueException] Could not parse version constr
aint ~7.*: Invalid version string "~7.*"
Exception trace:
() at phar:///usr/local/bin/composer/src/Composer/Repository/ComposerRepository.php:668
Composer\Repository\ComposerRepository->createPackage() at phar:///usr/local/bin/composer/src/Composer/Repository/ComposerRepository.php:412
Composer\Repository\ComposerRepository->whatProvides() at phar:///usr/local/bin/composer/src/Composer/DependencyResolver/Pool.php:204
Composer\DependencyResolver\Pool->computeWhatProvides() at phar:///usr/local/bin/composer/src/Composer/DependencyResolver/Pool.php:193
Composer\DependencyResolver\Pool->whatProvides() at phar:///usr/local/bin/composer/src/Composer/DependencyResolver/RuleSetGenerator.php:171
Composer\DependencyResolver\RuleSetGenerator->whitelistFromPackage() at phar:///usr/local/bin/composer/src/Composer/DependencyResolver/RuleSetGenerator.php:353
Composer\DependencyResolver\RuleSetGenerator->getRulesFor() at phar:///usr/local/bin/composer/src/Composer/DependencyResolver/Solver.php:217
Composer\DependencyResolver\Solver->solve() at phar:///usr/local/bin/composer/src/Composer/Installer.php:475
Composer\Installer->doInstall() at phar:///usr/local/bin/composer/src/Composer/Installer.php:229
Composer\Installer->run() at phar:///usr/local/bin/composer/src/Composer/Command/UpdateCommand.php:163
Composer\Command\UpdateCommand->execute() at phar:///usr/local/bin/composer/vendor/symfony/console/Command/Command.php:245
Symfony\Component\Console\Command\Command->run() at phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:835
Symfony\Component\Console\Application->doRunCommand() at phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:185
Symfony\Component\Console\Application->doRun() at phar:///usr/local/bin/composer/src/Composer/Console/Application.php:267
Composer\Console\Application->doRun() at phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:117
Symfony\Component\Console\Application->run() at phar:///usr/local/bin/composer/src/Composer/Console/Application.php:106
Composer\Console\Application->run() at phar:///usr/local/bin/composer/bin/composer:61
require() at /usr/local/bin/composer:24
[UnexpectedValueException]
Could not parse version constraint ~7.*: Invalid version string "~7.*"
and here is my 'exakat doctor' output
# ./exakat.phar doctor
exakat :
executable : ./exakat.phar
version : 2.1.8
build : 1141
exakat.ini : ./config/exakat.ini,
environnment
graphdb : gsneo4j
reports :
rulesets : CompatibilityPHP70,
CompatibilityPHP71,
CompatibilityPHP72,
CompatibilityPHP73,
Analyze,
Preferences,
Appinfo,
Appcontent,
"Dead code",
Security,
Custom,
Stats
extra rulesets :
ignored rules :
tokenslimit : 1 000 000 000
PHP :
binary : 7.4.10
memory_limit : -1
short_open_tags : Off
ext/curl : Yes
ext/hash : Yes
ext/phar : Yes
ext/sqlite3 : Yes
ext/tokenizer : Yes
ext/mbstring : Yes
ext/json : Yes
ext/xmlwriter : Yes
ext/pcntl : Yes
xdebug.max_nesting_l : 1001 (Must be -1 or more than 1000)
parallel_processing : Yes
pcre.jit : On (Must be off on PHP 7.3 and OSX)
java :
installed : Yes
type : OpenJDK Runtime Environment Corretto-8.212.04.1 (build 1.8.0_212-b04)
version : openjdk
$JAVA_HOME : <none>
$JAVA_OPTIONS :
tinkergraph :
configured : No tinkergraph configured in config/exakat.ini.
tinkergraphv3 :
configured : No tinkergraph configured in config/exakat.ini.
gsneo4j :
installed : Yes (folder : /data/tinkergraph)
host : 127.0.0.1
port : 8182
gremlin version : 3.3.6
neo4j version : 3.2.3
gsneo4jv3 :
configured : No gsneo4jv3_folder configured in config/exakat.ini.
nogremlin :
installed : Always
project :
name :
url :
phpversion : 7.4
reports : "Ambassador"
rulesets : CompatibilityPHP70, CompatibilityPHP71, CompatibilityPHP72, CompatibilityPHP73, Analyze, Preferences, Appinfo, Appcontent, "Dead code", Security, Custom, Stats
included dirs :
ignored dirs : /assets, /cache, /css, /data, /doc, /docker, /docs, /example, /examples, /images, /js, /lang, /spec, /sql, /test, /tests, /tmp, /version, /var
ignored rules :
file extensions : php, php3, inc, tpl, phtml, tmpl, phps, ctp, module
folders :
projects folder : Yes
php56 :
configured : Yes (/usr/bin/php5.6)
actual version : 5.6.40
php70 :
configured : Yes (/usr/bin/php7.0)
actual version : 7.0.33
php71 :
configured : Yes (/usr/bin/php7.1)
actual version : 7.1.33
php72 :
configured : Yes (/usr/bin/php7.2)
actual version : 7.2.33
php73 :
configured : Yes (/usr/bin/php7.3)
actual version : 7.3.22
php74 :
configured : Yes (/usr/bin/php7.4)
actual version : 7.4.10
auditing : with this version
php80 :
configured : Yes (/usr/bin/php8.0)
actual version : 8.0.0
The text was updated successfully, but these errors were encountered:
Today when I went to do 'composer update' on my exakat server, I got this error:
and here is my 'exakat doctor' output
The text was updated successfully, but these errors were encountered: