pkg_delete segfaulting after upgrading to 7.1

Henry Hu henry.hu.sh at gmail.com
Thu Feb 12 22:51:15 PST 2009


> rosbox# pkg_delete -f gpgme-1.1.5_1
> pkg_delete: package 'gpgme-1.1.5_1' is required by these other packages
> and may not be deinstalled (but I'll delete it anyway):
> seahorse-2.24.1_1
> Segmentation fault (core dumped)

I've had similar problem, and found the problem is in the +CONTENTS in
the corresponding folder under /var/db/pkg/ .
It's caused by an empty @pkgdep line here.
I don't know what went wrong when the +CONTENTS file was created. But
delete all these empty @pkgdep lines solved my problem.

Cheers,
Henry


More information about the freebsd-stable mailing list