pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkgin comments (mostly doc)



On Wed, Feb 26, 2014 at 10:11:08AM -0500, Greg Troxel wrote:
> > See above, /var/db/pkgin/cache. I don't think the location is
> > configurable. I don't know how it cleans it up, if at all.
> 
> I suppose you really mean ${VARBASE}/pkgin/cache.

Yes, it seems the package does that with a SUBST.

> > I'm not sure what you're asking. If foo is keepable and DEPENDS on
> > bar, pkgin will upgrade bar if a newer version is available.
> 
> There is "upgrade" and "full-upgrade".  THe man page says that upgrade
> only upgrades "keepable" packages.  I don't understand why there is a
> distinction.

Oh, sorry, my confusion. I never use upgrade, only full-upgrade. I
don't know why upgrade exists.

> It's a variable, set to YES, much like automatic
> 
>   $ pkg_info -B bup |egrep unsafe_depe
>   pkg_info -B bup |egrep unsafe_depe
>   unsafe_depends_strict=YES
>   unsafe_depends=YES
> 
> "make replace" sets this on depending packages.  Arguably the right
> thing is to have pkg_add -u set it on depending packages, and then pkgin
> would inherit this behavior.  (I don't think anyone objects to doing
> this.)

Yes, someone should do this :)
 Thomas


Home | Main Index | Thread Index | Old Index