upgrade software with no package db
Michael C. Shultz
reso3w83 at verizon.net
Sun Jan 23 16:56:14 PST 2005
On Sunday 23 January 2005 04:36 pm, Sean Ellis wrote:
> I'm looking moving to a newer Mysql version on a machine where the
> database of installed packages has been trashed.
> I'm expecting that after examining /usr/ports/UPGRADING, whatever
> READMEs accompany the source, and manually checking for dependencies,
> that I can extract and patch the port, and install it.
> If anyone has any tips for some way of using the ports framework to
> make this any easier please pass them on,
If you can pkg_add -rf to force installation and get it recorded
in /var/db/pkg/mysql... then running portmanager -u will get the
dependencies straightened out, correctly registered and it will likely
rebuild mysql from ports too.
portmanager is under /usr/ports/sysutils/portmanager
More information about the freebsd-questions