Subject: pkg/8396: USE-MOTIF vs DEPENDS for updating packages
To: None <>
From: Bjoern Labitzke <>
List: netbsd-bugs
Date: 09/13/1999 04:50:53
>Number:         8396
>Category:       pkg
>Synopsis:       USE_MOTIF vs DEPENDS for updating packages
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager (NetBSD software packages system bug manager)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 13 04:50:00 1999
>Originator:     Bjoern Labitzke
Bjoern Labitzke  <>
   Use PGP! (Don't you use envelopes for your letters?)
>Release:        -current 12.9.1999 <NetBSD-current source date>
System: NetBSD 1.4K NetBSD 1.4K (LABITZKE) #2: Mon Sep 13 03:02:58 CEST 1999 i386

I just tried a make update in pkgsrc/x11/lesstif. It seemed to work with one
exception: nedit was not deleted prior to the update, xmcd was. Therefor I
assume that there is a difference between a dependency of a package on
MOTIF/Lesstif to a real dependency declared by a DEPENDS line. The package
system could figure out that nedit depends on the lesstif package and is
affected by the update, but probably the necessary information for the
recursive pkg_delete was not in the pkg-db.

This problem resulted in the error that the system tried to install nedit
without deleting it first.
Install lesstif and nedit. Update lesstif.
Perhaps packages depending on MOTIF have to add some data to the pkg-db as
a DEPENDS line seems to do?