From owner-freebsd-questions@FreeBSD.ORG Tue Nov 30 20:52:17 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8F3F3106566B for ; Tue, 30 Nov 2010 20:52:17 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 509B08FC19 for ; Tue, 30 Nov 2010 20:52:17 +0000 (UTC) Received: from r55.edvax.de (port-92-195-8-222.dynamic.qsc.de [92.195.8.222]) by mx01.qsc.de (Postfix) with ESMTP id B75433D225; Tue, 30 Nov 2010 21:52:15 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id oAUKqEx3003806; Tue, 30 Nov 2010 21:52:15 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Tue, 30 Nov 2010 21:52:14 +0100 From: Polytropon To: "Dave" 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> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: pkg_add fail on FreeBSD V8.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Nov 2010 20:52:17 -0000 On Tue, 30 Nov 2010 20:39:24 -0000, "Dave" 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, ...