Lines Matching defs:version
47 import pkg.version as version
66 _TRIM_DEP_MISSING = 0 # no matching pkg version found for dep
69 _TRIM_FIRMWARE = 3 # firmware version requirement
73 _TRIM_INSTALLED_NEWER = 7 # newer version installed already
74 _TRIM_INSTALLED_ORIGIN = 8 # installed version in image too old
75 _TRIM_INSTALLED_ROOT_ORIGIN = 9 # installed version in root image too old
77 _TRIM_PARENT_NEWER = 11 # parent image has newer version
78 _TRIM_PARENT_OLDER = 12 # parent image has older version
82 _TRIM_PROPOSED_VER = 16 # didn't match requested version
90 _TRIM_CPU = 24 # cpu version requirement
366 reason = (N_("This version is excluded by a "
367 "freeze on {0} at version {1}. The "
369 (f.pkg_name, f.version.get_version(
372 reason = (N_("This version is excluded by a "
373 "freeze on {0} at version {1}."),
374 (f.pkg_name, f.version.get_version(
392 and raise an exception if no matching version of a proposed
409 ret.extend([_("No matching version of {0} can be "
459 N_("This version rejected by user request"))
550 requires new version of java not allowed by installed
577 """Constrain the solver solution so that only one version of
581 # Generate clauses for only one version of each package, and
586 # Ensure only one version of a package is installed
693 # no version of this package is allowed
761 # First, perform a full trim of the package version space; this
844 info.append(_("Include specific version of packages "
977 # proposed version is already installed and is not being removed
1057 # Don't trim versions if newest version in
1059 # version.
1061 if verlist[-1].version < f.version:
1081 N_("This version excluded by specified "
1082 "installation version"))
1121 reason = (N_("This version is excluded by installed "
1197 # Constrain the solution so that only one version of each
1349 # Constrain the solution so that only one version of each
1426 "cannot update to the latest version:"))
1466 # to a different version which might not have the same
1685 CONSTRAINT.NONE of specified version and set of remaining
1689 version.CONSTRAINT_NONE, obsolete_ok)
1706 if not fmri.version or
1707 fmri.version == f.version or
1708 f.version.is_successor(fmri.version,
1724 specified version and set of remaining fmris."""
1743 CONSTRAINT.AUTO of specified version and set of remaining
1745 return self.__comb_common(fmri, dotrim, version.CONSTRAINT_AUTO,
2105 # remove version explicitly; don't
2107 if f.version is not None:
2109 fmri.version = None
2135 fver = fmri.version
2258 # version, remove the obsolete fmris from
2312 # version of the package that is already
2320 # version of the package that is proposed.
2332 (N_("No version allowed by 'exclude' "
2386 (N_("No version for '{0}' dependency on {1} can "
2390 # one version is possible, then mark all other versions as
2407 (N_("No version matching '{0}' dependency {1} can be "
2490 ret.append(_("No suitable version of installed package "
2597 # rejected due to a newer version being installed, or
2639 # specify a version since any version-specific
2651 # Add the reasons why each package version that
2689 s = _("No suitable version of required package "
2879 """Return the latest version of installed upgradeable
2911 # version, and those that have pkg.depend.install-hold values.
2935 if fmri.version is not None
2973 # depended on w/ a explicit version. We now modify this list so
3062 f.version == inst_f.version)
3083 reason = (N_("Newer version {0} is already installed"), (fmri,))
3113 publisher than the parent image, or that is a different version
3143 if pf.version == fmri.version or pf.version.is_successor(
3144 fmri.version, version.CONSTRAINT_AUTO):
3148 # version mismatch
3149 if pf.version.is_successor(fmri.version,
3150 version.CONSTRAINT_NONE):
3154 "newer version: {0}"), (pf,))
3157 "newer version: {0}"), (pf,))
3162 "version of package: {0}"), (pf,))
3165 "version of package: {0}"), (pf,))
3264 reason = (N_("Installed version in root image "
3277 reason = (N_("Installed version in image "
3285 if (not installed or not req_fmri.version or
3286 req_fmri.version == installed.version or
3287 installed.version.is_successor(req_fmri.version,
3288 version.CONSTRAINT_NONE)):
3326 # the currently installed version is not allowed by the related
3331 # a newer version of an incorporating package and an older
3332 # version is otherwise allowed
3334 # in a newer version of an incorporating package and a newer
3335 # version is otherwise allowed
3347 inst_ver = inst_fmri.version
3350 # version.
3351 if (df.version.is_successor(inst_ver, None) or
3352 df.version == inst_ver):