# Repository problems with 'migrate2rocky.sh'

**URL:** <https://forums.rockylinux.org/t/repository-problems-with-migrate2rocky-sh/17411>\
**Category:** Rocky Linux Help & Support\
**Tags:** rocky-linux-8\
**Created:** [February 3, 2025, 10:31am UTC](https://forums.rockylinux.org/t/repository-problems-with-migrate2rocky-sh/17411 "2025-02-03T10:31:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wiley](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/wiley/32/5116_2.png) [@Wiley](https://forums.rockylinux.org/u/Wiley)\
**Post date:** [February 3, 2025, 10:31am UTC](https://forums.rockylinux.org/t/repository-problems-with-migrate2rocky-sh/17411/1 "2025-02-03T10:31:20Z")

</div>

I just finished migrating from CentOS 8 to Rocky 8, using the _migrate2rocky.sh_ script (yes, I’m late to the game). Like many people here, I had issues with the CentOS repositories that went missing.

When running _dnf update_, I would get these two errors:

```auto
 Problem 1: package cockpit-ws-304.1.1-1.el8.x86_64 requires (selinux-policy >= 3.14.3-117.el8_8.3 if selinux-policy-targeted), but none of the providers can be installed
  - cannot install the best update candidate for package selinux-policy-targeted-3.14.3-80.el8_5.2.noarch
  - cannot install the best update candidate for package cockpit-ws-251.1-1.el8.x86_64
 Problem 2: package podman-3.3.1-9.module_el8.5.0+988+b1f0b741.x86_64 requires runc >= 1.0.0-57, but none of the providers can be installed
  - package containerd.io-1.6.32-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.2-1.module_el8.5.0+911+f19012f9.x86_64
  - package containerd.io-1.6.32-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.2-1.module_el8.5.0+911+f19012f9.x86_64
  - cannot install the best update candidate for package runc-1.0.2-1.module_el8.5.0+911+f19012f9.x86_64
  - cannot install the best update candidate for package podman-3.3.1-9.module_el8.5.0+988+b1f0b741.x86_64
  - package runc-1.0.0-66.rc10.module_el8.5.0+1004+c00a74f5.x86_64 is filtered out by modular filtering
  - package runc-1.0.0-72.rc92.module_el8.5.0+1006+8d0e68a2.x86_64 is filtered out by modular filtering

```

Of course, _migrate2rocky_ would get the same errors, and would refuse to continue (to its credit). I followed a few suggestions from this forum, played with the repositories, downloaded .rpm files from the Internet (restored the snapshot each time I broke something), and beat my head against the wall, all for naught. I just could not get rid of those two errors.

As many of you probably know, the solution is obvious (after the fact, for me). I simple uninstalled _Cockpit_ and _Podman_. I still got one error, because uninstalling _Podman_ left _container\_common_ dangling, so I unistalled it also. _migrate2rocky_ then completed. It completed with a big red message, claiming that the system may be “corrupt” and “unbootable”, but that turned out to only be testing the strength of my heart.

Upon booting into Rocky, I then simply had to reinstall _Cockpit_ and _Podman_ and everything is up again, in time for Monday.

I’m posting this in case anyone else is facing similar issues, and to show that _migrate2rocky_ is still viable, despite Red Hat’s repository shenanigans.

---

<div class="post-metadata">

**Author:** ![label](https://avatars.discourse-cdn.com/v4/letter/l/c5a1d2/32.png) [@label](https://forums.rockylinux.org/u/label)\
**Post date:** [February 3, 2025, 10:35am UTC](https://forums.rockylinux.org/t/repository-problems-with-migrate2rocky-sh/17411/2 "2025-02-03T10:35:08Z")

</div>

Welcome to the forums, and thank you for this post! There’s always something that has to be done on the side to make things just go, and thankfully most of them are easy to uninstall and then reinstall after. Unfortunately in this case it was with modules… But glad to hear that you managed to get it all working!

---

<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 4, 2025, 10:35am UTC](https://forums.rockylinux.org/t/repository-problems-with-migrate2rocky-sh/17411/3 "2025-04-04T10:35:10Z")

</div>

Closed on April 4, 2025, 10:35am UTC

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