Closed excalibur1234 closed 5 years ago
the same should be done to the "downgrade" option. why limit the downgrade to locally installed packages? this bit me today when i tried to downgrade to connman, because networkmanager was not working anymore (and i did not have an internet connection anymore).
i close this issue, not because it is solved, but because pacli is abandoned and this issue is probably never getting fixed.
this and many other issues are already fixed in a successor to pacli called pacui: https://github.com/excalibur1234/pacui
as far as i can see, only installed packages are offered to choose a package from (of which pactree is shown).
imho, it should be something like this:
then, you should replace "pacman -Qq" in the following code line with "cat /tmp/pacli-packages-local":
declare pkg=$(print_enter "$(gettext 'Select a package')" "$(pacman -Qq)" )