Subject: pkg/8767: dependencies not removed after 'make reinstall' of depending pkgs
To: None <gnats-bugs@gnats.netbsd.org>
From: None <dogcow@redback.com>
List: netbsd-bugs
Date: 11/09/1999 19:24:48
>Number:         8767
>Category:       pkg
>Synopsis:       dependencies not removed after 'make reinstall' of depending pkgs
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager (NetBSD software packages system bug manager)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Nov  9 19:24:00 1999
>Last-Modified:
>Originator:     Tom Spindler
>Organization:
Redback Networks
	
>Release:        <NetBSD-current source date>1.4.1
>Environment:
	
System: NetBSD quest.redbacknetworks.com 1.4.1 NetBSD 1.4.1 (GENERIC) #1: Tue Aug 10 00:03:09 MEST 1999 fvdl@struis:/usr/src/sys/arch/i386/compile/GENERIC i386


>Description:
From a previous pkgsrc (original 1.4.1, I believe), several packages
(teTex, et al) were built with dependencies for libwww-5.1m1. After
installing a newer pkgsrc, 6 Nov 1999, teTex was "make reinstall"'ed;
however, when `pkg_delete libwww-5.1m1` is given, the output is

pkg_delete: package `libwww-5.1m1' is required by other packages:
        teTeX-1.0.6
        magicfilter-1.2
        lyx-1.0.3
        teTeX-bin-1.0.6

Furthermore...
p1 root@quest: /usr/pkgsrc/www/libwww 231 % pkg_info -L libwww-5.1m1 |head
Information for libwww-5.1m1:

Files:
/usr/pkg/bin/w3c
/usr/pkg/bin/webbot
/usr/pkg/bin/www
/usr/pkg/include/w3c-libwww/HTAABrow.h
/usr/pkg/include/w3c-libwww/HTAAUtil.h
/usr/pkg/include/w3c-libwww/HTANSI.h
/usr/pkg/include/w3c-libwww/HTAccess.h
p1 root@quest: /usr/pkgsrc/www/libwww 232 % pkg_info -L libwww-5.2.8 |head     
Information for libwww-5.2.8:

Files:
/usr/pkg/bin/w3c
/usr/pkg/bin/webbot
/usr/pkg/bin/libwww-config
/usr/pkg/include/xmlparse.h
/usr/pkg/include/w3c-libwww/HTAABrow.h
/usr/pkg/include/w3c-libwww/HTAAUtil.h
/usr/pkg/include/w3c-libwww/HTANSI.h

	
>How-To-Repeat:
(I believe this is how to repeat. I have not tried this.)
Install pkgsrc from 1.4.1
cd print/teTex; make install
install current pkgsrc
cd www/libwww; make install
cd print/teTex; make reinstall
pkg_delete libwww-5.1m1
(optionally) pkginfo libwww will show libwww-5.1m1, but not libwww-5.2.8.
`pkginfo libwww-5.2.8` does work.
	
>Fix:
	
Unknown.
>Audit-Trail:
>Unformatted: