diff --git a/slpkg/binary/install.py b/slpkg/binary/install.py index 68f0df4e..d87f5532 100644 --- a/slpkg/binary/install.py +++ b/slpkg/binary/install.py @@ -205,6 +205,8 @@ class BinaryInstall(object): requires = [] Msg().resolving() for dep in self.packages: + if self.if_upgrade: + dep = dep.split("-")[0] dependencies = [] dependencies = Utils().dimensional_list(Dependencies( self.PACKAGES_TXT, self.repo).binary(dep))