diff --git a/setup-dev.sh b/setup-dev.sh index ed7c24e15..5d02ab8a7 100755 --- a/setup-dev.sh +++ b/setup-dev.sh @@ -125,7 +125,7 @@ Include = /etc/pacman.d/mirrorlist EOF sudo pacman -Syu --noconfirm || true - sudo pacman -S --noconfirm \ + sudo pacman -S --needed --noconfirm \ nasm \ gcc \ glibc-debug \ diff --git a/setup.sh b/setup.sh index a4b4fa1c5..c69371f6d 100755 --- a/setup.sh +++ b/setup.sh @@ -62,7 +62,7 @@ install_emerge() { install_pacman() { sudo pacman -Syy --noconfirm || true - sudo pacman -S --noconfirm git gdb python python-pip python-capstone python-unicorn python-pycparser python-psutil python-ptrace python-pyelftools python-six python-pygments which debuginfod + sudo pacman -S --needed --noconfirm git gdb python python-pip python-capstone python-unicorn python-pycparser python-psutil python-ptrace python-pyelftools python-six python-pygments which debuginfod if ! grep -q "^set debuginfod enabled on" ~/.gdbinit; then echo "set debuginfod enabled on" >> ~/.gdbinit fi