Re: Debconf and PackageKit

2009-10-08 Thread Daniel Nicoletti
Hi again, now aptcc backend install/remove/update things in noninteractive mode, and following Josselin Mouette advices I'm planning to write a DBus frontend to debconf that will emit a signal when it needs a Session frontend to be attached. I created a sequence diagram to ilustrate what i'm plan

Re: Debconf and PackageKit

2009-10-06 Thread Daniel Nicoletti
I don't know if there is a better list to ask this question but as people here know dpkg well i'd like to know if there is some way of telling it to use another fd as stdin, I have done the following code to handle answering to conffile prompts but it works some times and other times it doesn't...

Re: Debconf and PackageKit

2009-10-01 Thread Daniel Nicoletti
Hey Josselin, > De: Josselin Mouette > > > > This solution is not implemented as I don't know debconf verry well > > > > but there is one problem that I'd like to know if there is a already a > > > > way > > > > to deal with this: > > > > when aptcc backend starts installing packages it's status

Re: Debconf and PackageKit

2009-09-29 Thread Daniel Nicoletti
> De: Josselin Mouette > Le mardi 29 septembre 2009 à 11:37 -0700, Daniel Nicoletti a écrit : > > > Currently, the question will simply be ignored, the frontend being set > > > to noninteractive when there is no TTY nor display available. > > The hard work imo will b

Re: Debconf and PackageKit

2009-09-29 Thread Daniel Nicoletti
> De: Josselin Mouette > Currently, the question will simply be ignored, the frontend being set > to noninteractive when there is no TTY nor display available. The hard work imo will be if i start in an interactive mode (in the backend) but when a question needs to popup the user loged out and i n

Res: Debconf and PackageKit

2009-09-29 Thread Daniel Nicoletti
> De: Julien Cristau > > >>>This solution is not implemented as I don't know debconf verry well > > but there is one problem that I'd like to know if there is a already a way > > to deal with this: > > when aptcc backend starts installing packages it's status are in a fd > > which might be locali

Debconf and PackageKit

2009-09-29 Thread Daniel Nicoletti
Hi, following pusling advice I'd like to explain the issues involved in this subject and a proposed solution. If you don't know anything about PackageKit it might be interesting to look at www.packagekit.org. I started to contribute to PackageKit willing to have it working on the system I use (Deb