From owner-freebsd-stable Fri Apr 30 4:28: 2 1999 Delivered-To: freebsd-stable@freebsd.org Received: from bitey.cyber.com.au (CPE-24-192-21-147.vic.bigpond.net.au [24.192.21.147]) by hub.freebsd.org (Postfix) with ESMTP id 0A3AC14FB0 for ; Fri, 30 Apr 1999 04:27:58 -0700 (PDT) (envelope-from tetragon@cyber.com.au) Received: from cyber.com.au (yakko [203.7.155.163]) by bitey.cyber.com.au (8.9.3/8.9.1) with ESMTP id VAA05510 for ; Fri, 30 Apr 1999 21:26:58 +1000 (EST) (envelope-from tetragon@cyber.com.au) Message-ID: <372993AD.38214E98@cyber.com.au> Date: Fri, 30 Apr 1999 21:27:41 +1000 From: Gavan McCormack Reply-To: tetragon@cyber.com.au Organization: Searching --- 0% done. Please stand by. X-Mailer: Mozilla 4.5 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-stable@freebsd.org Subject: Problems with packages. Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I was wondering if anyone can give me any pointes to help me with a problem I have. Setup: FreeBSD 3.1-Stable (3.1-STABLE #3: Wed Apr 28 10:09:54) with an unknown cvsup of ports, but only about a week old. It seems like FSR on my installation the package machanism has been corrupted. Doing a pkg_info -a produces all the normal output of installed packages (up to the point where it got screwed) and then at the end comes back with: pkg_info: can't change directory to '/var/db/pkg/.mkversion'! (.mkversion is a file, not a directory.) THe last package installed successfully was cvsup-bin-16.0. Later on, I tried to make the port wide-dhcp, with no success. Sincethen, installing any ports or packages has not worked. The only clue I have, besides the error above from pkg_info is that my bsd.port.mk file in /usr/ports/mk (which is ususally 77K) gets overwritten by a small file consisting of only: bitey# more bsd.port.mk PORTSDIR?= /usr/ports .include "${PORTSDIR}/Mk/bsd.port.mk" Ofcourse, having it call itself gets me nowhere when trying to make a port. :) So: 1. What would be overwriting /usr/ports/MK/bsd.port.mk? and 2. Is my package database corrupted, and where should I start looking, to learn how to fix it? Thanks in advance.. -- Gavan McCormack - tetragon@cyber.com.au - tetragon@bitey.net Cybersource P/L. TCPIP network management & Unix system administration. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message