Subject: pkg/12139: perl pkgs should conflict...do not
To: None <gnats-bugs@gnats.netbsd.org>
From: Andrew Brown <atatat@atatdot.net>
List: netbsd-bugs
Date: 02/05/2001 11:12:44
>Number:         12139
>Category:       pkg
>Synopsis:       perl pkgs should conflict...do not
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 05 11:15:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     TheMan
>Release:        1.3.3
>Organization:
none
>Environment:
	
System: NetBSD this 1.5R NetBSD 1.5R (THAT) #29: Mon Feb  5 01:17:39 EST 2001     root@this:/usr/src/sys/arch/i386/compile/THAT i386


>Description:

i decided to upgrade all the pkgs on my machine that were out of date,
intentionally leaving perl for last since so many things depend on it.
when i got around to it, i decided to build as much as possible of the
perl5 pkg and finish off the dependencies later.  when i got up the
next morning, everything was built and installed over the previous
perl (perl-5.00503) pkg without any regard for files being clobbered.

>How-To-Repeat:

	find a machine with an old perl5 pkg installed
	cd pkgsrc/lang/perl5
	make
	watch as perl5-base gets installed over the perl-5.00503 pkg
	wondcer how to properly upgrade the pkg now that 

>Fix:

i settled for removing all pkgs that depended on perl, then all the
perl pkgs, and then rebuilding everything in a sane order.

ideally i think the perl5 pkg should conflict with other perl5 pkgs.
>Release-Note:
>Audit-Trail:
>Unformatted: