Shouldn't old port be deleted on upgrade?

Simon Ruderich simon at ruderich.com
Wed Jul 11 13:21:04 PDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Peter Farsinsen wrote:
> Hi,
> 
> Just did 'port upgrade outdated' which went very well. But when I do
> 'port installed' some of the old ports still seems to be installed. Is
> this the intended behavior or is my installation broken?

This is intended. If you want to remove the old version then just type
"port uninstall apache2 @2.2.4_0" (as example to remove the old apache2
installation).

But if you notice problems with a new version then it can be useful to
have an old version still around. Then you can simply do the following
to use the old version again (again for apache2 as example).

port deactivate apache2
port activate apache2 @2.2.4_0

Then the old version is used and the new one is deactivated.

Hope this helps,
Simon
- --
+ privacy is necessary
+ using http://gnupg.org
+ public key id: 0x6115F804EFB33229
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iD8DBQFGlTuwYRX4BO+zMikRChMFAJ4g3L3cd5rpEbSY783oETFKDOHNYgCgiNp/
dXckObTYpaavuemsqZjTDgs=
=lTjE
-----END PGP SIGNATURE-----



More information about the macports-users mailing list