Is there a way to get the previous version of any package?

Perry Lee perry at
Thu Mar 25 11:42:07 PDT 2010

You can also create a local Portfile repository [1] with the older version of zlib, so port will see the older version rather than the newer one.

perry at patton-lxp ~/src/lports/archivers/zlib % port list zlib           
zlib                           @1.2.3          archivers/zlib
zlib                           @1.2.4          archivers/zlib
perry at patton-lxp ~/src/lports/archivers/zlib % sudo port install zlib
--->  Computing dependencies for zlib
--->  Fetching archive for zlib
--->  Fetching zlib
--->  Attempting to fetch zlib-1.2.3.tar.bz2 from
--->  Verifying checksum(s) for zlib
--->  Extracting zlib
--->  Applying patches to zlib
--->  Configuring zlib
--->  Building zlib
--->  Staging zlib into destroot
--->  Packaging tgz archive for zlib 1.2.3_4+universal
--->  Installing zlib @1.2.3_4+universal
--->  Activating zlib @1.2.3_4+universal
--->  Cleaning zlib
perry at patton-lxp ~/src/lports/archivers/zlib % port installed zlib
The following ports are currently installed:
  zlib @1.2.3_4+universal (active)
  zlib @1.2.4_1+universal

On Mar 25, 2010, at 11:21 AM, Ryan Schmidt wrote:

> On Mar 25, 2010, at 13:20, Kok-Yong Tan wrote:
>> Is there any way to reliably stop wireshark (without messing with the Portfile) from keeping on getting the zlib 1.2.4 release even though I've deactivated it and activated the zlib 1.2.3 release? I've even gone so far as to uninstall zlib 1.2.4 when MacPorts wasn't ignoring the inactive zlib 1.2.4.
>> I've tried deactivating, cleaning (with --dist) and then uinstalling zlib 1.2.4 prior to deactivating, cleaning, uninstalling and then installing wireshark but when I re-install wireshark, it keeps on pulling in the zlib 1.2.4 package.  What I've had to do to get it to use the zlib 1.2.3 package is to start an install of wireshark going, wait till it's done installing the zlib 1.2.4 package and going onto something else before using another window to quickly uninstall zlib 1.2.4 and install zlib 1.2.3 while wireshark is being built in the other window but this seems a very dangerous and Rube Goldberg-like maneuver to me.
> MacPorts follows dependencies automatically. To tell it not to do so, use the -n switch.
> sudo port -n install wireshark
> _______________________________________________
> macports-users mailing list
> macports-users at

More information about the macports-users mailing list