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

Nagy Gabor ngaba at bibl.u-szeged.hu
Mon Nov 26 08:48:45 EST 2007

Idézés Xavier <shiningxc at gmail.com>:

> 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..

Exactly. Thus holdpkg cannot be set from command-line neither. So apart from the
auto-generated holdpkgs for "dangerous" removals [but come on, who wants to
remove glibc or pacman with -R ?!] the current HoldPkg is pointless imho.


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