[pacman-dev] IgnorePkg, Holdpkg in libalpm/remove.c

Nagy Gabor ngaba at bibl.u-szeged.hu
Mon Nov 26 07:49:13 EST 2007

> Why? Isn't HoldPkg already equivalent to RemoveIgnorePkg? This sounds like
> unnecessary complication to me.
> However, the scope of HoldPkg might be extended for covering Rc and Rs too,
> as you suggested.

Ehh, indeed;-) I totally misinterpreted HoldPkg, but now I've read our manual;-)
If HoldPkg == RemoveIgnorePkg, then why we need user confirmation for removing
them if he listed the package in the "command line" (package was added by
remove_addtarget)? This is not done with IgnorePkg neither. So they are not
"symmetric" in this way.
RemoveIgnorePkg (and so Holdpkg) has real meaning in case of -Rc and -Rs only
(imho), when pacman does some auto-magic stuffs; not when I do pacman -R
holdpkg, because then I really want to remove holdpkg.


SZTE Egyetemi Könyvtár - http://www.bibl.u-szeged.hu
This mail sent through IMP: http://horde.org/imp/

More information about the pacman-dev mailing list