# Rocky Linux 9.3 multiple versions of openssl installed

**URL:** https://forums.rockylinux.org/t/rocky-linux-9-3-multiple-versions-of-openssl-installed/12606
**Category:** Rocky Linux Help & Support
**Tags:** rocky-linux-9
**Created:** [January 23, 2024, 10:27pm UTC](https://forums.rockylinux.org/t/rocky-linux-9-3-multiple-versions-of-openssl-installed/12606 "2024-01-23T22:27:41Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![jnewman67](https://avatars.discourse-cdn.com/v4/letter/j/ee59a6/32.png) [@jnewman67](https://forums.rockylinux.org/u/jnewman67)
#### Post date: [January 23, 2024, 10:27pm UTC](https://forums.rockylinux.org/t/rocky-linux-9-3-multiple-versions-of-openssl-installed/12606/1 "2024-01-23T22:27:41Z")

</div>

Freshly installed 9.3 system, following the “Perfect Server CentOS 8” instructions for ISPConfig.  
along the way, “dnf install openssl” was used to install OpenSSL. After the setup was complete, I wanted to make sure everything was up-to-date, and used “dnf update” to check.  
I got the following message:

```auto
 Problem 1: cannot install both openssl-libs-1:3.0.7-25.el9_3.x86_64 from baseos and openssl-libs-1:3.0.7-24.el9.x86_64 from @System

```

listing the OpenSSL packages that are installed, I got this:

```auto
openssl-libs.x86_64 1:3.0.7-24.el9 @minimal
openssl-libs.i686 1:3.0.7-25.el9_3 baseos
openssl-libs.x86_64 1:3.0.7-25.el9_3 baseos

```

any idea where things might have gone wrong, and how to fix it so an “Update” will work?  
Thanks!

---

<div class="post-metadata">

### Author: ![Ritov](https://avatars.discourse-cdn.com/v4/letter/r/3ec8ea/32.png) [@Ritov](https://forums.rockylinux.org/u/Ritov)
#### Post date: [January 23, 2024, 11:10pm UTC](https://forums.rockylinux.org/t/rocky-linux-9-3-multiple-versions-of-openssl-installed/12606/2 "2024-01-23T23:10:19Z")

</div>

```auto
dnf clean all
dnf update --refresh

```

---

<div class="post-metadata">

### Author: ![jnewman67](https://avatars.discourse-cdn.com/v4/letter/j/ee59a6/32.png) [@jnewman67](https://forums.rockylinux.org/u/jnewman67)
#### Post date: [January 23, 2024, 11:27pm UTC](https://forums.rockylinux.org/t/rocky-linux-9-3-multiple-versions-of-openssl-installed/12606/3 "2024-01-23T23:27:33Z")

</div>

Thank you, that gets me past the errors for openssl, but what does that actually do? in the end, it didn’t even have an update for openssl, so what was it complaining about? or maybe why was it complaining?  
Thanks again!

---

<div class="post-metadata">

### Author: ![jnewman67](https://avatars.discourse-cdn.com/v4/letter/j/ee59a6/32.png) [@jnewman67](https://forums.rockylinux.org/u/jnewman67)
#### Post date: [January 23, 2024, 11:29pm UTC](https://forums.rockylinux.org/t/rocky-linux-9-3-multiple-versions-of-openssl-installed/12606/4 "2024-01-23T23:29:24Z")

</div>

man, i’m batting about 20%. i skipped right over the out put where it had an update for openssl listed - it did update without errors as well. but after the refresh and before the update, it still listed the same 3 openssl-libs versions installed. so my questions still stand - what did those commands fix?

---

<div class="post-metadata">

### Author: ![jnewman67](https://avatars.discourse-cdn.com/v4/letter/j/ee59a6/32.png) [@jnewman67](https://forums.rockylinux.org/u/jnewman67)
#### Post date: [January 23, 2024, 11:30pm UTC](https://forums.rockylinux.org/t/rocky-linux-9-3-multiple-versions-of-openssl-installed/12606/5 "2024-01-23T23:30:19Z")

</div>

after the update, these are the versions listed as installed:

```auto
openssl-libs.x86_64 1:3.0.7-25.el9_3 @baseos
openssl-libs.i686 1:3.0.7-25.el9_3 baseos

```

---

<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: [January 24, 2024, 8:07am UTC](https://forums.rockylinux.org/t/rocky-linux-9-3-multiple-versions-of-openssl-installed/12606/6 "2024-01-24T08:07:00Z")

</div>

> [@jnewman67](#):
>
> hat does that actually do?

`man dnf` describes commands ‘clean’ and ‘update’.

The ‘clean’:

> Performs cleanup of temporary files kept for repositories. This includes any such data left behind from disabled or removed repositories as well as for different distribution release versions.

On install you probably used USB, etc “ISO”, that had metadata about packages on the ISO.  
The package manager did cache that data and on update failed to notice that online repos have already different metadata. It should have discarded the cached version, but instead did use both. Hence the conflict. The clean all discards the cached content.

The ‘update’ is an alias – means same as – for ‘upgrade’. The ‘up’ is also an alias for ‘upgrade’. It replaces installed packages with newer versions, if repos have newer version available.

The `--refresh` is an option for all commands:

> Set metadata as expired before running the command.

It is thus redundant, when running right after the ‘dnf clean’ that already did “expire” metadata.

* * *

> [@jnewman67](#):
>
> these are the versions listed as installed:
> 
> ```auto
> openssl-libs.x86_64 1:3.0.7-25.el9_3 @baseos
> openssl-libs.i686 1:3.0.7-25.el9_3 baseos
> 
> ```

Not quite. The `openssl-libs.x86_64` is installed, as indicated by the `@` before repoid.  
The `openssl-libs.i686` is not installed. It is available in repository ‘baseos’.

```auto
# rpm -q openssl-libs
openssl-libs-3.0.7-25.el9_3.x86_64
# dnf -q list openssl-libs
Installed Packages
openssl-libs.x86_64 1:3.0.7-25.el9_3 @baseos
Available Packages
openssl-libs.i686 1:3.0.7-25.el9_3 baseos 
# dnf -q list installed openssl-libs
Installed Packages
openssl-libs.x86_64 1:3.0.7-25.el9_3 @baseos
# dnf -q list available openssl-libs
Available Packages
openssl-libs.i686 1:3.0.7-25.el9_3 baseos

```

---

<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: [March 24, 2024, 8:07am UTC](https://forums.rockylinux.org/t/rocky-linux-9-3-multiple-versions-of-openssl-installed/12606/7 "2024-03-24T08:07:07Z")

</div>

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