From owner-freebsd-stable@FreeBSD.ORG Sun Jan 25 11:13:21 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B68B2106564A; Sun, 25 Jan 2009 11:13:21 +0000 (UTC) (envelope-from sorin.panca@psrk.com) Received: from mail1.psrk.com (64.147.114.45.static.nyinternet.net [64.147.114.45]) by mx1.freebsd.org (Postfix) with ESMTP id 8FC2C8FC0A; Sun, 25 Jan 2009 11:13:21 +0000 (UTC) (envelope-from sorin.panca@psrk.com) Received: from [93.122.133.67] (port=18216 helo=[192.168.0.11]) by mail1.psrk.com with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1LR2vY-0000c5-5B; Sun, 25 Jan 2009 06:13:21 -0500 Message-ID: <497C48CA.2070600@psrk.com> Date: Sun, 25 Jan 2009 13:11:06 +0200 From: Sorin Panca User-Agent: Thunderbird 2.0.0.19 (X11/20090110) MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <497B85DE.1040005@psrk.com> <497BA079.6060309@FreeBSD.org> <497C28A6.9040701@psrk.com> In-Reply-To: <497C28A6.9040701@psrk.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Antivirus-Scanner: Clean mail though you should still use an Antivirus Cc: Doug Barton Subject: Re: Installing packages using ports after freebsd-update doesn't work on amd64 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jan 2009 11:13:22 -0000 Sorin Panca wrote: > Doug Barton wrote: >> Sorin Panca wrote: >>> After upgrading the system using freebsd-update from 6.3-RELEASE to >>> 7.0-RELEASE and after that, from 7.0 to 7.1 trying to install >>> ports-mgmt/portupgrade fails at ruby18 with the following message: >> If you haven't already you have to remove and reinstall _all_ of your >> ports after doing a major version upgrade (6.x -> 7.x). >> > Prior to starting the upgrade I did a pkg_delete -a. I wanted a clean > system (just like a reinstallation). How do I ensure that all packages > were removed by pkg_delete -a ? > Running pkg_delete -a returns "pkg_delete: no packages installed" If you look at my previous posts on this list (from 2007), I was having this problem since I started upgrading our servers. Therefore, anticipating your question, this time I took the precaution of performing the upgrade by following certain steps, to avoid uncontrolled variables to polute the environment. The steps I followed were: 1. check if the system has an amd64 FreeBSD installation 2. remove all installed packages by pkg_delete -a 3. freebsd-update: upgrade from 6.3 to 7.0 and reboot 4. freebsd-update: upgrade from 7.0 to 7.1 and reboot 5. install packages from ports. Any help would be appreciated. Sorin.