Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

migrate2rocky.sh: Can't get package that provides system-logos-ipa. #148

Open
rosswmerrifield opened this issue Jan 22, 2022 · 7 comments
Open

Comments

@rosswmerrifield
Copy link

I am trying to convert my laptop from Red Hat 8.5 to Rocky. I tried running the migrate2rocky.sh script, but it fails with the following (this is the entire content of /var/log/migrate2rocky.log):

migrate2rocky - Begin logging at Sat 22 Jan 2022 10:48:14 AM PST.


Removing dnf cache
Preparing to migrate Red Hat Enterprise Linux 8.5 (Ootpa) to Rocky Linux 8.

Determining repository names for Red Hat Enterprise Linux 8.5 (Ootpa).....

Found the following repositories which map from Red Hat Enterprise Linux 8.5 (Ootpa) to Rocky Linux 8:

Getting system package names for Red Hat Enterprise Linux 8.5 (Ootpa).Error: No Matches found

Can't get package that provides system-logos-ipa.

An error occurred while we were attempting to convert your system to Rocky Linux. Your system may be unstable. Script will now exit to prevent possible damage.

Maybe it has to do with the fact that my Red Hat license is currently expired, so I can't connect to the Red Hat repos at the moment?

Thanks,

Ross

@pajamian
Copy link
Collaborator

It would certainly be the case. migrate2rocky requires access to the source distros repos. I would recommend getting a free devsub and subscribing your current RHEL under that, then you will be able to migrate.

I might look into seeing if there's a way to make the migration work without access to the original repos as this could help with CentOS 8 migrations after the repos move to vault as well.

@5zero7rc
Copy link

Did you find any resolution to this issue? I get the same error trying to migrate from CentOS8 and the repositories are still accessible.

Found the following repositories which map from CentOS Linux 8 to Rocky Linux 8:
CentOS Linux 8 Rocky Linux 8
baseos baseos
extras extras

Getting system package names for CentOS Linux 8.Error: No Matches found

Can't get package that provides system-logos-ipa.

An error occurred while we were attempting to convert your system to Rocky Linux. Your system may be unstable. Script will now exit to prevent possible damage.

@pajamian
Copy link
Collaborator

You're missing appstream (among other repos).

Show the entire /var/log/migrate2rocky.log file, please.

@5zero7rc
Copy link

Thanks, I had disabled the appstream repo due to a graphviz update issue. And unfortunately I can remove graphviz because check-mk depends on graphviz-gd and check-mk is the primary service this server provides.

Seems like I may be stuck in a catch 22 or something.

`# cat /var/log/migrate2rocky.log
migrate2rocky - Begin logging at Thu 27 Jan 2022 04:30:45 PM CST.

Removing dnf cache
Preparing to migrate CentOS Linux 8 to Rocky Linux 8.

Determining repository names for CentOS Linux 8.....

Found the following repositories which map from CentOS Linux 8 to Rocky Linux 8:
CentOS Linux 8 Rocky Linux 8
appstream appstream
baseos baseos
extras extras

Getting system package names for CentOS Linux 8..........

Found the following system packages which map from CentOS Linux 8 to Rocky Linux 8:
CentOS Linux 8 Rocky Linux 8
centos-logos-ipa rocky-logos-ipa
centos-backgrounds rocky-backgrounds
centos-gpg-keys rocky-gpg-keys
centos-logos rocky-logos
centos-indexhtml rocky-indexhtml
centos-linux-release rocky-release
centos-logos-httpd rocky-logos-httpd
centos-linux-repos rocky-repos

Getting list of installed system packages.

We will replace the following CentOS Linux 8 packages with their Rocky Linux 8 equivalents
Packages to be Removed Packages to be Installed
centos-gpg-keys rocky-gpg-keys
centos-logos rocky-logos
centos-linux-release rocky-release
centos-logos-httpd rocky-logos-httpd
centos-linux-repos rocky-repos

In addition to the above the following system packages will be removed:
centos-linux-release
centos-linux-release

Getting a list of enabled modules for the system repositories.

Excluding modules:
libselinux-python:2.8

Found the following modules to re-enable at completion:
container-tools:rhel8
freeradius:3.0
httpd:2.4
mariadb:10.3
mysql:8.0
nginx:1.14
perl-DBD-MySQL:4.046
perl-DBI:1.641
perl-IO-Socket-SSL:2.066
perl-libwww-perl:6.34
perl:5.26
php:7.3
python27:2.7
python36:3.6
satellite-5-client:1.0

Running dnf update before we attempt the migration.
Last metadata expiration check: 0:00:36 ago on Thu Jan 27 16:30:58 2022.
Error:
Problem: cannot install both graphviz-2.40.1-43.el8.x86_64 and graphviz-2.40.1-40.el8.x86_64

  • package graphviz-gd-2.40.1-40.el8.x86_64 requires graphviz = 2.40.1-40.el8, but none of the providers can be installed
  • cannot install the best update candidate for package graphviz-2.40.1-40.el8.x86_64
  • problem with installed package graphviz-gd-2.40.1-40.el8.x86_64
    (try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

Error running pre-update. Stopping now to avoid putting the system in an
unstable state. Please correct the issues shown here and try again.

An error occurred while we were attempting to convert your system to Rocky Linux. Your system may be unstable. Script will now exit to prevent possible damage.
`

@pajamian
Copy link
Collaborator

Do you have graphviz-gd excluded or something? Why? It should be able to update both graphviz and graphviz-gd without issue.

@5zero7rc
Copy link

Nope, no exclusion that I know about.

`# dnf update
Last metadata expiration check: 0:00:30 ago on Thu 27 Jan 2022 07:02:00 PM CST.
Error:
Problem: cannot install both graphviz-2.40.1-43.el8.x86_64 and graphviz-2.40.1-40.el8.x86_64

  • package graphviz-gd-2.40.1-40.el8.x86_64 requires graphviz = 2.40.1-40.el8, but none of the providers can be installed
  • cannot install the best update candidate for package graphviz-2.40.1-40.el8.x86_64
  • problem with installed package graphviz-gd-2.40.1-40.el8.x86_64
    (try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
    `

Seems like I will need to keep working on that and get this issue cleared up before I can migrate to Rocky.

@5zero7rc
Copy link

Thanks for the help. Got it figured out. I had to enable the CentOS-Linux-PowerTools.repo ( not sure why it got disabled ). After enabling that I was able to get graphviz and graphviz-gd all sorted out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants