postgresql904 did not install

Matthias Rampke matthias at rampke.de
Tue May 3 06:40:47 PDT 2011


On Tue, 3 May 2011, 78dd085bdacf at gmail.com wrote:

dfly# bmake install
tl;dr: It appears you have PostgreSQL 9.0.3 installed. Use "bmake update".

The longer explanation: pkgsrc has separate make targets for upgrading an already installed package. "replace" simply replaces the package, not minding the consequences. This will break things if a shared library version changes, because dependent packages won't find their .so's any more. "update" also rebuilds and updates any dependant.

For a full update of all outdated packages (e.g. using pkg_chk), using "bmake update" will work, but take longer than necessary because some packages may be rebuilt more than once. pkg_rolling-replace will take the whole dependency tree and sort the list of packages such that they can be "bmake replace"'d one after the other safely. It is a good idea to always use pkg_rolling-replace for updating packages.

Regards,
matthiasr.




More information about the Users mailing list