Subject: Re: updating packages
To: Steve Bellovin <smb@research.att.com>
From: Alistair Crooks <agc@pkgsrc.org>
List: netbsd-users
Date: 12/14/2001 16:38:09
On Fri, Dec 14, 2001 at 06:48:56AM -0700, Steve Bellovin wrote:
> Often, when I try to install or update a package, the installation
> aborts because I need to update something else first.  Is there any 
> tool that, if given a package name, will look through the dependency 
> information and figure out everything that will need to be compiled?  
> (A lovely enhancement would be if it could generate all of the 
> appropriate 'make fetch' commands, so I could download everything and 
> rebuild while running disconnected.)
> 
> I ask this because I tried a simple 'make install' of etherape.  As 
> best I can tell, it's now recompiling Gnome, and I'm hoping that it 
> finishes before I have to head for the airport...
> 
> 		--Steve Bellovin, http://www.research.att.com/~smb
> 		Full text of "Firewalls" book now at http://www.wilyhacker.com
> 

[15:33:35] agc@fs0 ...pkgsrc/net/etherape 77 > make show-var VARNAME=DEPENDS | tr ' ' '\012'
libglade>=0.17:../../devel/libglade
libxml>=1.8.11:../../textproc/libxml
gnome-libs>=1.0.53:../../x11/gnome-libs
esound>=0.2.18:../../audio/esound
libaudiofile>=0.2.1:../../audio/libaudiofile
imlib>=1.9.8:../../graphics/imlib
jpeg-6b:../../graphics/jpeg
libungif>=4.1.0:../../graphics/libungif
netpbm>=9.7:../../graphics/netpbm
png>=1.0.11:../../graphics/png
tiff>=3.5.4:../../graphics/tiff
gtk+>=1.2.8:../../x11/gtk
glib>=1.2.8:../../devel/glib
pth>=1.3.2:../../devel/pth
xpm-3.4k:../../graphics/xpm
ORBit>=0.5.1:../../net/ORBit
[15:33:40] agc@fs0 ...pkgsrc/net/etherape 78 > make show-var VARNAME=BUILD_DEPENDS | tr ' ' '\012'
xpkgwedge>=1.5:../../pkgtools/xpkgwedge
gmake>=3.78:../../devel/gmake
[15:33:42] agc@fs0 ...pkgsrc/net/etherape 79 >

[The tr command is just to improve legibility - agc]

Regards,
Alistair