From owner-freebsd-questions Fri May 3 9:24:42 2002 Delivered-To: freebsd-questions@freebsd.org Received: from fep06-app.kolumbus.fi (fep06-0.kolumbus.fi [193.229.0.57]) by hub.freebsd.org (Postfix) with ESMTP id 5D44737B41E for ; Fri, 3 May 2002 09:24:37 -0700 (PDT) Received: from coat.st-paul ([212.54.20.95]) by fep06-app.kolumbus.fi with ESMTP id <20020503162435.OMTK20539.fep06-app.kolumbus.fi@coat.st-paul>; Fri, 3 May 2002 19:24:35 +0300 Received: from shoes.st-paul (shoes.st-paul [10.10.10.10]) by coat.st-paul (8.11.6/8.11.6) with ESMTP id g43GOYC73464; Fri, 3 May 2002 19:24:35 +0300 (EEST) (envelope-from juha.ylitalo@iki.fi) Received: (from jylitalo@localhost) by shoes.st-paul (8.11.6/8.11.6) id g43GOXf00334; Fri, 3 May 2002 19:24:33 +0300 (EEST) (envelope-from juha.ylitalo@iki.fi) X-Authentication-Warning: shoes.st-paul: jylitalo set sender to juha.ylitalo@iki.fi using -f Subject: Re: pkg_delete vs. make deinstall - not synced? From: Juha Ylitalo To: Bill Moran Cc: questions@FreeBSD.ORG In-Reply-To: <3CD29EE6.3060108@potentialtech.com> References: <3CD29EE6.3060108@potentialtech.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-SufNt//2IblMntNygZ6n" X-Mailer: Ximian Evolution 1.0.3 Date: 03 May 2002 20:24:33 +0400 Message-Id: <1020443073.219.5.camel@shoes.st-paul> Mime-Version: 1.0 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --=-SufNt//2IblMntNygZ6n Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Fri, 2002-05-03 at 18:29, Bill Moran wrote: > I recently did a bunch of deinstalling & installing on my > system to update a whole lotta stale ports. > I'm curious. If I install from the ports, it creates a > directory in /var/db/pkg which I can then use the pkg_delete > command to remove the port. > The ports tree uses some other method to determine if the > port is installed, however. example: >=20 > 1. cd /usr/ports/devel/gmake; make install > 2. pkg_delete gmake-whatever > 3. Then try to make any port that depends on gmake When you build port, port system makes all kind of work/.phase_done.pkg-version files. If you then do pkg_delete for that particular port and try to reinstall it from port directory, it checks that you already have /usr/ports/devel/gmake/work/.install_done.gmake-version (or something like that) and for that reason it assumes that gmake has already been installed. Easiest way to properly get around this situation is to do "rm -rf work ; make install" --=20 Juha Ylitalo juha.ylitalo@iki.fi +358 40 562 6152 http://www.iki.fi/jylitalo "Some tools are used, because its policy, others because they are good." --=-SufNt//2IblMntNygZ6n Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQA80rnBT3Z0FVGK5qMRAuciAJ9bgVwwShzjxtIAxjyNCTVX17xXwQCgmVGi 3XUAG7Nga3CWJUdj+7qvgBc= =c64a -----END PGP SIGNATURE----- --=-SufNt//2IblMntNygZ6n-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message