Re: python-apt and conffile
On Mi, 2010-07-21 at 21:59 +0300, Afief Halumi wrote:
> Hello,
>
>
> I'm working on building an updater for our in-house systems(nothing
> fancy, change repositories, update, dist-upgrade and install some new
> packages)
>
>
> I am having trouble with not being able to handle packages that
> request some sort of information when they are installed/upgraded(like
> sun-java and accepting the license or gdm/kdm requesting that the user
> sets the default manager...) as well as the case when there is a
> conflict between existing configuration files and the ones the package
> provides.
>
>
> In the interface there is a conffile(self,old,new) function defined,
> but the documentation says nothing about how to use it(or if its
> return value is considered at all in the installation), and no hint at
> the case of the package requesting user input.
Why should it? It's a function for displaying progress, nothing else.
Debconf asks questions, not APT, so you can't answer questions using APT
progress handling.
--
Julian Andres Klode - Debian Developer, Ubuntu Member
See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.
Reply to: