FS#17127 - IgnorePkg with package version
|
Details
It would be very nice to have IgnorePkg work with package
versions (even better with =version, <version,
>version, etc.)
As of right now (correct me if I'm wrong) it's only possible to do that with custom scripts like if [[ $(sudo pacman -Syi $package |grep Version |grep $version) ]]; then pacman -Su --ignore $package else pacman -Su fi |
This task depends upon
FS#9515. But I'd like to point out that the discussion there began with the desire to hold of upgrading until the next major version. (The OP wanted kernel26<2.6.25). However what would be more useful is holding off upgrading *to* the next major version: kernel26>=2.6.25this bug is about skipping certain defined versions, for which the issues raised with the other feature request don’t apply.
skipping certain versions would be useful e.g. if some package version has some known issues (which are expected to be fixed in the upcoming version) or if some big package (or lengthy AUR building process) doesn’t warrant the minor changes in the to-be-skipped version.
the latter is of course only of value if you use a AUR helper, but the former is a very valid point, e.g. skype was incompatible with one lib32-qt version at one point.
skype and lib32-* (from my previous comment) are dead, but xorg is still around and therefore there’s still buggy versions one wants to skip: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1392