Pkg_info corrupt for some packages
Andrew Pantyukhin
infofarmer at FreeBSD.org
Fri Apr 11 16:47:50 UTC 2008
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
More information about the freebsd-questions
mailing list