Bug 1589486

Summary: Uninstallable due to missing dependencies
Product: [Fedora] Fedora EPEL Reporter: Anssi Johansson <rhbugs>
Component: atrilAssignee: Wolfgang Ulbrich <fedora>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel7CC: fedora, jtrutwin, ms, strobeck
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: atril-1.16.1-2.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-06-25 08:49:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Anssi Johansson 2018-06-10 06:21:08 UTC
Description of problem:
The old webkitgtk package which provided libwebkitgtk-1.0.so.0 and libjavascriptcoregtk-1.0.so.0 was recently removed from EPEL due to the package being unmaintained. This makes atril uninstallable. Perhaps this package should use the newer webkitgtk3.

Version-Release number of selected component (if applicable):
atril-1.16.1-1.el7.x86_64

How reproducible:
Always

Steps to Reproduce:
1. "yum install atril"

Actual results:
--> Finished Dependency Resolution
Error: Package: atril-1.16.1-1.el7.x86_64 (epel)
           Requires: libjavascriptcoregtk-1.0.so.0()(64bit)
Error: Package: atril-1.16.1-1.el7.x86_64 (epel)
           Requires: libwebkitgtk-1.0.so.0()(64bit)
Error: Package: atril-libs-1.16.1-1.el7.x86_64 (epel)
           Requires: libwebkitgtk-1.0.so.0()(64bit)

Expected results:
Package gets installed

Additional info:
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/S3VHBCPMPVZ3NBKR7FQZQE6HBUHVEZ3D/
https://bugzilla.redhat.com/show_bug.cgi?id=1375784

Comment 1 Wolfgang Ulbrich 2018-06-10 09:55:28 UTC
Why it works for me?

[root@localhost rave]# yum install atril atril-caja
Loaded plugins: auto-update-debuginfo, fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: centos.mirror.net-d-sign.de
 * epel: fedora.tu-chemnitz.de
 * epel-debuginfo: fedora.tu-chemnitz.de
 * extras: mirror.ratiokontakt.de
 * updates: centos.mirror.net-d-sign.de
Resolving Dependencies
--> Running transaction check
---> Package atril.x86_64 0:1.16.1-1.el7 will be installed
--> Processing Dependency: atril-libs(x86-64) = 1.16.1-1.el7 for package: atril-1.16.1-1.el7.x86_64
--> Processing Dependency: libatrilview.so.3()(64bit) for package: atril-1.16.1-1.el7.x86_64
--> Processing Dependency: libatrildocument.so.3()(64bit) for package: atril-1.16.1-1.el7.x86_64
---> Package atril-caja.x86_64 0:1.16.1-1.el7 will be installed
--> Running transaction check
---> Package atril-libs.x86_64 0:1.16.1-1.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package             Arch            Version                Repository     Size
================================================================================
Installing:
 atril               x86_64          1.16.1-1.el7           epel          1.0 M
 atril-caja          x86_64          1.16.1-1.el7           epel           19 k
Installing for dependencies:
 atril-libs          x86_64          1.16.1-1.el7           epel          330 k

Transaction Summary
================================================================================
Install  2 Packages (+1 Dependent package)

Total download size: 1.3 M
Installed size: 5.2 M
Is this ok [y/d/N]: y
Downloading packages:
(1/3): atril-1.16.1-1.el7.x86_64.rpm                       | 1.0 MB   00:00     
(2/3): atril-caja-1.16.1-1.el7.x86_64.rpm                  |  19 kB   00:00     
(3/3): atril-libs-1.16.1-1.el7.x86_64.rpm                  | 330 kB   00:00     
--------------------------------------------------------------------------------
Total                                              2.4 MB/s | 1.3 MB  00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : atril-libs-1.16.1-1.el7.x86_64                               1/3 
  Installing : atril-1.16.1-1.el7.x86_64                                    2/3 
  Installing : atril-caja-1.16.1-1.el7.x86_64                               3/3 
  Verifying  : atril-libs-1.16.1-1.el7.x86_64                               1/3 
  Verifying  : atril-caja-1.16.1-1.el7.x86_64                               2/3 
  Verifying  : atril-1.16.1-1.el7.x86_64                                    3/3 

Installed:
  atril.x86_64 0:1.16.1-1.el7          atril-caja.x86_64 0:1.16.1-1.el7         

Dependency Installed:
  atril-libs.x86_64 0:1.16.1-1.el7                                              

Complete!
[root@localhost rave]#

Comment 2 Wolfgang Ulbrich 2018-06-10 10:08:39 UTC
wtf, it seems to be removed.

[root@localhost rave]# yum reinstall webkitgtk            
Loaded plugins: auto-update-debuginfo, fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: ftp.rrzn.uni-hannover.de
 * epel: fedora.tu-chemnitz.de
 * epel-debuginfo: fedora.tu-chemnitz.de
 * extras: mirror.ratiokontakt.de
 * updates: ftp.halifax.rwth-aachen.de
Installed package webkitgtk-2.4.9-1.el7.x86_64 (from epel) not available.
Error: Nothing to do


Looks like you are a victim by ignorance of some packagers....
Removing something from a stable release is rude.

Comment 3 Anssi Johansson 2018-06-10 13:08:35 UTC
As I understand it, that branch was deprecated upstream in March 2013, and people were supposed to migrate to something newer. RHEL/CentOS 7 have webkitgtk3 and webkitgtk4 now, for instance. The reason why webkitgtk was removed from EPEL was (as far as I know) that it had accumulated enough unfixed security vulnerabilities.

Like it or not, webkitgtk is gone. If it is not feasible to change atril to use a newer webkitgtk or to compile atril without support for webkit, atril needs to be removed from EPEL7.

I filed this bug because the broken dependency showed up yesterday in my automatic EPEL broken dependency checker script. You, as a package maintainer, can decide how you want to proceed, given this situation.

Comment 4 Wolfgang Ulbrich 2018-06-10 14:26:27 UTC
What i don't like is that gnome guys don't think about consequence for other applications than gnome apps, and that nobody sends me donation to fix their questionable decisions.

I can't use webkitgtk4 because that means to switch atril to gtk3. But atril depends on caja and i have any plan to switch the whole MATE desktop to gtk3 during a stable release cycle.

So , i have to build atril without webkit libs for epel7,
......... good bye epub support......

Comment 5 Wolfgang Ulbrich 2018-06-10 14:28:25 UTC
error, i meant i don't have any plan to switch whole the MATE desktop to gtk3 during a stable release cycle.

Comment 6 Fedora Update System 2018-06-10 15:22:37 UTC
atril-1.16.1-2.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-6da8392ecc

Comment 7 Fedora Update System 2018-06-10 18:43:15 UTC
atril-1.16.1-2.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-6da8392ecc

Comment 8 Josh Trutwin 2018-06-12 15:03:21 UTC
Ran into this issue when attempting to run:

yum groups install MATE

Verified that running:

yum enablerepo=epel-testing install atril

Installs atril cleanly and fixes the MATE install problem.  Thanks

Comment 9 Tim S 2018-06-13 19:53:49 UTC
Josh got us almost there.  My coworker fixed the issue this way:

yum --enablerepo=epel-testing install atril atril-caja

This fixed the dependencies issue and allowed MATE to install correctly.

Comment 10 Josh Trutwin 2018-06-14 19:26:55 UTC
My bad!  yes atril-caja has a similar dependency problem.

Comment 11 Fedora Update System 2018-06-25 08:49:17 UTC
atril-1.16.1-2.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.