Summary: | ports-mgmt/pkg: PKG REVISIONS limited with two characters not number | ||
---|---|---|---|
Product: | Base System | Reporter: | Please <please> |
Component: | bin | Assignee: | freebsd-pkg (Nobody) <pkg> |
Status: | Closed Unable to Reproduce | ||
Severity: | Affects Only Me | CC: | pkg |
Priority: | --- | Flags: | linimon:
maintainer-feedback?
(pkg) |
Version: | Unspecified | ||
Hardware: | Any | ||
OS: | Any |
Description
Please
2020-05-30 21:50:55 UTC
How to repeat. Create a repository with packages that have higher numbers in revision. #pkg search appstore appstore-1.0.125 SSO authentication method for Redmine appstore-1.0.15_100 SSO authentication method for Redmine appstore-1.0.15_101 SSO authentication method for Redmine .. appstore-1.0.15_122 SSO authentication method for Redmine appstore-1.0.15_18 SSO authentication method for Redmine appstore-1.0.15_19 SSO authentication method for Redmine .. appstore-1.0.15_99 SSO authentication method for Redmine #pkg upgrade appstore Updating internal_repo repository catalogue... internal_repo repository is up to date. All repositories are up to date. Checking integrity... done (0 conflicting) Your packages are up to date. The only solution to get the package installed is to install it again / update command does not work. # pkg install appstore-1.0.125 Installed packages to be UPGRADED: appstore: 1.0.15_99 -> 1.0.125 [internal_repo] $ pkg version -t 1_99 1_125 < At least the version comparison code works so if there is a bug it is not there I cannot reproduce, upgrade works fine with 3 digit packages, I added a unit test to make sure it is not broken in our test suite: https://github.com/freebsd/pkg/commit/c0c3b2f472072a4f2fb02feff113bdccd70f7ffa |