Open 0phoff opened 7 years ago
yaourt
passes this option directly to pacman
which does not support wildcards - that's it.
Since the packages I want disabled are AUR packages I cannot test it, but citing the man pages of pacman.conf
IgnorePkg = package …
Instructs pacman to ignore any upgrades for this package when performing a --sysupgrade. Shell-style glob patterns are allowed.
So it seems they do allow for glob-patterns.. 🤡 Need to test if it actually works though!
edit: link to online man page
yaourt
is using command line option which doesn't seem to be supporting globs.
For AUR packages, yaourt
would need to implement its own --ignore
option, I guess.
Oh ok, so you're saying --ignore doesnt allow for globbing, but IgnorePkg does? Could be an explanation, I will try and toy around to see if it is correct!
Feel free to close this issue, if you are not planning to add support for this! (and have no other way of providing a solution to my problem)
Pacman does support globbing for command line option --ignore
, it is definitively a deficiency on yaourt
side.
I guess the check in function is_package_ignored()
from pacman.sh.in
must be improved, not sure if other code should be modified.
Request Yaourt does not support globbing on the --ignore flag (or IgnorePkg in pacman.conf) Is there a specific reason why this is not implemented?
Background I use yaourt to perform all my package updates as it updates both normal and AUR packages. Recently I installed the ROS packages (middleware for distributed robot systems). However, I dont really use the packages on a daily basis anymore, so I dont need all the updates on these packages! I dont want to remove the packages, because I will reuse them later for sure.
I tried to add a line to pacman.conf 'IgnorePkg = ros-kinetic*' (all pkgs start with that). Sadly, I noticed this is not working with yaourt!
Updating all of the packages ROS provides takes quite some time and I have to many packages to list them all individually...
Is there a way to achieve what I want to do?