# Unable to install a rpm on Rocky 8

**URL:** <https://forums.rockylinux.org/t/unable-to-install-a-rpm-on-rocky-8/13018>\
**Category:** Rocky Linux Help & Support\
**Tags:** rocky-linux-8\
**Created:** [February 27, 2024, 4:31pm UTC](https://forums.rockylinux.org/t/unable-to-install-a-rpm-on-rocky-8/13018 "2024-02-27T16:31:53Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![nkmadala](https://avatars.discourse-cdn.com/v4/letter/n/da6949/32.png) [@nkmadala](https://forums.rockylinux.org/u/nkmadala)\
**Post date:** [February 27, 2024, 4:31pm UTC](https://forums.rockylinux.org/t/unable-to-install-a-rpm-on-rocky-8/13018/1 "2024-02-27T16:31:53Z")

</div>

Hi Team,

I have recently migrated to Rocky 8 and have been trying to install an inhouse built rpm. When I run `dnf install my-package.rpm`, I see the below error.

```auto
Error: 
 Problem: conflicting requests
  - nothing provides libperl.so()(64bit) needed by qumu-videonet-edge-centos-8.0.401-1.noarch from @commandline
  - nothing provides librpm.so.3()(64bit) needed by qumu-videonet-edge-centos-8.0.401-1.noarch from @commandline
  - nothing provides librpmio.so.3()(64bit) needed by qumu-videonet-edge-centos-8.0.401-1.noarch from @commandline
  - nothing provides libwrap.so.0()(64bit) needed by qumu-videonet-edge-centos-8.0.401-1.noarch from @commandline
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

```

- We have been installing the same rpm on centOS 7 from long time and never faced any issues.
- I see that package rpm-libs-4.14.3-28.el8\_9.x86\_64 is already installed
- I also installed perl (yum install perl)
- I also tried with --nobest option but no luck

Can you please help me resolve this error?

Thanks!

---

<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:** [February 27, 2024, 7:41pm UTC](https://forums.rockylinux.org/t/unable-to-install-a-rpm-on-rocky-8/13018/2 "2024-02-27T19:41:05Z")

</div>

Just because it works on CentOS 7 doesn’t mean it’s going to work on Rocky 8. They are completely different. Even RHEL7 isn’t the same as RHEL8. Different package versions, etc. You need to rebuild your RPM against the version of packages that Rocky 8 has - not what CentOS 7 has.

---

<div class="post-metadata">

**Author:** ![rbtnichols](https://avatars.discourse-cdn.com/v4/letter/r/4af34b/32.png) [@rbtnichols](https://forums.rockylinux.org/u/rbtnichols)\
**Post date:** [February 28, 2024, 2:18pm UTC](https://forums.rockylinux.org/t/unable-to-install-a-rpm-on-rocky-8/13018/3 "2024-02-28T14:18:06Z")

</div>

Since those messages aren’t complaining about specific versions, it suggests that various packages are simply not installed. Try installing with “dnf install /path/to/my-package.rpm” and let it try to work out the dependencies. I do note that libwrap.so appears to be provided by tcp-wrapper-libs, and you would need to have the “epel” repo enabled in order to find that package.

---

<div class="post-metadata">

**Author:** ![jlehtone](https://avatars.discourse-cdn.com/v4/letter/j/e9a140/32.png) [@jlehtone](https://forums.rockylinux.org/u/jlehtone)\
**Post date:** [February 28, 2024, 3:18pm UTC](https://forums.rockylinux.org/t/unable-to-install-a-rpm-on-rocky-8/13018/4 "2024-02-28T15:18:06Z")

</div>

They are “of versions” though.

On CentOS 7 the `yum provides 'librpm.so.3()(64bit)'` and similar do show that:

- `4:perl-libs-5.16.3-297.el7` provides `libperl.so()(64bit)`
- `rpm-libs-4.11.3-45.el7` provides `librpm.so.3()(64bit)` and `librpmio.so.3()(64bit)`
- `tcp_wrappers-libs-7.6-77.el7` provides `libwrap.so.0()(64bit)`

IIRC, tcp\_wrappers were removed, probably in EL8. At least no similar file in EL8 system:

```bash
[el8]$ dnf -q provides */libwrap.so\*
Error: No Matches found

```

While EL7 has:

```bash
[el7]$ rpm -ql rpm-libs
/usr/lib64/librpm.so.3
/usr/lib64/librpm.so.3.2.2
/usr/lib64/librpmio.so.3
/usr/lib64/librpmio.so.3.2.2

```

But EL8 has quite different version:

```bash
[el8]$ rpm -ql rpm-libs | grep lib64
/usr/lib64/librpm.so.8
/usr/lib64/librpm.so.8.2.0
/usr/lib64/librpmio.so.8
/usr/lib64/librpmio.so.8.2.0
/usr/lib64/rpm-plugins

[el8]$ rpm -q --provides rpm-libs
librpm.so.8()(64bit)
librpmio.so.8()(64bit)
rpm-libs = 4.14.3-26.el8
rpm-libs(x86-64) = 4.14.3-26.el8

```

The OP package does not demand _librpm.so.3 or librpm.so.4 or librpm.so.5_ …  
It requires _exactly_ librpm.so.3 and the librpm.so.8 in el8 does not pretend to be 3.

---

<div class="post-metadata">

**Author:** ![nkmadala](https://avatars.discourse-cdn.com/v4/letter/n/da6949/32.png) [@nkmadala](https://forums.rockylinux.org/u/nkmadala)\
**Post date:** [February 29, 2024, 11:50am UTC](https://forums.rockylinux.org/t/unable-to-install-a-rpm-on-rocky-8/13018/5 "2024-02-29T11:50:14Z")

</div>

Thank you for the responses!

@jlehtone you are right. My rpm had older libsnmp.so files and hence my rpm had older version requirements. I had to rebuilt the rpm with the el8 compatible libs and I was able to install my rpm on Rocky.

Thank you!

---

<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:** [April 29, 2024, 11:50am UTC](https://forums.rockylinux.org/t/unable-to-install-a-rpm-on-rocky-8/13018/6 "2024-04-29T11:50:50Z")

</div>

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