Re: upgrade software with no package db
On Sunday 23 January 2005 04:36 pm, Sean Ellis wrote: Hello, 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, thanks, -- Sean 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 -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: upgrade software with no package db
Hi Sean, 1. run the cvsup to update your port collection. (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html) The updated port should already contain patching information and will take care of the rest. So do not worry about dependencies. If you prefer to do it manually: 1. run make exctract. 2. run make 3. run make install I hope this helps, Regards, bitHawk - Original Message - From: Sean Ellis [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Sent: Monday, January 24, 2005 3:36 AM Subject: upgrade software with no package db Hello, 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, thanks, -- Sean ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: upgrade software with no package db
On Sun, Jan 23, 2005 at 04:52:29PM -0800, Michael C. Shultz wrote: 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. 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 portmanager Thanks for that tip, I'll look into that. -- Sean ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: upgrade software with no package db
On Mon, Jan 24, 2005 at 05:50:51AM +0300, bitHawk wrote: Hey, 1. run the cvsup to update your port collection. (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html) The updated port should already contain patching information and will take no problems here care of the rest. So do not worry about dependencies. is that right? I hadn't looked into it yet, but I'd imagined that the system would use the db of installed stuff to verify whether some of the dependency stuff was present or not. Right now pkg_info gives me this, [EMAIL PROTECTED]:/home/sellis/backups pkg_info ffsrecov-0.5Recover files from a corrupt FFS ( on the one hand, a reminder of the screw-up that obliterated the db, on the other, as you can see, we're paying more attention to backups ; ) thanks, -- Sean ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]