From owner-freebsd-questions Wed Aug 29 8:59:24 2001 Delivered-To: freebsd-questions@freebsd.org Received: from absinthe2.dyndns.org (adsl-63-192-100-82.dsl.chic01.pacbell.net [63.192.100.82]) by hub.freebsd.org (Postfix) with ESMTP id 0900537B405 for ; Wed, 29 Aug 2001 08:59:21 -0700 (PDT) (envelope-from fred@absinthe2.dyndns.org) Received: (from fred@localhost) by absinthe2.dyndns.org (8.11.3/8.11.3) id f7TFxE256844; Wed, 29 Aug 2001 08:59:14 -0700 (PDT) (envelope-from fred) Date: Wed, 29 Aug 2001 08:59:14 -0700 From: Fred Condo To: chip.wiegand@simrad.com Cc: freebsd-questions@FreeBSD.ORG Subject: Re: pkg_add upgrade kit fails to install Message-ID: <20010829085914.B56668@absinthe.condo.chico.ca.us> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from chip.wiegand@simrad.com on Wed, Aug 29, 2001 at 07:48:38AM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Aug 29, 2001 at 07:48:38AM -0700, chip.wiegand@simrad.com wrote: > I was about to install from the ports reportmagic and analog when I got an > error: > > reportmagic-2.10 : Your system is too old to use this bsd.port.mk. You need a > fresh make world or an upgrade kit. > > So I ran cvsup and updated my ports - but still got the same error. I then visited the > fbsd web site and discovered I probably need the 4.2 to 4-STABLE upgrade kit. > I downloaded it to /usr/ports/distfiles and ran pkg_add and got this message: > > simrad_4# pkg_add 42upgrade.tgz > ./+INSTALL: cannot create /var/db/port.mkversion: directory nonexistent > pkg_add: install script returned error status > > I am using FreeBSD 4.2-RELEASE #0: Mon Nov 20 13:02:55 GMT 2000. > > Do I need to do a make world? I've not done that before, and this is a production > box, so I'm a bit unsure about doing that. > > Any suggestions? > Did you check to make sure that you have a /var/db directory? And a /var/db/pkg directory? Is there any space left on your /var partition? If not, you may have to move /var/db to /usr/var/db and make /var/db a symlink to it. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message