Changes between Version 35 and Version 36 of ProblemHotlist


Ignore:
Timestamp:
Sep 17, 2008, 3:04:33 AM (16 years ago)
Author:
blb@…
Comment:

Add section on using -f to uninstall older, inactive ports

Legend:

Unmodified
Added
Removed
Modified
  • ProblemHotlist

    v35 v36  
    121121port clean --work <port>
    122122}}}
     123
     124== Inactive port can't be removed even though a newer version is installed ==
     125If, after upgrading a port, you find you can't remove the older, inactive, version because {{{port}}} tells you it is a dependency of another port, this is a bug in 1.6.  The simple fix is to force it: {{{sudo port -f uninstall <port> @<older_version>}}} (replacing <port> with the port name and <older_version> with the version string for the older version).  For example, if you've upgraded libpng recently, a {{{port installed libpng}}} may show
     126{{{
     127  libpng @1.2.30_0
     128  libpng @1.2.31_0 (active)
     129}}}
     130Running {{{sudo port uninstall libpng}}} or {{{sudo port uninstall libpng @1.2.30_0}}} will complain that other ports depend on libpng and you can't uninstall.  Simply add a -f to get it to go: {{{sudo port -f uninstall libpng @1.2.30_0}}}.  Just make sure you remove the older, inactive version.
     131
     132This issue has been fixed on trunk.