Pacman

Historical bug tracker for the Pacman package manager.

The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues

This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
Tasklist

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
Task Type Bug Report
Category General
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version git
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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
Comment by Allan McRae (Allan) - Monday, 11 December 2017, 07:02 GMT
IgnorePkg does not take version numbers into account.
Comment by Chris Zimmermann (monochromec) - Monday, 11 December 2017, 07:11 GMT
Then at least the man page should be updated to reflect this fact. At the moment it doesn't.
Comment by Chris Zimmermann (monochromec) - Monday, 11 December 2017, 07:13 GMT
Or (even better): extend the libalpm util functions to incorporate globbing on version numbers.
Comment by Eli Schwartz (eschwartz) - Monday, 11 December 2017, 07:15 GMT
IgnorePkg = package ...
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.

Loading...