Nick Hasser wrote: > Alexander Hansen wrote: > >> Nick Hasser wrote: >> >>> I have a situation where I believe a bug was introduced in the software >>> in the current version available via fink. I'd like to downgrade to a >>> previous version via fink to test for the bug's presence. Is that possible? >>> >>> Thanks, >>> Nick >>> >> That depends on the package. >> >> Some packages have the same version in binary form, the stable source >> tree, and the unstable source tree; in such a case we have only that >> version available. It may be possible in such a case to get an older >> package description from Fink's CVS repository, though. >> >> You can check what versions of a package are known to your system by using >> >> fink dumpinfo -fallversions <packagename> >> >> for the source descriptions, and >> >> apt-cache showpkg <packagename> >> >> for precompiled binaries. >> >> To install an older version, if it's from a source description, use >> >> fink install foo-1.2.3-4 >> >> where you should replace 'foo' by your package name, '1.2.3' by the >> version--everything before the final hyphen, and '4' by its >> revision--whatever comes after that final hyphen. >> >> For precompiled binaries, the syntax is >> >> sudo apt-get install foo=1.2.3-4 >> >> Note that apt-get uses '=' rather than '-'; and make the same >> replacements as above. >> >> If you'd provide the package and the bug, then we can be more specific. >> >> > > Alexander, > > Thanks for the info. The package is lifelines. It appears that 3.0.62 is > the only version available. > > mbp:~ nick$ fink dumpinfo -fallversions lifelines > Information about 8945 packages read in 1 seconds. > allversions: > bi 3.0.62-1002 > mbp:~ nick$ > > I'm not sure where or when the bug got introduced, but on the lifelines > mailing list, a user reported that a previous version (3.0.47, > specifically) did not have the bug when running on OS X. I was hoping to > be able to downgrade to something between 3.0.47 and 3.0.62 to see if I > could narrow down when the bug first appeared. > > Nick > Looks right: that's the only version of that we have on 10.4/10.5. Our prior version, for 10.3, appears to use gcc3.3 to compile, so I wouldn't recommend that.
You can still try to downgrade, though. Try the following: mkdir -p /sw/fink/dists/local/main/finkinfo cp /sw/fink/dists/unstable/main/finkinfo/database/lifelines.info /sw/fink/dists/local/main/finkinfo/lifelines.info Then edit /sw/fink/dists/local/main/finkinfo/lifelines.info with your favorite Unix-line-ending-friendly text editor and change the Version to an older one. You'll also need to change the Source-MD5 to match whatever the source archive actually uses. After you do that, you can downgrade by using the "fink install" command as noted above. -- Alexander Hansen Fink User Liaison ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Fink-beginners mailing list Fink-beginners@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.beginners