Package: gitolite Version: 1.5.4-2 Severity: normal
Hello, I have the same problem as Sebastian. I can add that this is not related with a pre-existing gitolite account: this occurs on a clean install too. Worse: when running dpkg-reconfigure gitolite, the debconf entry gitolite/gitdir is not taken into account. More precisely, debconf asks for a directory for repositories but, whatever is input at this stage (e.g. /srv/gitolite), the install goes on installing repositories in /var/lib/gitolite (although it creates an empty dir /srv/gitolite). The only way I found to circumvent this was to set debconf priority to low, then install the package, so that the directory for repositories is set before the install. It turns out this also fails at first: even when providing an admin key, the install fails with "No adminkey given - not initializing gitolite in /srv/gitolite." Running dpkg-reconfigure gitolite, keeping the same gitdir and giving the key again finally allows to complete the installation. This third problem is independent from the other ones (in particular it also occurs if gitolite/gitdir is left at its default value). In the current broken state, a roadmap to install the package is the following one: * install with 'DEBIAN_PRIORITY=low aptitude install gitolite' and enter the correct parameters ; * the post-install script complains at first ; * run 'dpkg-reconfigure gitolite' and enter the same parameters. There are two bugs at least: * gitolite/adminkey is not taken into account the first time ; * changing the value of gitolite/gitdir is not handled properly (it particular this prevents later uses of 'dpkg-reconfigure gitolite' from creating new gitolite setups). The fact that gitolite debconf entries have a low priority might not be bug per se (one may claim the normal way of using gitolite is to run gl-setup as a normal user) but /usr/share/doc/gitolite/README.Debian says otherwise: either the priority should be raised or README.Debian file should be amended. -- System Information: Debian Release: 6.0 APT prefers squeeze-updates APT policy: (500, 'squeeze-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/8 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages gitolite depends on: ii adduser 3.112+nmu2 add and remove users and groups ii debconf [debconf-2.0] 1.5.36.1 Debian configuration management sy ii git [git-core] 1:1.7.2.3-2.2 fast, scalable, distributed revisi ii openssh-server [ssh-server 1:5.5p1-6 secure shell (SSH) server, for sec ii perl 5.10.1-17 Larry Wall's Practical Extraction gitolite recommends no packages. Versions of packages gitolite suggests: pn git-daemon-run <none> (no description available) pn gitweb <none> (no description available) -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org