pyrus / Pyrus

The next generation of the PEAR installer.
http://pear2.php.net/
Other
71 stars 18 forks source link

"pyrus upgrade" fails, wants -f #119

Open cweiske opened 11 years ago

cweiske commented 11 years ago
$ pyrus remote-list pear
...
!  PHP_CodeSniffer            1.4.3     PHP_CodeSniffer tokenises PHP, JavaScript and CSS  
...

$ pyrus info pear/php_codesniffer
...
PHP_CodeSniffer (pear.php.net Channel)
--------------------------------------------------------------------------------
Package type: PHP package
Version:      1.4.2 (API 1.4.2), Stability:    stable (API stable)
Release Date: 2012-12-21 16:42:11

$ pyrus upgrade pear/php_codesniffer
Pyrus version 2.0.0a4 SHA-1: 72271D92C3AA1FA96DF9606CD538868544609A52
Using PEAR installation found at /opt/phpfarm/inst/php-5.3.16/pear
Skipping installed package pear.php.net/PHP_CodeSniffer

I don't understand why it does not want to upgrade to the clearly available version 1.4.3.

cweiske commented 11 years ago

Seems the release date is incorrect; it's today, and 1.4.2 was released way earlier.

cweiske commented 11 years ago

Actually running pyrus upgrade -f pear/php_codesniffer installed 1.3.6 here.

CybotTM commented 11 years ago

Same bug for me.

additonaly pyrus list-upgrades does not list any upgrades