I've recently upgraded my system to 7.1Stable. While upgrading my ports, pkg_delete spontaneously ceased functioning. Some of the ports were upgraded successfully so pkg_delete must have worked at some point. I'm sort of a novice so I'm at a loss as to how to go about diagnosing and fixing this problem. here's an example below: 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)
> 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