On Sat, Feb 14, 2015 at 3:25 PM, kamaraju kusumanchi
wrote:
>> Alternatively there is apt-show-versions.
>>
>> $ apt-show-versions xterm
>> xterm:amd64/testing 312-1 uptodate
>>
>> If there were a newer version available it would show "upgradeable 312-1"
>> or some such newer version number in
> Alternatively there is apt-show-versions.
>
> $ apt-show-versions xterm
> xterm:amd64/testing 312-1 uptodate
>
> If there were a newer version available it would show "upgradeable 312-1"
> or some such newer version number instead of "uptodate".
>
This works for me. I can use the backticks `
kamaraju kusumanchi wrote:
> 1) How do I check if a newer version of a package is available from a
> perl script?
I vaguely remember there to be a perl module interface available for
such queries. That might be the "best way" from perl. I don't know
it though so will tell you what I would do.
>
On Sat, 14 Feb 2015, kamaraju kusumanchi wrote:
> 1) How do I check if a newer version of a package is available from a
> perl script?
I'm not sure there but my guess would be to use one of the CPAN modules
related to APT, perhaps Linux::APT
> 2) Generalizing the previous question, is there any
4 matches
Mail list logo