Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Nov 2007 15:10:38 -0500
From:      Wesley Shields <wxs@atarininja.org>
To:        Maslan <maslanbsd@gmail.com>
Cc:        FreeBSD Hackers <freebsd-hackers@freebsd.org>, Garrett Cooper <youshi10@u.washington.edu>
Subject:   Re: pkg_add doesn't keep dependent pkgs
Message-ID:  <20071107201038.GZ21994@atarininja.org>
In-Reply-To: <319cceca0711061227h6dbaf2fdib03a962aae7ddad1@mail.gmail.com>
References:  <319cceca0711030605m370709d1ua0c694d12dbb1766@mail.gmail.com> <47301ADA.3080509@u.washington.edu> <319cceca0711061227h6dbaf2fdib03a962aae7ddad1@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071107201038.GZ21994>