Error in pkg_version.. "package is corrupt"
Lowell Gilbert
freebsd-questions-local at be-well.ilk.org
Mon Aug 20 13:39:26 PDT 2007
Johan Andersson <j at i19.se> writes:
> Hello..
> I was running portupgrade -a . in the middle of compile i did lose power..
> now when im running pkg_version -vL= i got this:
>
> pkg_version: the package info for package 'GeoIP-1.4.2' is corrupt
> pkg_version: the package info for package 'aide-0.11' is corrupt
> pkg_version: the package info for package 'arc-5.21o_1' is corrupt
> pkg_version: the package info for package 'arj-3.10.22' is corrupt
> pkg_version: the package info for package 'autoconf-2.13.000227_6' is
> corrupt
> pkg_version: the package info for package 'autoconf-2.59_3' is corrupt
> pkg_version: the package info for package 'autoconf-2.61_2' is corrupt
> pkg_version: the package info for package 'autoconf-wrapper-20070404' is
> corrupt
> pkg_version: the package info for package 'automake-1.4.6_4' is corrupt
> pkg_version: the package info for package 'automake-1.9.6_2' is corrupt
> pkg_version: the package info for package 'automake-wrapper-20070404' is
> corrupt
> and more...
>
> How do i fix this without reinstall the system?
You can restore the package descriptions (/var/db/pkg/*, unless you
put them somewhere else) from backups. Alternatively, you could
forcibly reinstall the ports.
--
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
More information about the freebsd-questions
mailing list