DragonFly users List (threaded) for 2011-05
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: postgresql904 did not install
On Tue, 3 May 2011, 78dd085bdacf@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.
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]