> Hi,
>
> Olivier Berger wrote:
>
>> # ls -l /usr/lib/cgi-bin/gitweb.cgi 
>> lrwxrwxrwx 1 root root 29 Jun  8 13:48 /usr/lib/cgi-bin/gitweb.cgi -> 
>> ../../share/gitweb/gitweb.cgi
>>
>> but :
>> # cat /usr/lib/cgi-bin/gitweb.cgi
>> cat: /usr/lib/cgi-bin/gitweb.cgi: No such file or directory
> [...]
>> # dpkg -L git | grep gitweb.cgi
>> /usr/share/gitweb/gitweb.cgi
>
> Weird.  This means your installation of git is broken.
>
>> So... I suspect that adding gitweb which requires git, then removing
>> gitweb can lead to such a situation...
>
> git has "Replaces: gitweb (<< 1:1.7.4~rc1)", so after unpacking git,
> that file is not owned by the gitweb package any more. So I'm not
> sure how your copy of gitweb.cgi was removed.
>
> Ideas?
>

I'm not sure and will try to clarify this by trying to reproduce.

Note I was "playing" with the fusionforge-plugin-scmgit package at the
same time, which wraps gitweb so that the git repos of fusionforge
projects can be browsed on the web.

Maybe the problem is actually in the fusionforge plugin. I'm afraid
there hasn't been enough coordination between fusionforge maintainers
and gitweb's :-/

However, I'm a bit curious about that Replaces statement, and more
generally about the fact that most useful files of gitweb are part of
the git package. My naive assumptions would be that the perl parts which
are platform independant can be part of the gitweb binary package, also
the /usr/share/gitweb contents would be part of gitweb and not git, in a
usual manner... but maybe I've overlooked some parts of the issues.

Thanks in advance.

Best regards,

-- 
Olivier BERGER 
http://www-public.it-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8
Ingenieur Recherche - Dept INF
Institut Mines-Telecom, Telecom SudParis, Evry (France)


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to