Shouldn't old port be deleted on upgrade?
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? 'port installed' outputs: apache2 @2.2.4_0 apache2 @2.2.4_1 (active) apr @1.2.8_0 apr @1.2.9_0 (active) apr-util @1.2.8_2 (active) curl @7.16.2_0+darwin_8 (active) db44 @4.4.20_1+darwin_8 (active) expat @2.0.1_0 (active) freetype @2.3.4_1 freetype @2.3.5_0 (active) gettext @0.16.1_0 (active) glib2 @2.12.12_0 (active) irssi @0.8.10a_2 (active) jpeg @6b_1 (active) libiconv @1.11_4+darwin_8 (active) libmcrypt @2.5.8_0+darwin_8 (active) libpng @1.2.18_0+darwin_8 (active) libtool @1.5.22_0 libtool @1.5.24_0 (active) libxml2 @2.6.28_1 (active) libxslt @1.1.20_0 (active) mhash @0.9.9_0+darwin_8 (active) mysql5 @5.0.41_0+darwin_8+server (active) ncurses @5.6_0+darwin_8 (active) ncursesw @5.6_0+darwin_8 (active) openssl @0.9.8e_0+darwin_8 (active) pcre @7.1_1+utf8 (active) php5 @5.2.3_0+apache2+darwin_8+macosx+mysql5+tidy (active) pkgconfig @0.21_0 pkgconfig @0.22_0 (active) readline @5.2.001_0 (active) sqlite3 @3.4.0_0+darwin_8 sqlite3 @3.4.0_1+darwin_8 (active) tidy @20051026_0+darwin_8 (active) tiff @3.8.2_0+darwin_8 (active) zlib @1.2.3_1 (active) Best regards, Peter Farsinsen
-----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-----
On Jul 11, 2007, at 15:12, Peter Farsinsen wrote:
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?
Yes, it's intended. If you want "port upgrade" to uninstall old versions as it installs new versions, use the -u switch. "port -u upgrade outdated"
participants (3)
-
Peter Farsinsen
-
Ryan Schmidt
-
Simon Ruderich