excalibur1234 / pacui

Bash script providing advanced Pacman and Yay/Pikaur/Aurman/Pakku/Trizen/Pacaur/Pamac-cli functionality in a simple UI
GNU General Public License v3.0
171 stars 13 forks source link

Maintain system option #23

Closed fhdk closed 7 years ago

fhdk commented 7 years ago

When only packer installed an error is thrown

searching orphans ...
/usr/bin/pacui: line 82: yaourt: command not found
excalibur1234 commented 7 years ago

yes, this is the intended behavior.

pacui requires pacman and one of the following AUR helpers:

(please look at the optional dependencies of the pacui package!)

if you do not have pacaur installed, it tries to use yaourt commands, because it requires one of the above mentioned AUR helpers.

if you want to keep using packer, you can manually execute the commands as listed here: https://github.com/excalibur1234/pacui/blob/master/pacui#L1203 (instead of "yaourt -Qdt" use "sudo pacman -Rsn $(pacman -Qqdt)".

excalibur1234 commented 7 years ago

if you are determined to use packer exclusively, you can do a pull request, which adds support for packer. look for the code line if [[ ! -e /usr/bin/pacaur ]] which is used to filter the used AUR helper tool.

fhdk commented 7 years ago

I am not - pacaur is probably fine - thought I was reporting something new.

excalibur1234 commented 7 years ago

no problem. if you are ever in doubt again, feel free to open another issue.