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

Re: Perl interface to APT



On Thu, Mar 11, 2004 at 10:18:29AM +0530 or thereabouts, Rajkumar S wrote:
> Hi,
> 
> I want to write a program that will make a web page with a list of all 
> packages that needs to be updated on a particular debian box. I do 
> apt-get update every night from cron, and wants to have access to the 
> apt-get -u upgrade from a web page, for all my servers, in a single 
> page. I am lazy and do not want to ssh into every one of them looking 
> for upgrades and certainly do not want to upgrade automatically or miss 
> an important upgrade.
> 
> I did not find any program that does this, so decided to roll my own. 
> Looking for programing info about apt, I found libapt-pkg-perl. But no 
> docs about it.

Webmin will do this with the packages module installed. I actually got
webmin from the source, and compiled it. I started doing this when using
Woody, because the Woody version wasn't as up-to-date as I personally
liked. Why re-invent the wheel, when this functionality already exists?
Unless of course it's an intellectual exercise, that I can understand.
:)


-- 
Steve
+++++++++++++++++++++++++++++++++++++++++++++
  Thursday Mar 11 2004 09:53:01 AM EST
+++++++++++++++++++++++++++++++++++++++++++++
Hyperlinks are the GOTOs of the '90s.
                -- Vincent van Gui

Attachment: pgpH9s_S9M8ad.pgp
Description: PGP signature


Reply to: