Comment 3 for bug 769516

Revision history for this message
Christian Perrier (bubulle) wrote : Re: [Pytrainer-devel] [Bug 769516] Re: When I install (or remove) pyTrainer, firefox is also installed (or removed)

Quoting Bodsda (<email address hidden>):
> Firefox is listed as a dependency, I haven't dug through to find out why
> yet. The description confirms firefox gets installed with pytrainer, but
> can anyone confirm if it gets removed when removing pytrainer? I would
> imagine it doesn't due to many other dependencies, if that's the case
> then this is not a bug.

The dependency is "iceweasel|firefox|abrowser". Indeed, I wonder why
this dependency is there.

The changelog is unclear about this. It apparently got added when Fiz
Vazquez (CC'ed, please keep CC list) was maintaining the package for
Ubuntu (in a private repo?).

The reason is probably the same rationale than having
/usr/bin/pytrainer as a wrapper:

LD_LIBRARY_PATH=/usr/lib/firefox MOZILLA_FIVE_HOME=/usr/lib/firefox python /usr/bin/pytr

Other pytrainer Debian package maintainers, do you have a clue? I'm
tempted to drop that wrapper (it causes a lintian warning about not
having a manpage for "pytr"). I suspect the need to be able to use
some Firefox libraries but I'm not sure that such a hack is the right
way to do things.