diff --git a/slpkg/queue.py b/slpkg/queue.py index 0fc8d262..24a2c341 100644 --- a/slpkg/queue.py +++ b/slpkg/queue.py @@ -169,6 +169,6 @@ class QueuePkgs(object): print("Package '{0}' not found in /tmp\n".format(pkg)) if pkg in find: binary = "{0}{1}".format(self.meta.tmp, find) - PackageManager(binary.split(), flag="").install() + PackageManager(binary.split()).upgrade(flag="--install-new") else: print("\nPackages not found in the queue for installation\n") diff --git a/slpkg/sbo/slackbuild.py b/slpkg/sbo/slackbuild.py index bae470af..6ac732a5 100644 --- a/slpkg/sbo/slackbuild.py +++ b/slpkg/sbo/slackbuild.py @@ -341,5 +341,5 @@ class SBoInstall(object): print("{0}[ Installing ] --> {1}{2}".format( self.meta.color["GREEN"], self.meta.color["ENDC"], pkg)) installs.append(prgnam) - PackageManager(binary).upgrade("--install-new") + PackageManager(binary).upgrade(flag="--install-new") return installs, upgraded diff --git a/slpkg/sbo/views.py b/slpkg/sbo/views.py index 87bb1df8..e64e96f5 100644 --- a/slpkg/sbo/views.py +++ b/slpkg/sbo/views.py @@ -222,4 +222,4 @@ class SBoNetwork(object): print("[ {0}Installing{1} ] --> {2}".format(_meta_.color["GREEN"], _meta_.color["ENDC"], self.name)) - PackageManager(binary).upgrade("--install-new") + PackageManager(binary).upgrade(flag="--install-new")