Date: Fri, 30 Apr 1999 21:27:41 +1000 From: Gavan McCormack <tetragon@cyber.com.au> To: freebsd-stable@freebsd.org Subject: Problems with packages. Message-ID: <372993AD.38214E98@cyber.com.au>
index | next in thread | raw e-mail
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
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?372993AD.38214E98>
