Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Oct 2000 10:06:22 +0200
From:      cam <cam@bsdfr.org>
To:        Stephen Montgomery-Smith <stephen@math.missouri.edu>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: Upgrading ports
Message-ID:  <39EAB6FD.DF8BAA12@bsdfr.org>
References:  <Pine.BSF.4.21.0010151144170.10339-100000@ashburn.skiltech.com> <39EA1F88.88E0B340@math.missouri.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Stephen Montgomery-Smith wrote:

> While we are on the subject, what exactly is the difference between
> make install and make reinstall?

see /usr/ports/Mk/port.bsd.mk (l. 303) :
# install               - Install the results of a build.
# reinstall             - Install the results of a build, ignoring "already
installed"
#                                 flag.
# deinstall             - Remove the installation.

>
> "H. Wade Minter" wrote:
> >
> > This is probably a braindead question, but what is the accepted way to
> > upgrade a port?  I tried a "make reinstall", but ended up with both the
> > old and new versions of the ports listed in "pkg_info".
> >
> > --Wade
> >

before doing 'make reinstall' you have to do a 'pkg_delete' of the port, or
use the script given by 'pkg_version -c'
ex:
    # pkg_version -c > UpdateMyPorts.sh
    # vi UpdateMyPorts.sh (for tuning)
    # sh UpdateMyPorts.sh

cam.



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39EAB6FD.DF8BAA12>