Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Apr 2004 08:29:28 -0500
From:      "Andrew L. Gould" <algould@datawok.com>
To:        freebsd-questions@freebsd.org
Cc:        Richard Bradley <rtb27@cam.ac.uk>
Subject:   Re: Keeping Ports synchronised with Packages
Message-ID:  <200404220829.28558.algould@datawok.com>
In-Reply-To: <200404221341.17612.rtb27@cam.ac.uk>
References:  <200404221341.17612.rtb27@cam.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 22 April 2004 07:41 am, Richard Bradley wrote:
> Hi all,
>
> I am getting the impression that I am using the ports and packages system
> the wrong way, but can't find a good tutorial on how to use them to their
> best. I would be quite happy to write one up, but I need to understand it
> first!
>
> My problem is that my ports tree is always a couple of minor versions ahead
> of the available packages.
> (I use `cvsup /usr/share/examples/cvsup/ports-supfile` as suggested in the
> handbook)
> If I add a program with e.g.
>
> #portinstall gaim
>
> it compiles it from source, and updates a load of libraries and dependent
> ports to the current versions.
>
> This means I have a load of libraries that are different versions to those
> the precompiled packages expect, and some packages even refuse to install.
>
> I end up having to install more and more things from the ports, which is
> slooow (do you have any idea how long it takes to compile kde?) and creates
> even more problems if I try to use a package.
>
> What am I doing wrong? Is there a way to hold back cvsup to the same
> version as the packages on FreeBSD.org?
>
> On a related note, where do the errors from sysinstall go? It refers to the
> "debug screen" but I can't find it on any terminal. What about if you run
> it in a konsole or xterm?
>
> Any pointers would be much appreciated.
>
> All the best,
>
>
> Rich

The way to update your system source and hold back package/port versions is to 
refuse ports.  See:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html

Alternatively, you can continue to cvsup ports and then upgrade your packages 
to newer versions using the port portupgrade, which can be found 
at /usr/ports/sysutils/portsupgrade.

Best of luck,

Andrew Gould



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