FS#61683 - [xdebug] bad version naming, pacman thinks that package xdebug 2.7.0RC1 is older than 2.7.0beta1-1
Attached to Project:
Community Packages
Opened by patrick (potomac) - Friday, 08 February 2019, 21:26 GMT
Last edited by Sergej Pupykin (sergej) - Tuesday, 19 February 2019, 12:46 GMT
Opened by patrick (potomac) - Friday, 08 February 2019, 21:26 GMT
Last edited by Sergej Pupykin (sergej) - Tuesday, 19 February 2019, 12:46 GMT
|
Details
Description:
xdebug has recently change his version naming : "2.7.0RC1-1" instead of "2.7.0beta1-1" the previous version name was : 2.7.0beta1-1 the new version since today : 2.7.0RC1-1 the consequence is if xdebug was already installed on the system (at the version "2.7.0beta1-1") then pacman will refuse to update the package (when doing a "pacman -Syu"), a warning will be displayed, claiming that "xdebug-2.7.0beta1-1 is more recent that xdebug-2.7.0RC1-1" and if try a "pacman -S xdebug" I have this warning : warning: downgrading package xdebug (2.7.0beta1-1 => 2.7.0RC1-1) see the history version of xdebug here, something seems incoherent in the naming : https://git.archlinux.org/svntogit/community.git/log/trunk?h=packages/xdebug Additional info: * package version(s) xdebug-2.7.0RC1-1 * config and/or log files etc. Steps to reproduce: - you must have the "N-1" version of xdebug installed (2.7.0beta1-1) - try to update your system with "pacman -Syu" - you will notice that pacman will refuse to upgrade xdebug because pacman thinks that the new version (2.7.0RC1-1) is older than 2.7.0beta1-1 |
This task depends upon
1
$ vercmp 2.7.0beta1-1 2.7.0rc1-1
-1
capital R is weighted less than lowercase b. Simply repackaging as 2.7.0rc1-1 should be sufficient to register as an upgrade to all users.