pkgsrc-Users archive

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

Re: pkg_rolling-replace and removed or renamed packages



from Greg Troxel:

> This is awkward.  I do something like
        
>   make OLDNAME=gcalctook-gtk3 replace

> But I sometimes just pkg_delete (and sometimes pkg_delete -f) the former
> package.

> One thing that would be nice is if pkg_delete -f set unsafe_depends on
> everything that used to depend on the force-deleted package.  This might
> actually work, but I think the unsafe_depends logic is presently in make
> replace rather than in pkg_add -U.

I didn't know about OLDNAME as a recognized variable, but it looks good, better 
than pkg_delete.

I'll try that when I next get into such a situation; am more active with 
FreeBSD than NetBSD.

Tom



Home | Main Index | Thread Index | Old Index