Date: Mon, 20 Aug 2007 16:39:24 -0400 From: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> To: Johan Andersson <j@i19.se> Cc: Freebsd questions <freebsd-questions@freebsd.org> Subject: Re: Error in pkg_version.. "package is corrupt" Message-ID: <44odh2c54z.fsf@be-well.ilk.org> In-Reply-To: <46C8E26A.4060305@i19.se> (Johan Andersson's message of "Mon\, 20 Aug 2007 02\:38\:02 %2B0200") References: <46C8E26A.4060305@i19.se>
next in thread | previous in thread | raw e-mail | index | archive | help
Johan Andersson <j@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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44odh2c54z.fsf>