Hello All:

This bug is really not for xournal as far as I can tell. Nevertheless, I am not sure how it is to be solved. Therefore, I am including the maintainers of xpdf and poppler. Let me summarize:

poppler-utils contains, among others, "pdftoppm".

xpdf-utils contains a subset of the executables contained in poppler-utils, but NOT "pdftoppm".

xpdf-utils says it conflicts, replaces and provides poppler-utils but it cannot as it does not contain all of the same executables as poppler-utils, notably, it is missing "pdftoppm", "pdftoabw", and "pdftohtml". Consequently, any package which depends on poppler-utils might not function properly if xpdf-utils is installed instead.

xpdf-reader contains "pdftoppm" so if it is installed along with poppler-utils, this executable will belong only to the last one installed. This can cause a problem for a program like xournal, which needs "pdftoppm".

One of the worst cases would go something like this:

1. xournal is installed on a system where xpdf-reader is already installed but xpdf-utils is not. It pulls in poppler-utils, which replaces the 'pdftoppm" in xpdf-reader with its own.

2. For some reason, xpdf-utils is installed. Since it provides poppler-utils but also conflicts with it, poppler-utils is removed but that is OK with dpkg because xpdf-utils claims to provide poppler-utils.

3. Now there is no version of "pdftoppm" installed as it was owned by poppler-utils which is now uninstalled. This means xournal is unable to work with PDF files. This can only be fixed by reinstalling xpdf-reader.

as the new maintainer of xournal, I am not sure how to proceed. I could drop the dependency on poppler-utils and have only a dependency on xpdf-reader but I cannot really put a conflicts with poppler-utils (wouldn't it?) because that would also prevent the installtion of xpdf-utils, which should be possible to have intalled with xpdf-reader.

At this point, xournal works with either version of "pdftoppm" so there is no real preference for having poppler-utils installed over xpdf-reader. I am thinking that the correct next steps would be as follows:

 * Make xournal depend on xpdf-reader ONLY.

* Figure out a way to resolve the conflicts between poppler-utils and the xpdf-reader/xpdf-utils combination. It seems to me that a diversion would be the best solution here. Either poppler-utils or xpdf-reader could set up a diversion for "pdftoppm" so that the other won't replace it. In addition, I think that xpdf-utils should not provide poppler-utils unless it also depends on xpdf-reader. This is not completely correct though since poppler-utils has three other programs (see above) that are not in xpdf-utils.

Carlo

--
Carlo U. Segre -- Professor of Physics
Associate Dean for Special Projects, Graduate College
Illinois Institute of Technology
Voice: 312.567.3498            Fax: 312.567.3494
se...@iit.edu   http://www.iit.edu/~segre   se...@debian.org



--
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