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

Xavier shiningxc at gmail.com
Mon Nov 26 08:15:47 EST 2007


On Mon, Nov 26, 2007 at 01:49:13PM +0100, Nagy Gabor wrote:
>  
> > 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.
> 

Indeed, that was my opinion for ignorepkg, and by symmetry, for holdpkg :)
With the difference than removing is more dangerous :P And that IgnorePkg is
usually set by the user, while HoldPkg is set by default to pacman and glibc.
So I don't know..




More information about the pacman-dev mailing list