hmm, on Wed, Sep 14, 2005 at 11:04:56AM +0200, Marc Espie said that > > > > 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.
ehm. yes.... ok, i try to ask a more intelligent question ;-) kripel> cd /var/db/pkg kripel> pkg_add -u `ls` kripel> sudo pkg_add -r $OUTPUT_OF_PREVIOUS_COMMAND i don't have many packages, so i am not sure if this command figures out all the dependencies and stuff, but my question is, 1) is this safe, and 2) after an update of the OS, does this replace a package (if no new version available) with the newer one compiled against the newer libc? -f -- i used to be a sci fi fan. then i started living it.