http://www.freebsdwiki.net/index.php?title=Port_Install_Troubleshooting&feed=atom&action=historyPort Install Troubleshooting - Revision history2024-03-29T13:57:35ZRevision history for this page on the wikiMediaWiki 1.18.0http://www.freebsdwiki.net/index.php?title=Port_Install_Troubleshooting&diff=9456&oldid=prevJimbo: Reverted edits by 63.147.134.5 (Talk); changed back to last version by Ninereasons2007-11-21T01:11:59Z<p>Reverted edits by <a href="/index.php/Special:Contributions/63.147.134.5" title="Special:Contributions/63.147.134.5">63.147.134.5</a> (<a href="/index.php?title=User_talk:63.147.134.5&action=edit&redlink=1" class="new" title="User talk:63.147.134.5 (page does not exist)">Talk</a>); changed back to last version by <a href="/index.php/User:Ninereasons" title="User:Ninereasons">Ninereasons</a></p>
<table class='diff diff-contentalign-left'>
<tr valign='top'>
<td colspan='1' style="background-color: white; color:black;">← Older revision</td>
<td colspan='1' style="background-color: white; color:black;">Revision as of 01:11, 21 November 2007</td>
</tr></table>Jimbohttp://www.freebsdwiki.net/index.php?title=Port_Install_Troubleshooting&diff=6605&oldid=prevNinereasons: dead-end; link to ports2006-06-12T22:46:52Z<p>dead-end; link to <a href="/index.php/Ports" title="Ports">ports</a></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 22:46, 12 June 2006</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 3:</td>
<td colspan="2" class="diff-lineno">Line 3:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=== Hosed port - can't install or deinstall ===</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=== Hosed port - can't install or deinstall ===</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>Sometimes a <del class="diffchange diffchange-inline">port </del>is 'hosed', that is not fully installed but not fully deinstalled either (usually as the result of interrupting a "make install").</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>Sometimes a <ins class="diffchange diffchange-inline">[[ports]] </ins>is 'hosed', that is not fully installed but not fully deinstalled either (usually as the result of interrupting a "make install").</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>After you verify that you're dealing with a port or package, not software you've installed ''outside'' the ports/packages system, you can try the following:</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>After you verify that you're dealing with a port or package, not software you've installed ''outside'' the ports/packages system, you can try the following:</div></td></tr>
</table>Ninereasonshttp://www.freebsdwiki.net/index.php?title=Port_Install_Troubleshooting&diff=4854&oldid=prevJimbo: /var/db/pkg contains software installed as ports OR packages2005-01-18T05:34:16Z<p>/var/db/pkg contains software installed as ports OR packages</p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 05:34, 18 January 2005</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== Common port install troubleshooting ==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== Common port install troubleshooting ==</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 6:</td>
<td colspan="2" class="diff-lineno">Line 5:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Sometimes a port is 'hosed', that is not fully installed but not fully deinstalled either (usually as the result of interrupting a "make install").</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Sometimes a port is 'hosed', that is not fully installed but not fully deinstalled either (usually as the result of interrupting a "make install").</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>After you verify that you're dealing with a port <del class="diffchange diffchange-inline">and not a </del>package, try the following</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>After you verify that you're dealing with a port <ins class="diffchange diffchange-inline">or </ins>package, <ins class="diffchange diffchange-inline">not software you've installed ''outside'' the ports/packages system, you can </ins>try the following<ins class="diffchange diffchange-inline">:</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  cd /var/db/pkg</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  cd /var/db/pkg</div></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 36:</td>
<td colspan="2" class="diff-lineno">Line 35:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== Advanced troubleshooting ==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== Advanced troubleshooting ==</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">...</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">[[Category:Common Tasks]]</ins></div></td></tr>
<!-- diff cache key bsdwiki:diff:version:1.11a:oldid:1752:newid:4854 -->
</table>Jimbohttp://www.freebsdwiki.net/index.php?title=Port_Install_Troubleshooting&diff=1752&oldid=prevSimon: distclean and archiving first2005-01-17T19:13:38Z<p>distclean and archiving first</p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 19:13, 17 January 2005</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== Common port install troubleshooting ==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== Common port install troubleshooting ==</div></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 26:</td>
<td colspan="2" class="diff-lineno">Line 25:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=== Broken or forbidden ports ===</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=== Broken or forbidden ports ===</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>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  </div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>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 <ins class="diffchange diffchange-inline">feeling like taking a risk (usually on a non-internet-connected workstation) you can tolerate a forbidden port.</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> </div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">Ports that are too insecure for normal use or cause systemwide problems are listed HERE.</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> </div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">=== Lack of hard drive space after installing many ports ===</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> </div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">Think about backuping it first. Once it's done (or skipped at your own risk), use '''make distclean''' but if you ever have to build any of your ports again you'll have to fetch them again which can be time-consuming and occasionally frustrating as day-fresh ports are sometimes broken or unavailable.</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">Ports that are too insecure for normal use are listed HERE</del>.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">Many people choose to archive their distfiles directory on CDs once in a while just in case an obscure dependency or a marginally supported port is unavailable/broken</ins>. <ins class="diffchange diffchange-inline">The more ports you rely on, the more archiving them can be a timesaver when you need to get a workstation doing a certain task ASAP!</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== Advanced troubleshooting ==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== Advanced troubleshooting ==</div></td></tr>
</table>Simonhttp://www.freebsdwiki.net/index.php?title=Port_Install_Troubleshooting&diff=1751&oldid=prevSimon: Troubleshooting port install2005-01-17T18:04:55Z<p>Troubleshooting port install</p>
<p><b>New page</b></p><div><br />
<br />
== Common port install troubleshooting ==<br />
<br />
=== Hosed port - can't install or deinstall ===<br />
<br />
Sometimes a port is 'hosed', that is not fully installed but not fully deinstalled either (usually as the result of interrupting a "make install").<br />
<br />
After you verify that you're dealing with a port and not a package, try the following<br />
<br />
cd /var/db/pkg<br />
ls -l | grep NameOfHosedPort<br />
<br />
'''rm -rf NameOfHosedPort''' or '''rm -rf NameOfHosedPort-[version-number]''' as the ls command indicated.<br />
<br />
then<br />
<br />
pkgdb -F<br />
<br />
Then you can build the port again.<br />
<br />
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.<br />
<br />
To know what the dependencies of NameOfHosedPort are, do THIS<br />
<br />
=== Broken or forbidden ports ===<br />
<br />
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 <br />
<br />
Ports that are too insecure for normal use are listed HERE.<br />
<br />
== Advanced troubleshooting ==</div>Simon