Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Nov 2010 21:52:14 +0100
From:      Polytropon <freebsd@edvax.de>
To:        "Dave" <dave@g8kbv.demon.co.uk>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: pkg_add fail on FreeBSD V8.0
Message-ID:  <20101130215214.7c647b12.freebsd@edvax.de>
In-Reply-To: <4CF560FC.2510.11BD7E12@dave.g8kbv.demon.co.uk>
References:  <7810389687.20101130091836@yandex.ru> <4CF560FC.2510.11BD7E12@dave.g8kbv.demon.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 30 Nov 2010 20:39:24 -0000, "Dave" <dave@g8kbv.demon.co.uk> wrote:
> So, can I (and how) get this version to use I guess the 
> 8.1 repository, or how do I cleanly update this to 8.1, though to 
> maintain my needed PPS support I guess I'll need to recompile the kernel 
> again? Is the change from V8.0 to V8.1 realy that a big step?

There is no such thing like a "version-centered repository"
like on many Linusi. If you install a port via pkg_add -r,
it will always be a current port.

As time marches on, the ports tree on the servers changes.
>From time to time, packages are built from this ports tree
using each port's default settings. Those binary packages
are then installed via the pkg_add -r program.

See "man pkg_add", especially where PACKAGEROOT and
PACKAGESITE are mentioned.

You can, however, install precompiled binary packages for
-RELEASE if you want. Instead of Latest/, a different
subtree of packages will be addressed on the server.



> Or compile Hiawatha from sources?  (I *Will* need guidance and hand-
> holding to do that!)

No big deal.

	# cd /usr/ports/www/hiawatha/
	# make install

See "man ports" for details on how the ports system holds
your hand when dealing with source. :-)

You can also use a port management tool to do that. In my
opinion, the most important one is portmaster. I've been
using portinstall / portupgrade for many years now. It
also allows you to select if you want to compile from
source, e. g.

	# portinstall www/hiawatha/

or if you intendedly want to use a precompiled package
if available, e. g.

	# portinstall -PP www/hiawatha/

See "man portupgrade" and "man pkgdb" for details.

Allthough some consider it "bad behaviour", you can mix
using ports and packages. As long as you keep an eye on
not duplicating stuff (pkgdb -aF helps here), it will
work well.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



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