missive at hotmail.com
Sun May 16 11:59:47 PDT 2004
>Trying to do the portupgrade of postgresql on my FreeBSD 5.2.1 box. When
>I try a 'pkg_delete postgresql-7.3.4_1', it has dependents and says
>cannot be deinstalled. How do I handle this port upgrade?
>esmtp# pkg_delete postgresql-7.3.4_1
>pkg_delete: package 'postgresql-7.3.4_1' is required by these other
>and may not be deinstalled:
Have you ever used portupgrade?
(section 4.5.5 discusses portupgrade)
That is a tool in ports (sysutils/portupgrade) which will do this sort
of thing automatically for you.
Basically what it does is pkg_delete -f (to force the deinstallation)
then install the new version. (It also saves a copy of the old pkg
just in case something goes wrong with the new install, but if this
postgres database is important to you, be certain to have good
backups before you do any sort of upgrade)
Add photos to your e-mail with MSN 8. Get 2 months FREE*.
More information about the freebsd-ports