From owner-freebsd-questions@FreeBSD.ORG Mon May 29 23:42:00 2006 Return-Path: X-Original-To: questions@FreeBSD.org 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 267EF16AB17 for ; Mon, 29 May 2006 23:42:00 +0000 (UTC) (envelope-from dev@freedomcircle.net) Received: from vms042pub.verizon.net (vms042pub.verizon.net [206.46.252.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id DCF0543D76 for ; Mon, 29 May 2006 23:41:59 +0000 (GMT) (envelope-from dev@freedomcircle.net) Received: from [192.169.1.3] ([71.101.6.8]) by vms042.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPA id <0J0100F3YWHY05W1@vms042.mailsrvcs.net> for questions@FreeBSD.org; Mon, 29 May 2006 18:41:59 -0500 (CDT) Date: Mon, 29 May 2006 19:42:43 -0400 From: Joe To: questions@FreeBSD.org Message-id: <447B86F3.6070500@freedomcircle.net> Organization: Freedom Circle, LLC MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) Cc: Subject: pkg_upgrade? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 May 2006 23:42:03 -0000 Hi, I've read the documentation and it seems there's no pkg_upgrade or pkg_update, or a way to install an updated/upgraded package. I'd like to determine if that is indeed the case. I installed 6.0-RELEASE from a CD and then installed such packages as X.org and Firefox (using pkg_add -r). That gave me, for example, the latest Firefox that was available for 6.0-RELEASE, i.e., 1.0.7, but I wanted to install 1.5. However, when I downloaded the 1.5 .tbz from ftp.freebsd.org and tried to use pkg_add on it, it complained that Firefox was already installed. I then decided to upgrade the OS to 6.1-RELEASE via ftp by using sysinstall. AFAICT, the upgrade of the base system went OK (except for the fact that /etc/motd and uname still refer to 6.0-RELEASE). However, the installation of X.org packages did not go well, starting with errors in trying to install the expat package. The documentation mentions portupgrade and portmanager as mechanisms to upgrade ports, but if I'm not mistaken these invoke source updates, not a binary upgrade as was done for the OS. It appears that the only way to upgrade in binary form is to use pkg_delete -f to remove each package, e.g., expat 1.98, and then pkg_add to get the newer (2.0) version. And then you have to be extra careful with dependencies between packages. I don't have any major problems with upgrading from sources (assuming they build cleanly as expected), but I wanted to explore the binary upgrading route first to determine how easy it would be for someone without much technical abilities to install FreeBSD and some user packages and maintain it without getting involved in recompiling sources. Thanks for your assistance. Joe