navneet Upadhyay wrote:
Hi,
      I have two binary packages of an application of version 1.1 and 1.2.
*The 1.1 is already installed, how can i upgrade it to 1.2* ?

Do i have to uninstall 1.1 and then install 1.2 ?   I would prefer a way by
which i can upgrade an wxisting package without uninstalling.

Uninstall reinstall takes all of five seconds. It's quite easy. Any of the ports management software has to do some variety of this anyway. The only difference is they do it with one command.

#!/bin/sh
pkg_delete pkg-1.1
pkg_add pkg-1.2

There!  A new port management binary upgrade utility.

The usefulness of the port management apps (portmaster,portupgrade) is when you want to upgrade multiple ports and large amounts of dependencies all at once. They are more trouble than they are worth for a single package. That is, unless you are already using them.

Regards,
Jason

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to