Downgrade port

Odhiambo Washington wash at wananchi.com
Thu Aug 17 16:02:23 UTC 2006


* On 17/08/06 14:20 +0200, Johnny Choque wrote:
| Hi all,
| 
| When I have tried to install java 1.5 in freebsd 6.1-release using the
| binary file provided in:
| http://www.freebsdfoundation.org/downloads/java.shtml
| 
| I got an error message pointing out that it needed javavmwrapper-2.0.6
| instead of 2.3 (which I actually have installed). I'm trying to use
| portdowngrade in order to downgrade javavmwrapper but I have problems with
| cvs servers listed in:
| http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/anoncvs.html
| 
| Could you tell me if there is another way to downgrade a port? 

cd /port/directory
edit Makefile and change the version from 2.3 -> 2.0.6
edit distinfo and change version there too.

then

portupgrade -f portname

It will actually downgrade it.

I am not quite sure how this blends with the related libraries but it
does work. I've used it but mostly during minor version changes, not
the major version change like you have.

Why don't you deinstall the 2.3 and install 2.0.6 though?


-Wash

http://www.netmeister.org/news/learn2quote.html

DISCLAIMER: See http://www.wananchi.com/bms/terms.php

--
+======================================================================+
    |\      _,,,---,,_     | Odhiambo Washington    <wash at wananchi.com>
Zzz /,`.-'`'    -.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_)     | GSM: +254 722 743223   +254 733 744121
+======================================================================+

A professor is one who talks in someone else's sleep.


More information about the freebsd-questions mailing list