diff --git a/slpkg/utilities.py b/slpkg/utilities.py index ec409286..1c681171 100644 --- a/slpkg/utilities.py +++ b/slpkg/utilities.py @@ -128,7 +128,7 @@ class Utilities: installed_version: str = self.split_binary_pkg(installed)[1] return (str(LooseVersion(f'{repository_version}.{repo_build_tag}')) > - str(LooseVersion(f'{repository_version}.{repo_build_tag}'))) + str(LooseVersion(f'{installed_version}.{inst_build_tag}'))) def read_build_tag(self, sbo: str) -> str: """ Patching SBo TAG from the configuration file. """