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

Re: Prompt to install missing software?



At some point, the gnome-system-tools package did this in the
time-admin application for ntp.  I can't confirm if it still works the
same way, since the UI appears to have changed in feisty, but I would
assume so.  You should try it with a fresh image of feisty, open
time-admin (try to set the time, basically) and tell it to use ntp, it
should automatically try to install it.  I suggest grabbing the source
package and figuring out how they did it.  You could also look into
the update manager or the app installer in Ubuntu, they both appear to
launch Synaptic or something to perform installs for them.

On 5/27/07, John Pye <john@curioussymbols.com> wrote:
Hi all,

I have a PyGTK-based program that has an optional dependency on the
package python-matplotlib.

Is there any way under Debian (and hopefully also Ubuntu) that I can
trigger gtk-debi or something like that when the user requests to use
the part of my program that depends on stuff they haven't installed yet?
What would be the best way of doing that from python, if such a thing
exists?

I believe I have seen this used somewhere but I don't know how it was done.

Cheers
JP


--
To UNSUBSCRIBE, email to debian-mentors-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org





Reply to: