Outils pour utilisateurs

Outils du site


doc:dak:installation_de_dak_sur_ondine

Ceci est une ancienne révision du document !


Installation de dak

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.

Installations

Installation de dak

# 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 

Réponses aux questions debconf

J'essaie de suivre au maximum les choix par défaut.

Where to put the base directory for dak?
/opt/dak
Nom d'hôte de l'archive :
localhost.localdomain

NB : c'est nécessaire, en l'absence de domaine perso, pour que rose fonctionne bien.

Nom de votre archive :
archive FDL (ondine)
The name of your dak user.
deb-dak

NB : L'utilisation d'un tiret nécessite d'être précautionneux avec postgresql.

The name of your dak group.
debadmin

NB : Il ne demande rien sur le groupe debuser.

Résultat

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

Installation de postgresql

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 

Désinstallations

Désinstallation de dak

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
doc/dak/installation_de_dak_sur_ondine.1123073461.txt.gz · Dernière modification: 2005/08/03 14:55 (modification externe)