[packagekit] Debconf Integration
Sebastian Heinlein
glatzor at ubuntu.com
Sun Nov 30 07:05:36 PST 2008
Hello,
so here is a rough idea for an integration:
Target only the config script questions and not the ones which are
located in other maintainer scripts only (e.g. postinst or postrm).
After downloading all packages, dpkg-preconfigure gets called with a not
yet written debconf frontend, which can communicate with the apt
backend. For the actual installing/removing the non interactive debconf
frontend will be used again.
If input is required by the user the backend will emit a
ConfigurationRequired signal and will exit the current transaction with
PK_EXIT_ENUM_CONFIGURATION_REQUIRED. The debconf question types error
and note would be treated in a special way: error would emit an
ErrorCode signal and note a Message.
Furthermore PackageKit and the apt backend need a Configure method which
would allow to store the values in the debconf database.
ConfigurationRequired signal:
config_id
package_id
type (string, boolean, select, multiselect)
choices (a string array of options for select and multiselect)
description
title
Configure method:
config_id
value
Josselin, do you know anybody who would like to work on the debconf
frontend?
Cheers,
Sebastian
More information about the PackageKit
mailing list