From owner-freebsd-questions Wed Feb 6 17:39:32 2002 Delivered-To: freebsd-questions@freebsd.org Received: from we-24-126-232-105.we.mediaone.net (we-24-126-232-105.we.mediaone.net [24.126.232.105]) by hub.freebsd.org (Postfix) with ESMTP id 6F9C337B4DB for ; Wed, 6 Feb 2002 17:38:37 -0800 (PST) Received: from unix.homeip.net (someone@unix.homeip.net [24.126.232.105]) by we-24-126-232-105.we.mediaone.net (8.11.6/8.11.6) with ESMTP id g171cgL87138 for ; Wed, 6 Feb 2002 17:38:42 -0800 (PST) (envelope-from bear@unix.homeip.net) Date: Wed, 6 Feb 2002 17:38:42 -0800 (PST) From: Joey Garcia X-X-Sender: bear@we-24-126-232-105.we.mediaone.net To: questions@FreeBSD.ORG Subject: Re: Strange pkg_info error message - what's wrong with it? In-Reply-To: <20020206172743.I519-100000@we-24-126-232-105.we.mediaone.net> Message-ID: <20020206173553.O519-100000@we-24-126-232-105.we.mediaone.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Woops, forgot to mention that after the cvsup I had to rebuild autoconf. See, the problem is that I guess it didn't completely register because it got powered off and therefore /var/db/pkg/autoconf213 was empty and that's why pkg_info couldn't read the +CONTENTS file. Okay, problem solved. On Wed, 6 Feb 2002, Joey Garcia wrote: > > Okay, so I cvsup'd my ports tree and the messages went away. Interesting. > Anyways, I think what happened was that someone in my department cut the > power to the machine when I was building some ports and it probably > screwed something up. I didn't realize this until I actually went to the > machine and turned on the monitor and saw that it had just finished > booting. I was like wtf?!? Anyways, there's no more messages. But, if it > happens to someone then at least this will be archived to help those out > in the future. > > On Wed, 6 Feb 2002, Joey Garcia wrote: > > > > > Okay, so I noticed that pkg_info is giving me a weird error message. Here > > is some output and an example of usage and the message that I get. > > > > [3:59pm] bear@ircla (~) # pkg_info -Ia | grep ethereal > > pkg_info: unable to open +CONTENTS file > > ethereal-0.9.1 An X11/GTK network analyzer/capture tool > > > > The second line after the actual command invocation gives a message > > concerning the +CONTENTS file. I assumed that was the +CONTENTS file > > located for each package in /var/db/pkg. I'm not sure why it's giving me > > that error. > > > > This machine has been upgraded from 4.3-RELEASE to 4.5-RELEASE just the > > other day. I've also taken the liberty of going into > > /usr/src/usr.sbin/pkg_install and issuing a make install to try to > > reinstall the pkg_* utilities. > > > > Not sure what other information to give you, but if you need more just ask > > and I'll be happy to respond. > > > > Joseph Garcia > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message