From owner-freebsd-ports@FreeBSD.ORG Wed Sep 26 06:13:31 2007 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1C38416A417 for ; Wed, 26 Sep 2007 06:13:31 +0000 (UTC) (envelope-from anderson.gnu@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.177]) by mx1.freebsd.org (Postfix) with ESMTP id D85BF13C455 for ; Wed, 26 Sep 2007 06:13:30 +0000 (UTC) (envelope-from anderson.gnu@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so2729900waf for ; Tue, 25 Sep 2007 23:13:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=DwoFRs+SBOhFyMONKMX+PVfCrQNU6wSWQXKbkKpsFok=; b=SSHW/ISAyGBIOohb76Yp6L855Qw3kdsey1IA5lm25uYSX/5iyrEmGVp94iFG7rArTbJMA8s9ypy9Pq8Lh0ZhMn2a9L4sopQ+8sca8YUOeIhi6OszfaIlXl8bNg8YiE2XaPtyXHmVa58/GdMXx1QbmhgZrz6h2Kb/sKSxSVa3PaQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=MMFpdT0DML2vTdM26AHZ9Glh6SsHrz9NOnJjEzb+3qnsprosW+Sg6KjDBUqxllA+G3Pju6MpEKPE9SHdYOrTV84qt5/ge1LSf6r9AEwM8Yhg+UQa7rPWpymBFo5o6ezF5KRmXBzT+9cqw1AeYdtaWZVEqu1lTlWSdLjwbi7qSE0= Received: by 10.114.93.17 with SMTP id q17mr431242wab.1190787209917; Tue, 25 Sep 2007 23:13:29 -0700 (PDT) Received: by 10.114.179.12 with HTTP; Tue, 25 Sep 2007 23:13:29 -0700 (PDT) Message-ID: Date: Wed, 26 Sep 2007 16:13:29 +1000 From: "Mr Anderson" To: freebsd-ports@freebsd.org In-Reply-To: <20070918205450.GA2809@dose.local.invalid> MIME-Version: 1.0 References: <20070918205450.GA2809@dose.local.invalid> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Simon Barner Subject: Re: update ports from a file X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Sep 2007 06:13:31 -0000 Hello Well, I could find a CD/DVD updated of FreeBSD. Well, I decided to continue manually. I download the last ports.tar.gz file. I unpacked to /usr/ports. :) Then I tried the following and message said about can't cd to systutils/portupgrade (is that fine?) #portversion cd: can't cd to /usr/ports/sysutils/portupgrade ..... and then try to download an index file, but as I dont have internet connection, it start to updateing the ports index.... After it finished I tried #portversion cd: can't cd to /usr/ports/sysutils/portupgrade [missing key: categories] [Updatting the portsdb in /usr/ports ... - 17674 port entries found .... 1000 ... 2000 .... 17000..... done] missing key : categories: Cannot read the portsdb! database file error db41 expat ... the show the lis of pakages So, what is wrong with the database? and also [missing key: categories] ? cd: can't cd to /usr/ports/sysutils/portupgrade ??? How can I fixed those? Anderson On 9/19/07, Simon Barner < barner@freebsd.org> wrote: > > Mr Anderson wrote: > > Hello > > > > I have been using FreeBSD in the Univ recently and quite interesting. I > > decided to installed FreeBSD 6.2 in my laptop (I dont have internet > > connection) and now I want to install apache and other software. So, I > > downloaded ftp://ftp.freebsd.org/pub/FreeBSD/ports/ports/ports.tar.gz > and > > copy to my laptop to update ports. > > How do I update ports from the > > file? Right now, I have an old version of Ports, portsnap fetch does no= t > > > work because I do not have internet > > connection, and FreeBSD does not recognize my netowrk card reader, so > > I want to do it by hand , step by step. > > > > Any tip how to do update? Should I just unzip the file in /usr/ports , > but > > previosly delete everything??? > > I'd mv /usr/ports /usr/ports.orig before unzipping the port. Also have a > look at the `fetch-recursive-list' target. It allows you to generate a > shell script that will download all the required distfiles for a specific > port. E.g. > > cd /usr/ports/www/apache22 > make fetch-recursive-list > > If you are going for packages instead of ports, have a look at > pkg_fetch(1). > > -- > Best regards / Viele Gr=FC=DFe, barner@FreeBS= D.org > Simon Barner barner@gmx.de > >