On 2006-12-28 10:12, Huub wrote:
Hi,
According to the manual, I have to either build the new version,
deinstall the old one, install the new one and clean up or use pkg_chk.
On NetBSD there is "make update". Isn't there something like that on
DragonFlyBSD?
bmake upgrade
Beware though that it can leave some of your packages non-working. If
I'm not confusing this with something else what bmake upgrade does is to
deinstall all packages and then reinstall the new versions. Should the
build of the first package fail then it will abort and you'll be left
with fewer packages than you had (all those that was going to be updated
are gone).
There are attempts at solutions of those problems, don't know if any of
them work all the way though. Pacman is one of them, you can read about
it here:
http://wiki.dragonflybsd.org/cgi/moin.cgi/Pacman_Packages
For more ways to update see:
http://wiki.netbsd.se/index.php/How_to_upgrade_packages
--
Erik Wikström