On Wed, Sep 14, 2005 at 12:37:52AM +0200, -f wrote: > hmm, on Tue, Sep 13, 2005 at 08:28:38PM +0200, Marc Espie said that > > > is this safe? > > > > > > kripel> cd /var/db/pkg > > > kripel> sudo pkg_add -r `ls` > > > > Yes, perfectly safe. But it doesn't do what you think it would... > > you certainly have my attention ;-)
pkg_add -r is short for `replace'. and then you give it a list of packages *you want to install*. and here you go giving it the list of packages which are already installed. What do you think is going to happen ? If you want to *update* to newer versions, then that's the new pkg_add -u (for `update') switch you want...