[pacman-dev] another case when pacman is asking for confirmation when it should not

Karolina Lindqvist karolina.lindqvist at kramnet.se
Sat Dec 29 04:52:53 EST 2007


There is another case where pacman-git asks for confirmation, when it should 
not. It is when removing packages. If running with 
makeworld --noconfirm --rmdeps  the question will come to the log file, and 
never appear on the console, so you can wait forever wondering what is 
happening.

*** src/pacman/remove.c~        Tue Dec 11 05:06:48 2007
--- src/pacman/remove.c Sun Dec 16 20:34:12 2007
***************
*** 155,161 ****
                list_display(_("Targets:"), lst);
                FREELIST(lst);
                /* get confirmation */
!               if(yesno(_("\nDo you want to remove these packages? [Y/n] ")) 
== 0) {
                        remove_cleanup();
                        FREELIST(finaltargs);
                        return(1);
--- 155,161 ----
                list_display(_("Targets:"), lst);
                FREELIST(lst);
                /* get confirmation */
!               if(!config->noconfirm && yesno(_("\nDo you want to remove 
these packages? [Y/n] ")) == 0) {
                        remove_cleanup();
                        FREELIST(finaltargs);
                        return(1);




More information about the pacman-dev mailing list