FS#56672 - Globbing support in IgnorePkg doesn't work
Attached to Project:
Pacman
Opened by Chris Zimmermann (monochromec) - Monday, 11 December 2017, 06:58 GMT
Last edited by Eli Schwartz (eschwartz) - Wednesday, 13 December 2017, 21:20 GMT
Opened by Chris Zimmermann (monochromec) - Monday, 11 December 2017, 06:58 GMT
Last edited by Eli Schwartz (eschwartz) - Wednesday, 13 December 2017, 21:20 GMT
|
Details
Summary and Info:
Globbing support in IgnorePackage doesn't work. Steps to Reproduce: State IgnorePkg php*7.2* in /etc/pacman.conf and pacman -Syu still offers to upgrade php-7.1.12 to php-7.2.0 This maybe related to an issue in the implementation of fnmatch as part of libc. |
This task depends upon
Closed by Eli Schwartz (eschwartz)
Wednesday, 13 December 2017, 21:20 GMT
Reason for closing: Not a bug
Additional comments about closing: this is working as designed
Wednesday, 13 December 2017, 21:20 GMT
Reason for closing: Not a bug
Additional comments about closing: this is working as designed
Instructs pacman to ignore any upgrades for this package
This seems brutally obvious to me that it is not, in fact, talking about packages with a hyphen and a version number appended.
Especially since everywhere ever, pacman would use package=version if it were to take versions into account at all.
Also, why would IgnorePkg be limited to ignoring packages only if those packages were at a specific version? Once you wanted to go past that version, it would make more sense to delete the line altogether than to version-restrict it.