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.

Installation

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.

Action souhaitée pour katie.conf :

Le fichier de configuration /opt/dak/katie/katie.conf présent dans l'ancien paquet et celui dans le nouveau paquet diffèrent. D'autre part, votre version actuelle est aussi différente de celle fournie par l'ancien paquet, ce qui signifie que vous (ou un script) l'avez modifiée.

Je me demande pourquoi il me pose cette question. Une anomalie ? Une machine mal nettoyée de mes essais précédents ?

Installer la version du responsable du paquet

Idem pour … (raté) et Contents.top.

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.
Not replacing deleted config file /opt/dak/katie/apt.conf
Not replacing deleted config file /opt/dak/katie/cron.unchecked
Replacing config file /opt/dak/katie/katie.conf with new version
Replacing config file /etc/katie/katie.conf with new version
Not replacing deleted config file /opt/dak/katie/vars
Replacing 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

C'est donc probablement un problème de nettoyage (ou une anomalie dans les commandes de désinstallation), car les 3 fichiers signalés sont bien manquants.

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

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.1123071435.txt.gz · Dernière modification: 2005/08/03 14:19 (modification externe)