Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Sep 2003 22:33:03 -0700
From:      Kent Stewart <kstewart@owt.com>
To:        dan@slightlystrange.org, freebsd-questions@freebsd.org
Cc:        Stefan Malte Schumacher <s.schumacher@netcologne.de>
Subject:   Re: Portupgrade
Message-ID:  <200309032233.03464.kstewart@owt.com>
In-Reply-To: <20030904001538.GC70199@catflap.home.slightlystrange.org>
References:  <20030903235658.GA19665@drachenhorst.fantasy.net> <20030904001538.GC70199@catflap.home.slightlystrange.org>

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



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