From owner-freebsd-questions@FreeBSD.ORG Fri Apr 11 16:47:50 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 2E77D106566B for ; Fri, 11 Apr 2008 16:47:50 +0000 (UTC) (envelope-from infofarmer@FreeBSD.org) Received: from heka.cenkes.org (heka.cenkes.org [208.79.80.110]) by mx1.freebsd.org (Postfix) with ESMTP id F13F18FC1D for ; Fri, 11 Apr 2008 16:47:49 +0000 (UTC) (envelope-from infofarmer@FreeBSD.org) Received: from amilo.cenkes.org (ppp85-140-149-151.pppoe.mtu-net.ru [85.140.149.151]) (Authenticated sender: sat) by heka.cenkes.org (Postfix) with ESMTPSA id 7FF68242F8D1; Fri, 11 Apr 2008 20:28:33 +0400 (MSD) Date: Fri, 11 Apr 2008 20:28:31 +0400 From: Andrew Pantyukhin To: Aijaz Baig Message-ID: <20080411162830.GC1547@amilo.cenkes.org> References: <101a1afc0804110732u8b2a16k24caa639258e7f42@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <101a1afc0804110732u8b2a16k24caa639258e7f42@mail.gmail.com> X-OS: FreeBSD 8.0-CURRENT amd64 User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-questions@freebsd.org Subject: Re: Pkg_info corrupt for some packages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: infofarmer@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Apr 2008 16:47:50 -0000 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. > Furthermore, how do see the list of all the > available(installed) packages on my system? ls /var/db/pkg