[MacPorts] #21069: 'port upgrade --force installed ' fails on help2man
MacPorts
noreply at macports.org
Fri Oct 2 00:46:19 PDT 2009
#21069: 'port upgrade --force installed ' fails on help2man
-------------------------------+--------------------------------------------
Reporter: permezel@… | Owner: macports-tickets@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 1.8.0
Resolution: wontfix | Keywords:
Port: help2man |
-------------------------------+--------------------------------------------
Changes (by blb@…):
* status: new => closed
* resolution: => wontfix
Comment:
Replying to [comment:12 nodje.co@…]:
> Ok, I understand this is the final solution.
>
> I don't see the difference between
> sudo port clean installed
The clean command simply cleans out build-related items (and, with other
options, distfiles and archives). It does not affect installed ports in
any way.
> sudo port -f uninstall installed
This is the way to uninstall every port installed but leaving MacPorts
base in place.
>
> and just sudo rm-rf /opt/local
This kills everything, ports, MacPorts base, and any other files like
configuration items and databases. Read the [wiki:FAQ#uninstall FAQ entry
on uninstal] to make sure you get all the bits (a few things may reside
outside /opt/local).
>
> Wouldn't it just be faster to delete and reinstall everything?
The rm -rf is the fastest but you'll lose the aforementioned configuration
and database parts (if any). The best method (assuming you have the disk
space) would be to remove the various bits not in /opt/local and simply
move /opt/local aside (eg, /opt/local.old). This way you can copy
database and configuration bits over after doing the reinstall.
But in the end, the reinstall-from-scratch is the only reliable way to
upgrade MacPorts with a new OS version.
--
Ticket URL: <http://trac.macports.org/ticket/21069#comment:13>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list