diff --git a/ChangeLog.txt b/ChangeLog.txt index 498f34a9..cd68e808 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -3,6 +3,7 @@ Updated: - Improve speed (Replace multi SQL queries) Fixed: - For binaries double dependencies +- For remove package version Added: - Slots '__slots__' to improve speed diff --git a/slpkg/views/views.py b/slpkg/views/views.py index 4d122f8d..c83f27b9 100644 --- a/slpkg/views/views.py +++ b/slpkg/views/views.py @@ -191,9 +191,9 @@ class ViewMessage(Configs): title: str = " Choose dependencies you want to remove " for package in dependencies: - repo_ver: str = self.data[package][2] inst_pkg: str = self.utils.is_package_installed(package) - choices += [(package, repo_ver, True, f'Package: {inst_pkg}')] + inst_ver: str = self.utils.split_binary_pkg(inst_pkg)[1] + choices += [(package, inst_ver, True, f'Package: {inst_pkg}')] text: str = f'There are {len(choices)} dependencies:'