On Wed, Nov 05, 2008 at 07:05:56PM +0100, Louis V. Lambrecht wrote: > Stuart Henderson wrote: >> On 2008-11-05, Chris <[EMAIL PROTECTED]> wrote: >> >>> I been updating packages from 4.3 to 4.4 but my box rebooted due to a >>> power outage and now I'm getting the following error while updating >>> packages: >>> >>> Warning: couldn't read packing-list from installed package jasper-1.900.1 >>> File /var/db/pkg/jasper-1.900.1/+CONTENTS does not exist >>> /usr/sbin/pkg_add: Can't locate jasper-1.900.1 >>> >>> (pkg_add -ui -F update -F updatedepends) >>> >>> I cd to /var/db/pkg/jasper-1.900.1/ and the directory is empty. >>> >>> Thanks for any help. >>> >>> Oops, looks like I forgot to document some stuff.
There is some experimental code in pkg_add to take care of that: remove the /var/db/pkg/jasper-* directory, and try adding jasper again, in interactive mode. With luck, it will tell you there are collisions with files not found in any package, but which match exactly with jasper, and then it will attempt to repair the situation: that is, it will extract again the package, and scan all the forward dependencies and restore the missing links.

