[MacPorts] #28844: Preforming an upgrade should remove the older version of a port
#28844: Preforming an upgrade should remove the older version of a port -------------------------------+-------------------------------------------- Reporter: vendion@… | Owner: macports-tickets@… Type: request | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: -------------------------------+-------------------------------------------- When preforming a upgrade on outdated ports it should remove the older version of a port when upgrading to a newer one. This will cut down on unnecessary disk space usage. Taking Perl for an example there is no reason why Perl 5.8, Perl 5.10, and Perl 5.12 is installed at the same time. This is just one of many ports on my system like this. -- Ticket URL: <https://trac.macports.org/ticket/28844> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28844: Preforming an upgrade should remove the older version of a port --------------------------------+------------------------------------------- Reporter: vendion@… | Owner: macports-tickets@… Type: request | Status: closed Priority: Normal | Milestone: Component: base | Version: 1.9.2 Resolution: invalid | Keywords: Port: | --------------------------------+------------------------------------------- Changes (by blb@…): * status: new => closed * component: ports => base * resolution: => invalid Comment: That's actually by design; that way, if something breaks when upgraded you can simply reactivate the older, working version. If you truly want to uninstall the older version, use the -u switch: {{{ $ sudo port -u upgrade outdated }}} From {{{man port}}}: -u uninstall non-active ports when upgrading and uninstalling -- Ticket URL: <https://trac.macports.org/ticket/28844#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28844: Preforming an upgrade should remove the older version of a port --------------------------------+------------------------------------------- Reporter: vendion@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: base | Version: 1.9.2 Resolution: invalid | Keywords: Port: | --------------------------------+------------------------------------------- Changes (by jmr@…): * type: request => defect -- Ticket URL: <https://trac.macports.org/ticket/28844#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts