Discussions
Categories
- 17.9K All Categories
- 3.4K Industry Applications
- 3.3K Intelligent Advisor
- 63 Insurance
- 535.7K On-Premises Infrastructure
- 138.1K Analytics Software
- 38.6K Application Development Software
- 5.6K Cloud Platform
- 109.3K Database Software
- 17.5K Enterprise Manager
- 8.8K Hardware
- 71K Infrastructure Software
- 105.2K Integration
- 41.5K Security Software
Upgrading OL7 > OL8 Leapp package conflict

Hello all,
I'm attempting to upgrade from OL 7 to 8 using leapp.
I got a few of these "conflicts with the file from package" errors, a few of which (python) I was able to resolve using yum reinstall.
However, these conflicts I cannot see to resolve:
I've attached the error as well, in case its too small in the embedded image.
"STDERR:
Warning: Packages marked by Leapp for install not found in repositories metadata: rpcgen
RPM: warning: Generating 6 missing index(es), please wait...
Error: Transaction test error:
file /usr/sbin/pidof from install of procps-ng-3.3.15-6.0.1.el8.x86_64 conflicts with file from package sysvinit-tools-2.88-14.dsf.el7.x86_64
file /usr/bin/last from install of util-linux-2.32.1-28.el8.x86_64 conflicts with file from package sysvinit-tools-2.88-14.dsf.el7.x86_64
file /usr/bin/mesg from install of util-linux-2.32.1-28.el8.x86_64 conflicts with file from package sysvinit-tools-2.88-14.dsf.el7.x86_64
file /usr/bin/wall from install of util-linux-2.32.1-28.el8.x86_64 conflicts with file from package sysvinit-tools-2.88-14.dsf.el7.x86_64
file /usr/share/man/man1/last.1.gz from install of util-linux-2.32.1-28.el8.x86_64 conflicts with file from package sysvinit-tools-2.88-14.dsf.el7.x86_64
file /usr/share/man/man1/mesg.1.gz from install of util-linux-2.32.1-28.el8.x86_64 conflicts with file from package sysvinit-tools-2.88-14.dsf.el7.x86_64
file /usr/share/man/man1/wall.1.gz from install of util-linux-2.32.1-28.el8.x86_64 conflicts with file from package sysvinit-tools-2.88-14.dsf.el7.x86_64
I've tried yum reinstalling the sysvinit-tools package as well, and it reinstalls, but doesnt resolve this issue.
My preupgrade leapp check was green prior to attempting the actual upgrade.
Any help here would be greatly appreciated.
Thanks!
Answers
-
David Gilpin-Oracle Principal Product Manager, Oracle Linux and Virtualization Frisco, TXPosts: 46 Employee
What else is installed on this Oracle Linux 7 instance (application, database, etc)? Is this running on-premises (bare metal or a VM) OR is this running in OCI?
-
I'm having exactly the same thing:
Error: Transaction test error: file /usr/sbin/pidof from install of procps-ng-3.3.15-6.0.1.el8.x86_64 conflicts with file from package sysvinit-tools-2.88-14.dsf.el7.x86_64 file /usr/bin/last from install of util-linux-2.32.1-28.el8.x86_64 conflicts with file from package sysvinit-tools-2.88-14.dsf.el7.x86_64 file /usr/bin/mesg from install of util-linux-2.32.1-28.el8.x86_64 conflicts with file from package sysvinit-tools-2.88-14.dsf.el7.x86_64 file /usr/bin/wall from install of util-linux-2.32.1-28.el8.x86_64 conflicts with file from package sysvinit-tools-2.88-14.dsf.el7.x86_64 file /usr/share/man/man1/last.1.gz from install of util-linux-2.32.1-28.el8.x86_64 conflicts with file from package sysvinit-tools-2.88-14.dsf.el7.x86_64 file /usr/share/man/man1/mesg.1.gz from install of util-linux-2.32.1-28.el8.x86_64 conflicts with file from package sysvinit-tools-2.88-14.dsf.el7.x86_64 file /usr/share/man/man1/wall.1.gz from install of util-linux-2.32.1-28.el8.x86_64 conflicts with file from package sysvinit-tools-2.88-14.dsf.el7.x86_64 file /usr/bin/uname26 from install of util-linux-2.32.1-28.el8.x86_64 conflicts with file from package uname26-1.0-1.el7.x86_64
I'm following this path: CentOS 7.9 - OracleLinux 7.9 -- this was successful. Then, after a reboot i tried going from OracleLinux 7.9 to Oracle Linux 8.x using the leapp tool. Besides the usual PermitRootLogin and pkcs answer, the preupgrade check did not indicate anything out of the ordinary.
In my case, this is pretty much a vanilla system - the application has been completely removed and does not touch util-linux at all
In my case, this is a virtual machine running on-prem
sysvinit-tools-2.88
appears to be part of the CentOS install (@anaconda repo - which is the CentOS installer)
I removed the old packages
yum remove sysvinit-tools uname26 -y
and removed the CentOS repo files
rm -rf /etc/yum.repos.d/CentOS* yum clean all
That seemed to have fixed it for me.