View Single Post
Old 7th April 2012
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

How to delete a package manually, when pkg_delete fails to do so:
  1. Does pkg_info -L <package> work? If not, you will have to look through the +CONTENTS file line by line for the names of individual files to delete
  2. Delete the individual files.
  3. Review the +CONTENTS file for manual deletions/changes you will have to make. You must manually delete files or make edits in /etc and /var.
  4. Delete the /var/db/pkg/<package> structure.
For bash, you will need to edit /etc/shells, at the very least.



---


Will this solve the problem? Maybe. You may do more damage, if you make an error, and you will not have discovered and eliminated the root cause ... so this same problem could happen again. (And may have already happened on another of your systems, based on your other packing list error thread.)
Reply With Quote