retrieving a previous version

Terry Chan tpchan at comcast.net
Wed Apr 14 15:12:19 GMT 2004


RTFM.  man lrm

lrm -D php 4.3.4

or since you have module_history/php-4.3.4-20040326.tar.bz2, you can
untarball that module into the proper spot in /var/lib/lunar/moonbase
and then just "lin php" will do the same thing.  lunar hold php will also
be necessary to prevent your php from being automatically bumped.

Terry Chan
--------------------------------------------------------------
On Wed, Apr 14, 2004 at 09:02:46PM +0200, Remco Lubbers wrote:
> Hi all,
> 
> Since php 4.3.5 brakes my apache2 through logrotation 
> ( http://bugs.php.net/bug.php?id=27735 )
> I'd like to go back to 4.3.4, which is still on my system in the lunar dirs:
> /var/cache/lunar/php-4.3.4-i686-pc-linux-gnu.tar.bz2
> /var/spool/lunar/php-4.3.4.tar.bz2
> /var/state/lunar/module_history/php-4.3.4-20040325.tar.bz2
> /var/state/lunar/module_history/php-4.3.4-20040326.tar.bz2
> 
> How would I go about accomplishing this with the lunar tools?
> I have tried:
> root at server1 /var/log/httpd #lin -R php
> Resurrecting php version 4.3.5
> Resurrected php succesfully						    
> root at server1 /var/log/httpd # lin -R php/4.3.4
> Unable to find module php/4.3.4 in /var/lib/lunar/moonbase
> root at server1 /var/log/httpd # lin php/4.3.4
> mod_v =  mod= php/4.3.4
> Unable to find module php/4.3.4 in /var/lib/lunar/moonbase
> root at server1 /var/log/httpd # lunar resurrect php
> Resurrecting php version 4.3.5
> Resurrected php succesfully						    
> root at server1 /var/log/httpd # lunar resurrect php/4.3.4
> Unable to find module php/4.3.4 in /var/lib/lunar/moonbase
> root at server1 /var/log/httpd # lin -V 4.3.4 php
> mod_v = 4.3.4 mod= php
> php Passing 4.3.4		  to module for processing
> Module = php
> Checking dependencies for php 
> module = php/4.3.4
> /sbin/lget: line 344: /var/lock/lgetting.php/4.3.4: No such file or directory
> Unable to find module php/4.3.4 in /var/lib/lunar/moonbase
> 
> In the lunar-manpages it says:
> "The source code from previous versions are kept so that the packages can be
> rolled back  to  older	versions."
> But I can't figure how to roll back.
> Of course I can download & compile the old version myself, but I should be able
> to do that within Lunar, shouldn't I?
> 
> TIA!
> 
> Remco
> 


More information about the Lunar mailing list