Bug 219033

Summary: poppler-utils update conflcts with the current xpdf-utils
Product: [Fedora] Fedora Reporter: Michal Jaegermann <michal>
Component: popplerAssignee: Kristian Høgsberg <krh>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6CC: covex, deknuydt, fortran, haakon, herrold, redhat, robatino, russell, zing
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-03-02 03:49:21 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michal Jaegermann 2006-12-09 17:47:30 UTC
Description of problem:

poppler-utils-0.5.4-3.fc7 conflict with the current xpdf-utils
from extras (with xpdf which has dependency on xpdf-utils).
Should poppler-utils explicitely obsolete xpdf-utils or should
be that left solely to an xpdf update?

See also bug 219032.

Version-Release number of selected component (if applicable):
poppler-0.5.4-3.fc7

Comment 1 Michal Jaegermann 2006-12-13 21:43:03 UTC
Sigh!  And after all discussions in bug 219032 we end up in FC6 with:

Transaction Check Error:   file /usr/bin/pdftoppm from install of
poppler-utils-0.5.4-3.fc6 conflicts with file from package xpdf-utils-3.01-26.fc6
  file /usr/share/man/man1/pdftoppm.1.gz from install of
poppler-utils-0.5.4-3.fc6 conflicts with file from package xpdf-utils-3.01-26.fc6

Why these "obsoletes" and "provides" could not be added in a spec file?

Comment 2 Fedora Update System 2006-12-14 16:29:13 UTC
poppler-0.5.4-4.fc6 has been pushed for fc6, which should resolve this issue.  If these problems are still present in this version, then please make note of it in this bug report.

Comment 3 Adam Pribyl 2006-12-14 18:11:00 UTC
yum --enablerepo=updates-testing update poppler-utils poppler poppler-qt

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size 
=============================================================================
Updating:
 poppler                 x86_64     0.5.4-4.fc6      updates-testing   3.0 M
 poppler-qt              x86_64     0.5.4-4.fc6      updates-testing    29 k
 poppler-utils           x86_64     0.5.4-4.fc6      updates-testing    77 k
Updating for dependencies:
 poppler-devel           x86_64     0.5.4-4.fc6      updates-testing    34 k

Transaction Check Error:   file /usr/bin/pdftoppm from install of
poppler-utils-0.5.4-4.fc6 conflicts with file from package xpdf-utils-3.01-26.fc6
  file /usr/share/man/man1/pdftoppm.1.gz from install of
poppler-utils-0.5.4-4.fc6 conflicts with file from package xpdf-utils-3.01-26.fc6

??

Comment 4 Michal Jaegermann 2006-12-14 20:03:38 UTC
Sigh!  This is rpm which is tripping despite of explicit obsoletes
and provides.  Here is a fragment with from an output of
'rpm -Fvh --test -v poppler*0.5.4-4.fc6*':
...
D: opening  db index       /var/lib/rpm/Basenames rdonly mode=0x0
########################################### [100%]
        file /usr/bin/pdftoppm from install of poppler-utils-0.5.4-4.fc6
conflicts with file from package xpdf-utils-3.01-26.fc6
        file /usr/share/man/man1/pdftoppm.1.gz from install of
poppler-utils-0.5.4-4.fc6 conflicts with file from package xpdf-utils-3.01-26.fc6
D: closed   db index       /var/lib/rpm/Pubkeys
...

OTOH after 'rpm -e --nodeps xpdf-utils' not only yum does not have
any problems but 'rpm -V xpdf', after an update, is also happy.
It seems that without an update for 'xpdf', with obsoletes and changed
requires there, this will not work without a manual intervention.
Maybe I am wrong?

Comment 5 Fedora Update System 2006-12-15 16:57:37 UTC
poppler-0.5.4-5.fc6 has been pushed for fc6, which should resolve this issue.  If these problems are still present in this version, then please make note of it in this bug report.

Comment 6 Matt Wette 2006-12-16 16:42:05 UTC
This is not working for me.  I removed xpdf-utils to remove the conflict
but now I can't update xpdf.  I think I need to pick either xpdf or poppler
and remove the other! Bummer.

Comment 7 Matt Wette 2006-12-16 16:45:20 UTC
xpdf depends on poppler, so "rpm -e --nodeps poppler poppler-utils" did not work.
I am currently stuck with unmanageable update situation.  Please fix this.  Thx.

Comment 8 Matthias Clasen 2006-12-19 19:34:04 UTC
well, xpdf requires xpdf-utils, which is now provided by poppler-utils, so a
yum upgrade should work.

Comment 9 Matt Thompson 2006-12-19 20:41:39 UTC
The new xpdf with a requires on poppler-utils allowed me to "yum remove
xpdf-utils" and then "yum update poppler*".

I couldn't get a generic "yum upgrade" or "yum update" to do it as the
transaction check or whatever still borked.

Comment 10 Tom "spot" Callaway 2006-12-19 23:09:27 UTC
Correction: xpdf now requires: poppler-utils.

Comment 11 Andre Robatino 2006-12-20 04:48:40 UTC
  The current version of poppler-utils doesn't obsolete xpdf-utils, as I had
xpdf-utils installed and had to remove it manually before being allowed to
update poppler-utils.  As I understand it this should have happened automatically.

Comment 12 Adam Pribyl 2006-12-20 09:19:39 UTC
There is still poppler-utils-0.5.4-3.fc6 in updates, probably the
poppler-0.5.4-5.fc6 should be pushed "more".:)

Comment 13 Adam Pribyl 2006-12-20 09:54:59 UTC
yum upgrade --enablerepo=updates-testing poppler-utils
works now

Comment 14 Fedora Update System 2006-12-20 21:33:29 UTC
poppler-0.5.4-5.fc6 has been pushed for fc6, which should resolve this issue.  If these problems are still present in this version, then please make note of it in this bug report.