retrieving a previous version

Niki Guldbrand niki at lunar-linux.org
Wed Apr 21 15:37:54 GMT 2004


On Wed, 2004-04-14 at 23:15 +0200, Auke Kok wrote:
> Remco Lubbers wrote:
> > Op Wed, 14 Apr 2004 15:12:19 -0500 schreef Terry Chan aan Remco Lubbers
> > <rpl at concepts.nl>,Lunar general discussion list <lunar at lunar-linux.org>:
> > 
> > 
> >>RTFM.  man lrm
> >>lrm -D php 4.3.4
> > 
> > 
> > hmmm, I must be getting stupid:
> > root at server1 ~ # lvu version php
> > 4.3.5
> > root at server1 ~ # lrm -D php 4.3.4
> > Desired version is not available. Here is the available files
> > /var/cache/lunar/php-4.3.4-i686-pc-linux-gnu.tar.bz2
> > /var/cache/lunar/php-4.3.5-i686-pc-linux-gnu.tar.bz2
> > 
> > I've done some trial&erroring:
> > root at server1 ~ # lrm -d -v -D php 4.3.4
> > ++ root_check ()
> > + running "php" DETAILS file
> > Desired version is not available. Here is the available files
> > /var/cache/lunar/php-4.3.4-i686-pc-linux-gnu.tar.bz2
> > /var/cache/lunar/php-4.3.5-i686-pc-linux-gnu.tar.bz2
> > root at server1 ~ # lrm -d -v -D php/4.3.4
> > ++ root_check ()
> > + running "php/4.3.4" DETAILS file
> > root at server1 ~ # lrm -d -v -D php-4.3.4
> > ++ root_check ()
> > + running "php-4.3.4" DETAILS file
> > root at server1 ~ # lvu version php
> > 4.3.5
> > root at server1 ~ # lrm -D /var/cache/lunar/php-4.3.5-i686-pc-linux-gnu.tar.bz2
> > root at server1 ~ # lvu version php
> > 4.3.5
> > 
> > Any ideas about what I am doing wrong here?
> > 
> > I did read the manpage completely, but I must have missed it :-(
> 
> the -D option of lrm could be non-functional after my code massacre in 
> lrm recently, I'll add it to my investigation list.
> 

sofar, i don't think lrm is buggy with -D, because he is using the
command "lvu version php" which reads the version from moonbase, but he
should have used "lvu installed php" instead ;-)

So the output is correct as far as i can tell...

Niki



More information about the Lunar mailing list