kitsunyan / pakku

Pacman wrapper with AUR support
GNU General Public License v3.0
130 stars 8 forks source link

Ignored packages #27

Closed mrvik closed 5 years ago

mrvik commented 5 years ago

I've noticed that pakku prompts about ignored packages to add them to the transaction. It's an interesting feature, but the default option (in my opinion) would be no. However, it's not critical, but if a package is ignored, the expected behaviour is to ignore it always also the aur helper. Here is the output of pakku (some lines were omitted)

> LANG=C pakku -Syu $(pacman -Qqs git |grep -P '^..*git$') --noconfirm --ignore ipxe-git
:: Synchronizing package databases...
:: Resolving build targets...
:: ipxe-git is in IgnorePkg/IgnoreGroup. Install anyway? [Y/n] 
:: Starting full system upgrade...
 there is nothing to do
:: Resolving build targets...
resolving dependencies...

:: Proceed with building? [Y/n] 
BurhanDanger commented 5 years ago
$ sudo pacman -S nemo
:: nemo is in IgnorePkg/IgnoreGroup. Install anyway? [Y/n] n
warning: skipping target: nemo
 there is nothing to do

$ sudo pacman -Syu
:: Synchronising package databases...
 core is up to date
 extra                                                                                      1643.9 KiB  1430K/s 00:01 [----------------------------------------------------------------------] 100%
 community                                                                                     4.5 MiB  1199K/s 00:04 [----------------------------------------------------------------------] 100%
 multilib                                                                                    172.3 KiB  1914K/s 00:00 [----------------------------------------------------------------------] 100%
 repo-ck is up to date
:: Starting full system upgrade...
warning: nemo: ignoring package upgrade (3.6.5-1 => 3.8.5-1)
 there is nothing to do

Isn't that the expected behaviour ?

mrvik commented 5 years ago

Sorry, it's ok, I didn't run pacman with those options