Ceci est une ancienne révision du document !
Notes de mon installation de dak sur ondine (d'après plusieurs journaux de telles installations).
Ondine est une machine de test en sarge.
Je suis la procédure du /usr/share/doc/dak/README.Debian dont j'ai aussi fait une traduction française.
# aptitude install dak
Les NOUVEAUX paquets suivants vont être installés : dak libpq3 python-apt python-egenix-mxdatetime python-gnupginterface python-ldap python-pygresql python2.3-egenix-mxdatetime python2.3-egenix-mxtools python2.3-ldap python2.3-pygresql sudo
J'essaie de suivre au maximum les choix par défaut.
/opt/dak
localhost.localdomain
NB : c'est nécessaire, en l'absence de domaine perso, pour que rose fonctionne bien.
archive FDL (ondine)
deb-dak
NB : L'utilisation d'un tiret nécessite d'être précautionneux avec postgresql.
debadmin
NB : Il ne demande rien sur le groupe debuser.
Paramétrage de dak (1.0-8) ... Domain: localhost.localdomain Creating/updating dak user account and group... Adding group `debadmin' (105)... Fait. Ajout de l'utilisateur système deb-dak... Adding new user `deb-dak' (104) with group `debadmin'. Création du répertoire personnel /var/lib/dak. Creating config file /opt/dak/katie/apt.conf with new version Creating config file /opt/dak/katie/cron.unchecked with new version Creating config file /opt/dak/katie/katie.conf with new version Creating config file /etc/katie/katie.conf with new version Creating config file /opt/dak/katie/vars with new version Creating config file /opt/dak/katie/Contents.top with new version Creating config file /opt/dak/katie/templates/alicia.bug-close with new version Creating config file /opt/dak/katie/templates/amber.advisory with new version Creating config file /opt/dak/katie/templates/jennifer.accepted with new version Creating config file /opt/dak/katie/templates/jennifer.announce with new version Creating config file /opt/dak/katie/templates/jennifer.bug-close with new version Creating config file /opt/dak/katie/templates/jennifer.bug-experimental-fixed with new version Creating config file /opt/dak/katie/templates/jennifer.bug-nmu-fixed with new version Creating config file /opt/dak/katie/templates/jennifer.new with new version Creating config file /opt/dak/katie/templates/jennifer.override-disparity with new version Creating config file /opt/dak/katie/templates/katie.rejected with new version Creating config file /opt/dak/katie/templates/kelly.installed with new version Creating config file /opt/dak/katie/templates/kelly.unaccept with new version Creating config file /opt/dak/katie/templates/lauren.stable-rejected with new version Creating config file /opt/dak/katie/templates/lisa.bxa_notification with new version Creating config file /opt/dak/katie/templates/lisa.prod with new version Creating config file /opt/dak/katie/templates/melanie.bug-close with new version Creating config file /opt/dak/katie/templates/uma.added with new version
Je suis :
6. Steps to a working dak ------------------------- a. Have your postgresql up and running. I assume it is on the localhost, if not change your config files (katie.conf) for dak.
# aptitude install postgresql
Les NOUVEAUX paquets suivants vont être installés : postgresql postgresql-client
Avec les ajouts nécessaires pour contourner l'anomalie de dak dans sarge (avec les valeurs de debconf par défaut).
# aptitude purge dak
Pour virer les configurations oubliées par l'anomalie :
# ucf --purge /opt/dak/katie/apt.conf # ucf --purge /opt/dak/katie/cron.unchecked # ucf --purge /opt/dak/katie/katie.conf # ucf --purge /etc/katie/katie.conf # ucf --purge /opt/dak/katie/vars # ucf --purge /opt/dak/katie/Contents.top
Pour faire le propre :
# rm -r /etc/katie
(attention, ci-dessous c'est toute l'archive que le mainteneur a fait exprès de laisser)
# rm -r /opt/dak
Penser à virer le crontab de deb-dak si on a mis quelque chose dedans.
Pour aussi virer les utilisateur et groupe créés.
# deluser deb-dak # delgroup debadmin
et s'il a été créé :
# delgroup debuser