FS#29013 - pacman -Qu doesn't filter IgnorePkg

Attached to Project: Pacman
Opened by Sébastien Luttringer (seblu) - Tuesday, 20 March 2012, 01:05 GMT
Last edited by Dave Reisner (falconindy) - Sunday, 13 May 2012, 01:54 GMT
Task Type Bug Report
Category General
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 4.0.2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Summary and Info:

Some progams use pacman -Qu to guess how many packages are upgradable.
Unfortunatly, pacman -Qu doesn't take in consideration IgnorePkg (and probably IgnoreGroup) as filtering parameter.
As a consequency, those programs always display update availables.

Step to reproduce:
$ grep grub /etc/pacman.conf
IgnorePkg = grub2-bios grub2-common
$ pacman -Su
:: Starting full system upgrade...
warning: grub2-bios: ignoring package upgrade (1:1.99-6 => 1:2.00beta2-1)
warning: grub2-common: ignoring package upgrade (1:1.99-6 => 1:2.00beta2-1)
there is nothing to do
$ pacman -Qu
grub2-bios 1:1.99-6
grub2-common 1:1.99-6
This task depends upon

Closed by  Dave Reisner (falconindy)
Sunday, 13 May 2012, 01:54 GMT
Reason for closing:  Won't implement
Comment by Daniel Wallace (gtmanfred) - Tuesday, 20 March 2012, 01:25 GMT
i don't think that this is a bug, mostly because --ignore isn't even a flag for pacman -Q mostly because since it isn't updating, there is no need to ignore them

use pacman -Su --print
Comment by Karol Błażewicz (karol) - Tuesday, 20 March 2012, 01:50 GMT
 FS#18671   FS#15785 
Comment by Allan McRae (Allan) - Tuesday, 20 March 2012, 09:09 GMT
I agree that "pacman -Su --print" is the answer here, but given this is a multi-time request, how much work would it take to add that filter?
Comment by Sébastien Luttringer (seblu) - Tuesday, 20 March 2012, 09:43 GMT
pacman -Su --print is perfect for me. I'll patch the program.

Loading...