Date: Fri, 11 Apr 2008 22:04:04 +0200 From: Mel <fbsd.questions@rachie.is-a-geek.net> To: freebsd-questions@freebsd.org, infofarmer@freebsd.org Cc: Aijaz Baig <aijaz.abaig@gmail.com> Subject: Re: Pkg_info corrupt for some packages Message-ID: <200804112204.04948.fbsd.questions@rachie.is-a-geek.net> In-Reply-To: <20080411162830.GC1547@amilo.cenkes.org> References: <101a1afc0804110732u8b2a16k24caa639258e7f42@mail.gmail.com> <20080411162830.GC1547@amilo.cenkes.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804112204.04948.fbsd.questions>
