From owner-freebsd-questions@FreeBSD.ORG Sat Feb 10 12:09:45 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 698A716A400 for ; Sat, 10 Feb 2007 12:09:45 +0000 (UTC) (envelope-from robert@interactive.co.uk) Received: from auk.3lg.org (iiltd.demon.co.uk [80.177.127.245]) by mx1.freebsd.org (Postfix) with ESMTP id C14DF13C467 for ; Sat, 10 Feb 2007 12:09:43 +0000 (UTC) (envelope-from robert@interactive.co.uk) Received: from auk.3lg.org (localhost [127.0.0.1]) by auk.3lg.org (8.13.3/8.13.3) with ESMTP id l1AC9fx3057807 for ; Sat, 10 Feb 2007 12:09:41 GMT (envelope-from robert@interactive.co.uk) Received: (from robert@localhost) by auk.3lg.org (8.13.3/8.13.3/Submit) id l1AC9f2e057804; Sat, 10 Feb 2007 12:09:41 GMT (envelope-from robert@interactive.co.uk) X-Authentication-Warning: auk.3lg.org: robert set sender to robert@interactive.co.uk using -f From: Robert Inder Phone: 07808 492 213 Organisation: Interactive Information Limited, Edinburgh To: freebsd-questions@freebsd.org Date: 10 Feb 2007 12:09:40 +0000 Message-ID: Lines: 69 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Portsnap and port versions 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: Sat, 10 Feb 2007 12:09:45 -0000 I seem to be getting out-of-date versions of ports for reasons that I don't understand, so I'm not sure what to do about it. I'm setting up a brand new server to run FreeBSD. I downloaded the FreeBSD 6.2 Release CDs, and installed. Everything seemed to go smoothly. CAVEAT: I've been using FreeBSD for several years, but this is the first time I've installed it myself without expert guidance on hand... Looking at the manual pages, I decided to use Portsnap. So I did portsnap fetch portsnap extract I didn't change any configuration settings, but it seemed to work. when it had finished, I cd'd to the directory for "portupgrade", and typed "make" and "make install". Everything seemed to go smoothly, and portupgrade-2.1.3.3_1,2 was duly installed. But when I tried to use it, I get messages about the portsDB being corrupted: bennu# portupgrade -N openoffice.org-2 [missing key: categories] [Updating the portsdb in /usr/ports ... - 16515 port entries found .........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000.........9000.........10000.........11000.........12000.........13000.........14000.........15000.........16000..... ..... done] missing key: categories: Cannot read the portsdb! database file error When I ask Google about this I discover lots of people had this problem, and there is a posting from about ten days ago saying that the fix is to use "a more recent portupgrade", and somebody on the 1st of Feb saying they the problem is cured in portupgrade-2.2.2_2,2. So I've got an obsolete version, even though I installed the port straight after using portsnap. This morning, I tried "portsnap fetch" and "portsnap upgrade"... Looking up portsnap.FreeBSD.org mirrors... 2 mirrors found. Fetching snapshot tag from portsnap1.FreeBSD.org... done. But although it reported 3 metadata patches and 91 patches, it didn't change the "portupgrade" port: it is still 2.1.3.3. What is happening? Have I mis-understood ports and/or portsnap? I THOUGHT that portsnap would bring my ports tree up to date, so it would contain (descriptions of) the latest versions of all the ports, so that they would be fetched and installed by "make". If that's right, why is portsnap leaving me with 2.1.3.3 ten days after people were talking about using 2.2.2? What can I do to get up to date? If it's wrong, please enlighten me, and tell me how to go about getting the latest versions! Robert. -- Robert Inder Tel: 0131 229 1052 Interactive Information Ltd, Director Mobile: 07808 492 213 3, Lauriston Gardens, Edinburgh EH3 9HH Interactions speak louder than words SCOTLAND UK