From hsu@clinet.fi  Wed Dec  6 17:54:59 1995
Received: from hauki.clinet.fi (root@hauki.clinet.fi [194.100.0.1])
          by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id RAA19498
          for <FreeBSD-gnats-submit@freebsd.org>; Wed, 6 Dec 1995 17:54:58 -0800 (PST)
Received: from plentium.clinet.fi (plentium.clinet.fi [194.100.0.7]) by hauki.clinet.fi (8.6.12/8.6.4) with ESMTP id DAA17217 for <FreeBSD-gnats-submit@freebsd.org>; Thu, 7 Dec 1995 03:54:48 +0200
Received: (root@localhost) by plentium.clinet.fi (8.6.12/8.6.4) id DAA28480; Thu, 7 Dec 1995 03:55:25 +0200
Message-Id: <199512070155.DAA28480@plentium.clinet.fi>
Date: Thu, 7 Dec 1995 03:55:25 +0200
From: Heikki Suonsivu <hsu@clinet.fi>
Reply-To: hsu@clinet.fi
To: FreeBSD-gnats-submit@freebsd.org
Subject: pkg_delete does not remove .install_done from port
X-Send-Pr-Version: 3.2

>Number:         870
>Category:       ports
>Synopsis:       pkg_delete does not remove .install_done from port
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    asami
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec  6 18:00:03 PST 1995
>Closed-Date:    Wed Feb 7 01:46:37 PST 1996
>Last-Modified:  Wed Feb  7 01:55:13 PST 1996
>Originator:     Heikki Suonsivu
>Release:        FreeBSD 2.1.0-950928-SNAP i386
>Organization:
Clinet, Espoo, Finland
>Environment:

	-current

>Description:

hsu#katiska.clinet.fi Thu 61: make install
Checksums OK.
===>  Installing for xcdplayer-2.2
/usr/bin/install -c -s  xcdplayer /usr/X11R6/bin/xcdplayer
/usr/bin/install -c -m 0444 XCdplayer.ad /usr/X11R6/lib/X11/app-defaults/XCdplayer
install in . done
rm -f /usr/X11R6/man/man1/xcdplayer.1*
/usr/bin/install -c -m 0444 xcdplayer.man  /usr/X11R6/man/man1/xcdplayer.1
gzip -9n /usr/X11R6/man/man1/xcdplayer.1
install.man in . done
===> xcdplayer-2.2 is already installed - perhaps an older version?
     If so, you may wish to ``pkg_delete xcdplayer-2.2'' and install
     this port again to upgrade it properly.

I did pkg_delete xcdplayer-2.2, it didn't say anything, and tried
reinstalling:

hsu#katiska.clinet.fi Thu 77: make install
Checksums OK.
hsu#katiska.clinet.fi Thu 78: 

>How-To-Repeat:

	install a port and do make install again.

>Fix:
	
	workaround: rm work/.install_done

	.install_done file should not be in work; it is machine specific,
as now it compains that the software has been installed already if trying
to install it into another machine from the same nfs-mounted disk.

It seems that the ports system is designed for one-user workstations only
(see my previous report about installing in usr).

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->asami 
Responsible-Changed-By: pst 
Responsible-Changed-When: Tue Feb 6 18:28:28 PST 1996 
Responsible-Changed-Why:  
State-Changed-From-To: open->closed 
State-Changed-By: asami 
State-Changed-When: Wed Feb 7 01:46:37 PST 1996 
State-Changed-Why:  
There is a target "reinstall" for installing twice.  I added 
a mention to this in the message that gets printed out when 
/var/db/pkg/${PKGNAME} exists. 
>Unformatted:
