[MacPorts] ProblemHotlist modified

MacPorts noreply at macports.org
Tue Sep 16 20:04:34 PDT 2008


Changed page "ProblemHotlist" by blb at macports.org from 75.163.179.90*
Page URL: <http://trac.macports.org/wiki/ProblemHotlist>
Diff URL: <http://trac.macports.org/wiki/ProblemHotlist?action=diff&version=36>
Revision 36
Comment: Add section on using -f to uninstall older, inactive ports

-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: ProblemHotlist
=========================================================================
--- ProblemHotlist (version: 35)
+++ ProblemHotlist (version: 36)
@@ -120,3 +120,13 @@
 {{{
 port clean --work <port>
 }}}
+
+== Inactive port can't be removed even though a newer version is installed ==
+If, 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
+{{{
+  libpng @1.2.30_0
+  libpng @1.2.31_0 (active)
+}}}
+Running {{{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.
+
+This issue has been fixed on trunk.

-------8<------8<------8<------8<------8<------8<------8<------8<--------

* The IP shown here might not mean anything if the user or the server is
behind a proxy.

--
MacPorts <http://www.macports.org/>
Ports system for Mac OS

This is an automated message. Someone at http://www.macports.org/ added your email
address to be notified of changes on ProblemHotlist. If it was not you, please
report to .


More information about the macports-changes mailing list