Bug 6636 - [mupdf] Installation conflict with poppler
Summary: [mupdf] Installation conflict with poppler
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 2
Hardware: All Linux
Priority: Normal major
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: mga2-64-OK, MGA2-32-OK,
Keywords: validated_update
Depends on:
Blocks:
 
Reported: 2012-06-30 13:08 CEST by Raphael Groner
Modified: 2012-07-10 18:29 CEST (History)
6 users (show)

See Also:
Source RPM: mupdf-0.9-3.mga2.i586
CVE:
Status comment:


Attachments

Description Raphael Groner 2012-06-30 13:08:04 CEST
Description of problem:
# LC_ALL=C urpmi mupdf
installing mupdf-0.9-3.mga2.i586.rpm from /var/cache/urpmi/rpms
Preparing...                     #############################################
Installation failed:	file /usr/bin/pdfinfo from install of mupdf-0.9-3.mga2.i586 conflicts with file from package poppler-0.20.1-3.mga3.i586


Version-Release number of selected component (if applicable):

poppler-0.20.1-3.mga3.i586
mupdf-0.9-3.mga2.i586

How reproducible:
yes

Steps to Reproduce:
1. urpmi mupdf
2.
3.
Comment 1 Malo Deniélou 2012-06-30 14:35:48 CEST
I fixed in Cauldron, but this is a valid bug in Mageia 2.

Status: NEW => ASSIGNED
CC: (none) => malo
Hardware: i586 => All
Version: Cauldron => 2
Assignee: bugsquad => malo
Source RPM: (none) => mupdf-0.9-3.mga2.i586

Comment 2 Raphael Groner 2012-06-30 15:30:10 CEST
Thanks for the quick fix. 

Works for me now in Cauldron: mupdf-1.0-1.mga3
If it continues to be important for Mageia 2, please clone this bug.

Status: ASSIGNED => RESOLVED
Version: 2 => Cauldron
Resolution: (none) => WORKSFORME

Comment 3 Malo Deniélou 2012-06-30 15:33:23 CEST
No need to clone it. we can just use the same bug report since it's the same bug. That's why I switched the version to Mageia 2. Please leave it like this. Other people will close it.

Status: RESOLVED => REOPENED
Version: Cauldron => 2
Resolution: WORKSFORME => (none)

Comment 4 Malo Deniélou 2012-06-30 15:44:33 CEST
Dear QA, could you test this package in updates_testing of Mageia 2? Thanks

Advisory:
========================

Updated mupdf package adds an explicit conflict with poppler: installation was failing because of a file conflict.

========================
Updated packages in core/updates_testing:
mupdf-0.9-3.1.mga2.src.rpm
========================

Status: REOPENED => ASSIGNED
Assignee: malo => qa-bugs

Comment 5 Jani Välimaa 2012-06-30 17:05:10 CEST
IMHO better solution would be renaming the binaries coming from mupdf so pkgs could co-exist.

CC: (none) => jani.valimaa

Comment 6 Jani Välimaa 2012-06-30 17:08:28 CEST
(In reply to comment #5)
> IMHO better solution would be renaming the binaries coming from mupdf so pkgs
> could co-exist.

You could use mu prefix in binaries starting with pdf like it's done in mupdf 1.0.
Comment 7 Raphael Groner 2012-06-30 17:21:44 CEST
(In reply to comment #6)
> (In reply to comment #5)
> > IMHO better solution would be renaming the binaries coming from mupdf so pkgs
> > could co-exist.
> 
> You could use mu prefix in binaries starting with pdf like it's done in mupdf
> 1.0.

Is that known to upstream development? I would not like a mageia only patch. 
There are some bugs open for pdfinfo especially, look at http://bugs.ghostscript.com/
Comment 8 Raphael Groner 2012-06-30 17:24:27 CEST
Another idea can be to split the mupdf package and separate pdfinfo of mupdf into a new package itself with a conflict to poppler. So, it's easier to handle for the dependency resolver.
Comment 9 Jani Välimaa 2012-06-30 17:30:55 CEST
Upstream mupdf 1.0 ships binaries starting with mupdf, it's not patched by Mageia.

See: http://git.ghostscript.com/?p=mupdf.git;a=commit;h=78e29456b051f41073d706ac7d3eb76bfa08b0ab
Comment 11 Malo Deniélou 2012-06-30 22:36:32 CEST
Yes, I can rename the binaries as in version 1.0. I should have thought about that. I'll do it.
Comment 12 Malo Deniélou 2012-06-30 23:37:29 CEST
Dear QA, could you test this package in updates_testing of Mageia 2? Thanks

Advisory:
========================

Updated mupdf package uses renamed executables to avoid a file conflict with poppler.

========================
Updated packages in core/updates_testing:
mupdf-0.9-3.2.mga2.src.rpm
========================
Comment 13 user7 2012-07-02 12:57:01 CEST
Testing on MGA2, i586.

CC: (none) => wassi

Comment 14 user7 2012-07-02 13:10:04 CEST
Testing complete on MGA2, i586.

I could reproduce the problem, the update fixes it:

Installing mupdf initally (without Core Updates Testing enabled) failed because of a file conflict with package poppler.

However, installing the package from Core Updates Testing worked without any problem, poppler and mupdf now peacefully coexist on my system and both work (I threw some random PDFs at both Okular (which uses poppler) as well as mupdf (it can be easily invoked from the command line using "mupdf sample.pdf")).

SRPM: mupdf-0.9-3.2.mga2.src.rpm

Whiteboard: (none) => MGA2-32-OK

Comment 15 Jani Välimaa 2012-07-02 16:03:44 CEST
Noticed one more thing, we need to rename man pages also.
Comment 16 Malo Deniélou 2012-07-02 16:26:54 CEST
Good catch. I'll provide a mupdf-0.9-3.3.mga2 ...
Comment 17 Malo Deniélou 2012-07-03 00:08:23 CEST
Dear QA, once again, could you test this package in updates_testing of Mageia 2? Thanks

Advisory:
========================

Updated mupdf package uses renamed executables to avoid a file conflict with
poppler.

========================
Updated packages in core/updates_testing:
mupdf-0.9-3.2.mga2.src.rpm
========================

Whiteboard: MGA2-32-OK => (none)

Comment 18 Malo Deniélou 2012-07-03 00:08:47 CEST
I mean mupdf-0.9-3.3.mga2.src.rpm of course :)
Comment 19 claire robinson 2012-07-03 11:59:30 CEST
Testing x86_64

Urpmq shows it is a leaf package so nothing else should need rebuilding for the renamed executables.

$ urpmq --whatrequires mupdf
lib64mupdf-devel
libmupdf-devel
mupdf

Checking for conflicts..

Before
------
$ urpmf --media Release mupdf lib64mupdf-devel | awk -F":" '{print $2}' | sort -u > mupdf.txt
$ urpmf poppler | awk -F":" '{print $2}' | sort -u > poppler.txt
$ comm -12 mupdf.txt poppler.txt 
/usr/bin/pdfinfo

After
-----
$ urpmf --media Testing mupdf lib64mupdf-devel | awk -F":" '{print $2}' | sort -u > mupdf.txt
$ urpmf poppler | awk -F":" '{print $2}' | sort -u > poppler.txt
$ comm -12 mupdf.txt poppler.txt

No results

$ mupdfinfo example.pdf
example.pdf:

PDF-1.4
Info object (40 0 R):
etc..

Testing complete x86_64 for mupdf-0.9-3.3.mga2.src.rpm

Whiteboard: (none) => mga2-64-OK

Comment 20 claire robinson 2012-07-03 14:49:49 CEST
Man pages also checked, thanks malo for reminding me. mupdfinfo doesn't have a man page but mupdf, mupdfclean, mupdfdraw and mupdfshow are all ok.
Comment 21 Tolhildan Karker 2012-07-04 21:21:24 CEST
Testing i586, MGA2.

mupdf 0.9-3.mga2 from core updates could not be installed, but when I activated core updates testing mupdf 0.9-3.3.mga2 was correctly installed. No poppler conflict, no man issue or anything else.

Status: ASSIGNED => NEW
CC: (none) => tolhildan_123

user7 2012-07-04 22:28:33 CEST

Whiteboard: mga2-64-OK => mga2-64-OK, MGA2-32-OK

Comment 22 Malo Deniélou 2012-07-05 15:53:02 CEST
Update validated.
Thanks.

Advisory:
--------------

Updated mupdf package uses renamed executables to avoid a file conflict with
poppler, which prevented installation.

http://bugs.mageia.org/show_bug.cgi?id=6636
--------------

SRPM: mupdf-0.9-3.3.mga2.src.rpm

Could sysadmin please push from core/updates_testing to core/updates.

Thank you!

Status: NEW => ASSIGNED
CC: (none) => sysadmin-bugs

Malo Deniélou 2012-07-05 15:53:57 CEST

Keywords: (none) => validated_update
Whiteboard: mga2-64-OK, MGA2-32-OK => mga2-64-OK, MGA2-32-OK,

Comment 23 Thomas Backlund 2012-07-10 18:29:18 CEST
Update pushed:
https://wiki.mageia.org/en/Support/Advisories/MGAA-2012-0111

Status: ASSIGNED => RESOLVED
CC: (none) => tmb
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.