Closed DeuxCatPotes closed 3 weeks ago
@DeuxCatPotes hi, in this case you need to ask on the project providing this upgrade functionality, as most likely we speak here about OL.
The --oraclelinux
is unknown option for us so we do not know what everything is there happening. I cannot say whether it's issue or whether it's expected behavior and you want to ask for support to deal with third-party packages. From the error it's clear that some el7 rpms are not marked to be removed and in the same time additional rpms are wanted to be installed, which are with conflict with original ones. There are several possibilities what's exactly the problem with different solutions and as this problem is out of our scope and it does not seem to be bug in our current solution, I suggest you to ask in the project or vendor for help. In case you could reproduce the very same problem on RHEL just with RHEL packages intalled, it would be mostly bug in PES data, which we could update. but so far it does not seem to me to be the case. In some cases, it could help you to mark conflicting el7 packages to be removed explicitely, via /etc/leapp/transaction/to_remove
file.
hi @pirat89 (great surname), thx for your reply.
I use the oracle linux version but i have similar issue with elevate for what i remembered.
if you are using oracle linux leapp* packages, you need to report it to the oracle linux not an easy thing to do, i will investigate on that.
The option --oraclelinux just allow some repositories https://docs.oracle.com/en/operating-systems/oracle-linux/8/leapp/leapp-SupportedRepositoriesinLeappUpgrades.html#repo-auto-enabling
Agree with your analysis.
For my culture what is PES data ?
hi @pirat89 (great surname), thx for your reply.
thanks :-D
For my culture what is PES data ?
Package Evolution Service data. Located in /etc/leapp/files/pes-events.json. This data is used to find out what packages should be installed on the target system, based on packages installed on the source system. In this case, it affects only packages signed by the distribution - note that behaviour could differ in Elevate and OL, I haven't analyzed changes downstream projects.
So e.g. when pkg A splits to B & C, we remove A and install B & C. etc. It covers "semantic" between packages that cannot be covered by RPM dependencies or it covers also an incorrectly set/missing attributes (Provides, Obsoletes, ...) in some cases. So it helps DNF to understand what to do (and if correct, it prevents number of such conflicts). This data is manually crafted and in this project we update them from our internal database.
In case you would like to try to modify them in your machine, here is json schema, with highlighted line explaining types of PES events:
In case you would like to apply them to third-party rpms, it's possible using devel envars, saying that all packages are signed by the distribution (note this link will be soon malfunction as we are working on complete redesign of upstream documentation):
So e.g. run leapp like:
LEAPP_UNSUPPORTED=1 LEAPP_DEVEL_RPMS_ALL_SIGNED=1 leapp ....
Not sur I have done the right thing.
I try to upgrade ol7 to ol8. I get an issue even if pre-upgrade step pass only with warning.
Command
Output :
the command :
and it output :
and the related part in log (I guess)
The proxy is well setup in dnf.conf and there is no issue on yum/dnf update. Maybe i miss a dependency or whatever ?