[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Distribution installer that defaults to Debian?



On Mon, 20 Dec 2010 10:51:06 -1000, Joel Roth wrote:

> Gregor,
> Thanks for your informed suggestions! I'll drop the apt-file
> part.

You're welcome!
 
> I'd be interested in an example of getting package version
> information.

I have to admit that this was more of an assumption on my part :)
 
> What I tried is:
> 
>    use Debian::AptContents;
>    my $c = Debian::AptContents->new({ homedir => '/tmp/dh-make-perl'});
>    
>    my $dep = $c->find_perl_module_package('Padre','123.0');
>    
>    print $dep->ver; # 123.0  (actual version is 0.76.ds1-1)

Hm. I guess the Debian::Dependency only returns what's fed to it.
I thought it also knows additonally about the available versions ...


Let's hope Damyan chimes in and explains his cool modules :)


Cheers,
gregor
 
-- 
 .''`.   http://info.comodo.priv.at/ -- GPG key IDs: 0x8649AA06, 0x00F3CFE4
 : :' :  Debian GNU/Linux user, admin, & developer - http://www.debian.org/
 `. `'   Member of VIBE!AT & SPI, fellow of Free Software Foundation Europe
   `-    NP: Phil Collins: Just Another Story

Attachment: signature.asc
Description: Digital signature


Reply to: