Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Aug 2001 08:59:14 -0700
From:      Fred Condo <fred@condo.chico.ca.us>
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>
In-Reply-To: <OFDC2BD8D1.8EBA40F1-ON88256AB7.00508BD8@simrad.no>; from chip.wiegand@simrad.com on Wed, Aug 29, 2001 at 07:48:38AM -0700
References:  <OFDC2BD8D1.8EBA40F1-ON88256AB7.00508BD8@simrad.no>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010829085914.B56668>