update packages by pkg_add

Polytropon freebsd at edvax.de
Sat Oct 29 17:58:07 UTC 2011

On Sat, 29 Oct 2011 17:53:28 +0200, Huub van Niekerk wrote:
> Thank you for your answer. But how about if the package-to-be-replaced is a
> dependency? Just remember the dependency and do the same ?

As you're going to reinstall the package immediately,
there won't be a problem. Of course, a depending program
won't properly run until you've actually replaced the
package in question.

For keeping track of dependencies, you can also use
portmaster or portupgrade and use -P and -PP options
to work with packages (like pkg_add does) instead of
compiling from sources. The "pkgdb -aF" command will
properly store dependency informations.

Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...

More information about the freebsd-questions mailing list