[packagekit] Debconf and PackageKit Was Re: Packagekit and Ubuntu
hughsient at gmail.com
Mon Nov 23 08:17:37 PST 2009
2009/11/23 James Westby <jw+debian at jameswestby.net>:
> That may be the case, could you propose an alternative arrangement
> that avoids it? How else does the backend know which client to send
> the requests to?
Well, the aptBackend.py gets set an environment variable -- surely use that?
> That would be possible. I guess these hints can't change in the course
> of a transaction?
In PackageKit they can (but hardly ever do), but of course envp
variables cannot change.
> If the environment says that the user is not watching then the dbus
> debconf frontend can just force non-interactive. The system proposed
> here also allows the user to log out when their transaction is running
> and nothing breaks, but I'm not sure that PackageKit allows this anyway.
Sure, you can logout with PackageKit, the backend just continues running.
More information about the PackageKit