Skip site navigation (1)Skip section navigation (2)
Date:      03 May 2002 20:24:33 +0400
From:      Juha Ylitalo <juha.ylitalo@iki.fi>
To:        Bill Moran <wmoran@potentialtech.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: pkg_delete vs. make deinstall - not synced?
Message-ID:  <1020443073.219.5.camel@shoes.st-paul>
In-Reply-To: <3CD29EE6.3060108@potentialtech.com>
References:  <3CD29EE6.3060108@potentialtech.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-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                <e-mail>
+358 40 562 6152 <mobile>    http://www.iki.fi/jylitalo         <www>
"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




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