Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Oct 2002 00:29:45 +0200
From:      Lauri Watts <lauri@kde.org>
To:        "Clark C. Evans" <cce@clarkevans.com>
Cc:        ports@freebsd.org
Subject:   Re: configuration database confusion
Message-ID:  <200210150029.48805.lauri@kde.org>
In-Reply-To: <20021014220434.GA36469@doublegemini.com>
References:  <20021014211418.GC36236@doublegemini.com> <20021014212931.GD367@nitro.dk> <20021014220434.GA36469@doublegemini.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 15 October 2002 00.04, Clark C. Evans wrote:
> On Mon, Oct 14, 2002 at 11:29:32PM +0200, Simon L. Nielsen wrote:
> | > My problem is that if I install a given port on one
> | > system, it somehow marks that port as installed so
> | > that "make install" no longer attempts an installation.
> |
> | Try doing a "make clean" before doing the install again.
>

> In the short term, I'm looking for an alternative.
> "make deinstall" kinda works but it is quite draconian.
> Is there some place that records which ports are
> already installed?  Some flag that I can flip somewhere
> (or build from pkg_info) so that it doesn't assume
> incorrectly about the state of the installation.

Use portupgrade, with the -p flag the first time you build the port, and with 
the -P flag after that.  -p will save a package into /usr/ports/packages/ and 
- -P will check there first before attempting to build the port again.

You could just "make package" yourself for the first one, but then you'd have 
to put it in place for the next install yourself, it's easier to let 
portupgrade do the work.

Regards,
- -- 
Lauri Watts
KDE Documentation: http://i18n.kde.org/doc/
KDE on FreeBSD: http://freebsd.kde.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (FreeBSD)

iD8DBQE9q0VZ/gUyA7PWnacRAk51AKCC5dZrjLI4lueKCEZ2x0el9G2m2ACeIz5w
DMD4imbAuwlnrKPH2BvQ71M=
=WucM
-----END PGP SIGNATURE-----


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




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