Port Install Troubleshooting
Contents |
Common port install troubleshooting
Hosed port - can't install or deinstall
Sometimes a port is 'hosed', that is not fully installed but not fully deinstalled either (usually as the result of interrupting a "make install").
After you verify that you're dealing with a port and not a package, try the following
cd /var/db/pkg ls -l | grep NameOfHosedPort
rm -rf NameOfHosedPort or rm -rf NameOfHosedPort-[version-number] as the ls command indicated.
then
pkgdb -F
Then you can build the port again.
If any port has NameOfHosedPort as a dependency, you should deinstall and reinstall them to make sure you don't stay with a hard-to-track bug later as you eventually forget about this install incident.
To know what the dependencies of NameOfHosedPort are, do THIS
Broken or forbidden ports
If the port is important for your work you should upgrade to a secure version, find an alternative port to do the job, or if you are
Ports that are too insecure for normal use are listed HERE.