From owner-freebsd-questions@FreeBSD.ORG Fri Apr 11 20:04:07 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9F5C1106564A for ; Fri, 11 Apr 2008 20:04:07 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from snoogles.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 5A15C8FC1A for ; Fri, 11 Apr 2008 20:04:07 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (localhost [127.0.0.1]) by snoogles.rachie.is-a-geek.net (Postfix) with ESMTP id 725B11CC91; Fri, 11 Apr 2008 12:04:06 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org, infofarmer@freebsd.org Date: Fri, 11 Apr 2008 22:04:04 +0200 User-Agent: KMail/1.9.7 References: <101a1afc0804110732u8b2a16k24caa639258e7f42@mail.gmail.com> <20080411162830.GC1547@amilo.cenkes.org> In-Reply-To: <20080411162830.GC1547@amilo.cenkes.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200804112204.04948.fbsd.questions@rachie.is-a-geek.net> Cc: Aijaz Baig Subject: Re: Pkg_info corrupt for some packages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Apr 2008 20:04:07 -0000 On Friday 11 April 2008 18:28:31 Andrew Pantyukhin wrote: > On Fri, Apr 11, 2008 at 04:32:32PM +0200, Aijaz Baig wrote: > > I was trying to find a way to list all the packages on my > > system and I came across this little article and accordingly > > issued the command *pkg_info | grep 'package name' *and I saw > > the following on the screen instead: > > > > pkg_info: the package info for package 'Terminal-0.2.8' is corrupt > > ... > > pkg_info: the package info for package 'xorg-server-1.4_4,1' is corrupt > > > > How did the pkg_info information for the above mentioned > > packages became corrupt?.. > > Possibly the usual portupgrade fckup^Wglitch. > > > Is there to fix this problem? > > Reinstall all packages. That's a bit overdone maybe. @OP: Could you show output of: grep '^@' /var/db/pkg/xorg-server-1.4_4,1/+CONTENTS |egrep -v '^(@comment MD5| @dirrm |@unexec)' -- Mel Problem with today's modular software: they start with the modules and never get to the software part.