I am trying to build the latest KDE Frameworks git packages. However, I currently have installed the stable non-git packages. In order to install all of the git packages I need to answer 'y' to all of the replace prompts one by one. I usually use --noconfirm to skip prompts, but when it asks to replace a package, it defaults to 'no'. I want it to default to 'yes' in this case.
1 Answer
See man yes
.
Try if yes| your-pacman-command
will do.
-
But this would answer "yes" to all questions, not to "replace" one.– Hi-AngelJun 18, 2023 at 14:10
--noconfirm
option, so I'd say they are trying to assume yes for every question in general and it just happens to not work for the replacement question (among others). I don't see any reason to reopen it.