From owner-freebsd-questions@FreeBSD.ORG Wed Sep 3 22:33:18 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D8CAB16A4BF for ; Wed, 3 Sep 2003 22:33:18 -0700 (PDT) Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 12A8E43FE9 for ; Wed, 3 Sep 2003 22:33:17 -0700 (PDT) (envelope-from kstewart@owt.com) Received: from topaz-out (owt-207-41-94-233.owt.com [207.41.94.233]) by rutger.owt.com (8.11.6p2/8.9.3) with ESMTP id h845X3219577; Wed, 3 Sep 2003 22:33:04 -0700 From: Kent Stewart To: dan@slightlystrange.org, freebsd-questions@freebsd.org Date: Wed, 3 Sep 2003 22:33:03 -0700 User-Agent: KMail/1.5.3 References: <20030903235658.GA19665@drachenhorst.fantasy.net> <20030904001538.GC70199@catflap.home.slightlystrange.org> In-Reply-To: <20030904001538.GC70199@catflap.home.slightlystrange.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200309032233.03464.kstewart@owt.com> cc: Stefan Malte Schumacher Subject: Re: Portupgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Sep 2003 05:33:19 -0000 On Wednesday 03 September 2003 05:15 pm, Daniel Bye wrote: > On Thu, Sep 04, 2003 at 01:56:58AM +0200, Stefan Malte Schumacher wrote: > > Hi > > > > I have just run portupgrade -a for the first time. About 2 hours > > later I realized that portupgrade is not only building the port I > > built myself from /usr/ports but also the packages which I did > > install from the CD. I do not want to build Mozilla or XFree > > myself, is there a way I can exclude such large programs from being > > updated ? Are installed ports and packages stored in the same > > database ? > > portupgrade has a config file (/usr/local/etc/pkgtools.conf), which > offers many config options for you to tweak - including the ability > to specify ports to ignore - look for the section about HOLD_PKGS. > > Ports and packages keep their install data in the same place, yes - > /var/db/pkg. > > > For the next question I just need a pointer to the right > > documentation ; I would like to read more about using sysinstall to > > upgrade my system instead of "make world." > > Have you read man sysinstall? But bear in mind that "make > buildworld" was carefully designed to upgrade the system properly. > > > Is there some kind of "packageupgrade" which downloads and installs > > new packages for stuff I do not want to build myself ? > > The -P or -PP options to portupgrade should work, but read the > manpage for caveats. > There is also the -x option. You have to understand that if you are upgrading a library, you may need to upgrade everything that uses that library as a dependancy. For example, lets assume that XFree86-libraries is updated because they find an error in one of the header files. Every program that uses that header file should be rebuilt. I rarely update my entire system when a library is updated. You just have to be aware of the consequences that may occur if you don't do the update. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html