From owner-freebsd-stable Sun Apr 18 18:24:41 1999 Delivered-To: freebsd-stable@freebsd.org Received: from sims-ha.videotron.net (faure.videotron.net [205.151.222.100]) by hub.freebsd.org (Postfix) with ESMTP id 548B014C8D for ; Sun, 18 Apr 1999 18:24:38 -0700 (PDT) (envelope-from luc_m@videotron.ca) Received: from videotron.ca ([206.231.125.128]) by sims-ha.videotron.net (Sun Internet Mail Server sims.3.5.1998.03.08.20.27) with ESMTP id <0FAE00CHTWJ75H@sims-ha.videotron.net> for stable@freebsd.org; Sun, 18 Apr 1999 21:09:09 -0400 (EDT) Date: Sun, 18 Apr 1999 20:09:17 -0400 From: Luc Morin Subject: Re: strange message from pkg_info To: stable@freebsd.org Message-id: <371A742D.30A90226@videotron.ca> MIME-version: 1.0 X-Mailer: Mozilla 4.5 [en] (X11; I; FreeBSD 3.1-STABLE i386) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-Accept-Language: en References: <371A502D.DC534E07@videotron.ca> <371A602E.F5771E22@glue.umd.edu> Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Brandon Fosdick wrote: > > I had the same problem. I was missing the pkg directory, once I created it and > hand-made .mkversion I stopped getting that. Though I still don't know why it > was trying to cd to a file. > > -Brandon > > Luc Morin wrote: > > > > Hi all > > > > I updated my system on april 12, and I just noticed today that when I > > query packages with pkg_info -a, I get the following message just before > > the pkg information is printed: > > > > pkg_info: can't change directory to '/var/db/pkg/.mkversion'! > > > > isn't .mkversion just a regular file ? > > > > Any thoughts on this ? > > Well, in this case the /var/db/pkg directory already exists, and /var/db/pkg/.mkversion also exists. I'll look into the pkg_info code. Regards, -- Luc Morin Electrical Engineering Technologist To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message