Pkg_info corrupt for some packages
aijaz.abaig at gmail.com
Sun Apr 13 09:41:20 UTC 2008
Well...I tried to cut and paste the command as is by mel (though It would
have been better if you explained what that cryptic looking command actually
meant) and I got the followinfg output:
'grep: /var/db/pkg/xorg-server-1.4_4,1/+CONTENTS: No such file or directory
egrep: Unmatched ( or \('
Then as suggested by leslie I issued a command '*pkgdb -F*' and on that I
got the following on the terminal :
'-- --> Checking the package registry database' and the I was back at the
So I am wondering if theres a way to repair those packages somehow...cuz if
I delete it before re installing the I would be jeopardizing the packages
which are dependent on these packages and I do not know if reinstalling them
without actually removing them first creates duplicates or not.
Hope to hear from you guys about this.
On Fri, Apr 11, 2008 at 10:04 PM, Mel <fbsd.questions at rachie.is-a-geek.net>
> 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
> > >
> > > 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.
> Could you show output of:
> grep '^@' /var/db/pkg/xorg-server-1.4_4,1/+CONTENTS |egrep -v '^(@comment
> @dirrm |@unexec)'
> Problem with today's modular software: they start with the modules
> and never get to the software part.
More information about the freebsd-questions