Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Apr 2008 20:28:31 +0400
From:      Andrew Pantyukhin <infofarmer@FreeBSD.org>
To:        Aijaz Baig <aijaz.abaig@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Pkg_info corrupt for some packages
Message-ID:  <20080411162830.GC1547@amilo.cenkes.org>
In-Reply-To: <101a1afc0804110732u8b2a16k24caa639258e7f42@mail.gmail.com>
References:  <101a1afc0804110732u8b2a16k24caa639258e7f42@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080411162830.GC1547>