From owner-freebsd-hackers@FreeBSD.ORG Wed Nov 7 20:29:50 2007 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D893716A474 for ; Wed, 7 Nov 2007 20:29:50 +0000 (UTC) (envelope-from wxs@atarininja.org) Received: from syn.atarininja.org (syn.csh.rit.edu [129.21.60.158]) by mx1.freebsd.org (Postfix) with ESMTP id B9CB913C4C2 for ; Wed, 7 Nov 2007 20:29:50 +0000 (UTC) (envelope-from wxs@atarininja.org) Received: by syn.atarininja.org (Postfix, from userid 1001) id 895B05C34; Wed, 7 Nov 2007 15:10:38 -0500 (EST) Date: Wed, 7 Nov 2007 15:10:38 -0500 From: Wesley Shields To: Maslan Message-ID: <20071107201038.GZ21994@atarininja.org> References: <319cceca0711030605m370709d1ua0c694d12dbb1766@mail.gmail.com> <47301ADA.3080509@u.washington.edu> <319cceca0711061227h6dbaf2fdib03a962aae7ddad1@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <319cceca0711061227h6dbaf2fdib03a962aae7ddad1@mail.gmail.com> User-Agent: Mutt/1.5.16 (2007-06-09) Cc: FreeBSD Hackers , Garrett Cooper Subject: Re: pkg_add doesn't keep dependent pkgs X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Nov 2007 20:29:50 -0000 On Tue, Nov 06, 2007 at 12:27:13PM -0800, Maslan wrote: > > Package dependencies may change, depending on the user settings and > > port maintainers configuration for the port (i.e. Makefiles). The same > > sort of applies to packages as well. > > Or were you referring to just packages instead of ports based > > package metadata :)? > > Or maybe a better question is: what are you trying to accomplish? > > -Garrett > > > > The problem is that i always try FreeBSD snapshots, and each time i > did a fresh install, i found my self in need to install xorg & gnome. > so when i use pkg_add -rK xorg or pkg_add -rK gnome, it just keeps the > package itself only without its dependencies, it would be better for > me to keep the packages i use rather than downloading them every time. > > The ports has no problem with that, since it leaves all the port > dependencies in /usr/ports/distfiles but i prefer packages than > recompiling every time i install a fresh system something like gnome > would eat my day compiling it. You could always use pkg_fetch -fR (from portupgrade) to fetch them all first, and then pkg_add them after. Of course, I think fixing pkg_add to keep the dependencies also is a better solution. -- WXS