# Appstream Libraw too old for EPEL ImageMagick

**URL:** <https://forums.rockylinux.org/t/appstream-libraw-too-old-for-epel-imagemagick/13952>\
**Category:** Rocky Linux Help & Support\
**Tags:** rocky-linux-9\
**Created:** [May 9, 2024, 9:42am UTC](https://forums.rockylinux.org/t/appstream-libraw-too-old-for-epel-imagemagick/13952 "2024-05-09T09:42:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![stuts](https://avatars.discourse-cdn.com/v4/letter/s/f475e1/32.png) [@stuts](https://forums.rockylinux.org/u/stuts)\
**Post date:** [May 9, 2024, 9:42am UTC](https://forums.rockylinux.org/t/appstream-libraw-too-old-for-epel-imagemagick/13952/1 "2024-05-09T09:42:16Z")

</div>

I am experiencing a similar issue to [this thread of the same name](https://forums.rockylinux.org/t/libraw-related-update-failure-of-imagemagick/11706/1) however I do _not_ have `epel-next` installed or enabled:

```bash
[root@sfimg1 ~]# dnf repolist
repo id repo name
appstream Rocky Linux 9 - AppStream
baseos Rocky Linux 9 - BaseOS
epel Extra Packages for Enterprise Linux 9 - x86_64
epel-cisco-openh264 Extra Packages for Enterprise Linux 9 openh264 (From Cisco) - x86_64
extras Rocky Linux 9 - Extras

[root@sfimg1 ~]# dnf install ImageMagick
Extra Packages for Enterprise Linux 9 - x86_64 7.5 MB/s | 21 MB 00:02
Extra Packages for Enterprise Linux 9 openh264 (From Cisco) - x86_64 1.4 kB/s | 2.5 kB 00:01
Error:
 Problem: package ImageMagick-6.9.12.93-2.el9.x86_64 from epel requires libMagickCore-6.Q16.so.7()(64bit), but none of the providers can be installed
  - package ImageMagick-6.9.12.93-2.el9.x86_64 from epel requires libMagickWand-6.Q16.so.7()(64bit), but none of the providers can be installed
  - package ImageMagick-6.9.12.93-2.el9.x86_64 from epel requires ImageMagick-libs(x86-64) = 6.9.12.93-2.el9, but none of the providers can be installed
  - conflicting requests
  - nothing provides libraw_r.so.23()(64bit) needed by ImageMagick-libs-6.9.12.93-2.el9.x86_64 from epel
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

```

The version of `LibRaw` in the Rocky `appstream` repository is a few minor versions behind that which ImageMagick requires:

```bash
[root@sfimg1 ~]# dnf whatprovides "*/libraw_r.so.2*"
Last metadata expiration check: 0:02:01 ago on Thu May 9 09:29:21 2024.
LibRaw-0.20.2-6.el9.i686 : Library for reading RAW files obtained from digital photo cameras
Repo : appstream
Matched from:
Filename : /usr/lib/libraw_r.so.20
Filename : /usr/lib/libraw_r.so.20.0.0

LibRaw-0.20.2-6.el9.x86_64 : Library for reading RAW files obtained from digital photo cameras
Repo : appstream
Matched from:
Filename : /usr/lib64/libraw_r.so.20
Filename : /usr/lib64/libraw_r.so.20.0.0

```

I was wondering if I’d just been running my builds at the wrong time (wouldn’t be the first time I’ve tried to spin a build while upstream repos are changing!) but I’ve tried on-and-off for the last 48 hours and haven’t had any success.

This can be worked around by installing `LibRaw` from the CentOS 9 Stream repositories, e.g:

```bash
dnf install ImageMagick https://mirror.stream.centos.org/9-stream/AppStream/x86_64/os/Packages/LibRaw-0.21.1-1.el9.x86_64.rpm

```

Steps to reproduce:

- Launch Rocky Linux 9.3 image
- Ensure up to date (`dnf update`)
- Reboot
- Install epel-release (`dnf install epel-release`)
- Install ImageMagick (`dnf install ImageMagick`)
- Have also tried with `crb` repo enabled (and cache cleaned & recreated in dnf) which makes no difference

---

<div class="post-metadata">

**Author:** ![iwalker](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/iwalker/32/2599_2.png) [@iwalker](https://forums.rockylinux.org/u/iwalker)\
**Post date:** [May 9, 2024, 10:58am UTC](https://forums.rockylinux.org/t/appstream-libraw-too-old-for-epel-imagemagick/13952/2 "2024-05-09T10:58:49Z")

</div>

Most likely because RHEL already released 9.4 and EPEL is slightly ahead right now as built against that. Rocky 9.4 will be released soon which will resolve the problem. Until then wait until Rocky 9.4 is released, and then update/install the appropriate packages.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/rockylinux/original/1X/91b7219eec10e30013422e4df76c1d898711a5d5.svg) [@system](https://forums.rockylinux.org/u/system)\
**Post date:** [July 8, 2024, 10:59am UTC](https://forums.rockylinux.org/t/appstream-libraw-too-old-for-epel-imagemagick/13952/3 "2024-07-08T10:59:17Z")

</div>

Closed on July 8, 2024, 10:59am UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
