pkgng: how to upgrade a single port?

George Kontostanos gkontos.mail at gmail.com
Sun Nov 3 22:24:28 UTC 2013


On Fri, Nov 1, 2013 at 10:18 PM, Mark Felder <feld at freebsd.org> wrote:

>
>
> On Fri, Nov 1, 2013, at 15:10, Mark Felder wrote:
> >
> >
> > On Fri, Nov 1, 2013, at 14:53, Mike Jakubik wrote:
> > > Hello,
> > >
> > > I've recently switched to pkgng, only to be disappointed that there
> > > doesn't seem to be a way to upgrade a single port, pkg upgrade seems to
> > > be an all or nothing operation. Am I missing something?
> > >
> >
> > pkg install for remote packages, pkg add for local packages
> >
>
> pkg add actually might not like what you're doing and tell you that the
> package is already installed... I have a feeling I've seen it do that.
> Don't have a way to test it at the moment.
> _______________________________________________
> freebsd-stable at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"
>

You can alway lock a package or the packages that you don't need to
upgrade. See: "pkg help lock"

-- 
George Kontostanos
---
http://www.aisecure.net


More information about the freebsd-stable mailing list