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

python-apt and conffile



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.

Could you point me in the right direction?

Thanks in advance,
Afief

Reply to: