News:

OS2World.com Forum is back !!!

Remember to visit OS2World at:
http://www.os2world.com

Main Menu

[Yum] several errors updating packages

Started by Mentore, October 06, 2026, 03:01:34 PM

Previous topic - Next topic

Mentore

Hi all,
I recently was able to fire up again my ArcaOS 5 VM to do some more porting and am encountering a lot of problems. I really can't understand what may have caused them - and it's possible I've done something I shouldn't have done... Too much tinkering without logging what I'm doing. Guess it's just me being me.

I am trying to use ANPM to update yum, rpm, autoconf, gettext and something more, but keep having troubles updating. Here is a brief list of errors:


while updating openSSL:

ERROR with transaction check vs depsolve:openssl-devel = 1:1.1.1w-1.oc00 necessario a (installato) openssl-static-1:1.1.1w-1.oc00.pentium4Riportare questo errore su https://github.com/bitwiseworks/rpm-issues


I've also tried downloading the RPM package and installing it as a single file, but even if ANPM returns no errors, the update doesn't seem to be successful - it keeps listed as in need of an update. The same goes for the next packages.

while updating openSSL-devel:

ERROR with transaction check vs depsolve:openssl-devel = 1:1.1.1w-1.oc00 necessario a (installato) openssl-static-1:1.1.1w-1.oc00.pentium4Riportare questo errore su https://github.com/bitwiseworks/rpm-issues


updating os2-rpm:

ERROR with transaction check vs depsolve:openssl-devel = 1:1.1.1w-1.oc00 necessario a (installato) openssl-static-1:1.1.1w-1.oc00.pentium4rpmlib(RpmVersion) >= 4.15.1-6 necessario a os2-rpm-2-1.oc00.noarchRiportare questo errore su https://github.com/bitwiseworks/rpm-issues


By the way, this seems to me a reasonable error: but then again, why can't I update openssl? Dependencies or other problems I can't see?

updating autoconf:

ERROR with transaction check vs depsolve:perl(:VERSION) >= 5.6.0 necessario a autoconf-2.72-4.oc00.noarchRiportare questo errore su https://github.com/bitwiseworks/rpm-issues


This seems really strange, since I have already installed the latest perl from ANPM and also trying from command line it appears there are no newer perl versions to install.

updating binutils:

ERRORE Occorre aggiornare rpm per gestire:rpmlib(RpmVersion) >= 4.15.1-6 necessario a binutils-2.33.1-2.oc00.pentium4


updating gettext

ERRORE Occorre aggiornare rpm per gestire:rpmlib(RpmVersion) >= 4.15.1-6 necessario a libtextstyle-1.0-3.oc00.pentium4rpmlib(RpmVersion) >= 4.15.1-6 necessario a gettext-1.0-3.oc00.pentium4rpmlib(RpmVersion) >= 4.15.1-6 necessario a gettext-runtime-1.0-3.oc00.pentium4rpmlib(RpmVersion) >= 4.15.1-6 necessario a gettext-libs-1.0-3.oc00.pentium4rpmlib(RpmVersion) >= 4.15.1-6 necessario a gettext-envsubst-1.0-3.oc00.pentium4


updating rpm:

ERROR with transaction check vs depsolve:openssl-devel = 1:1.1.1w-1.oc00 necessario a (installato) openssl-static-1:1.1.1w-1.oc00.pentium4Riportare questo errore su https://github.com/bitwiseworks/rpm-issues




From these errors, it seems openSSL is needed as a first update, immediately followed by the YUM/RPM stuff. I tried to update it both via single download and updating from file: all seems working but the errors remain. Rebuilding database didn't help and every package gets still listed as needing update.

I also tried via command line using yum update --skip-broken but to no avail.

Now I'm prone to believe these are not errors to be reported on the github issue tracker, but it seems I'm stuck with this. I would rather not reinstall everything, since I've already built many libraries by myself which aren't in the RPM repositories (not to mention all the software already installed).

Some help would be GREATLY appreciated. Thanks in advance!
Mentore

Mentore

Quick update: I forgot to clear the cache. I'll try ASAP.
Mentore

Dariusz Piatkowski

Hello Mentore,

Quote from: Mentore on October 06, 2026, 03:01:34 PM...I am trying to use ANPM to update yum, rpm, autoconf, gettext and something more, but keep having troubles updating. Here is a brief list of errors:
...
updating binutils:

ERRORE Occorre aggiornare rpm per gestire:rpmlib(RpmVersion) >= 4.15.1-6 necessario a binutils-2.33.1-2.oc00.pentium4

...
updating rpm:

ERROR with transaction check vs depsolve:openssl-devel = 1:1.1.1w-1.oc00 necessario a (installato) openssl-static-1:1.1.1w-1.oc00.pentium4Riportare questo errore su https://github.com/bitwiseworks/rpm-issues

...

I'm not sure if you are running into the sequencing issue here, but even with RPM's ability to check the pre-reqs sometimes I find that it gets stuck until & unless you have precisely the matching versions of everything.

During my latest upgrade I hit the following problem:

Executing: @python2.7 G:\UTIL\ANPM\scripts\yum_update.py binutils
Unexpected temp-repo data:
No argument pipe.
Running Transaction Check
YumRPMCheckError(): [u'ERROR You need to update rpm to handle:', 'rpmlib(RpmVersion) >= 4.15.1-6 is needed by binutils-2.33.1-2.oc00.pentium4']
Error: ERROR You need to update rpm to handle:rpmlib(RpmVersion) >= 4.15.1-6 is needed by binutils-2.33.1-2.oc00.pentium4
YumRPMCheckError()
Return code: 0

...and so I thought: "hmm, clearly I need to do the RPM upgrade first, but it would have been nice if ANPM (or really RPM & YUM) provided me with a matching suggestion in the typical pop-up box that says "aha, buddy, you also need the upgraded RPM packages...so do you want me to pull all of those in as well?".

Now you could say that's perhaps asking too much, and yet there are plenty of cases where it does indeed do that. So at the end of the day I toss this up to how the RPM dependencies are spelled out, what specific version of stuff you have, and how smart YUM can get in order to give RPM the instructions it needs to download the correct RPM package in the correct sequence of steps.

In your case, if I am interpreting the errors you shared correctly, I would run an explicit RPM upgrade first, followed by YUM, followed by the remaining utils.

Dave Yeo

Usually the rpm update doesn't matter with order but this time there were changes where rpm should be updated first.

Mentore

Quote from: Dave Yeo on October 07, 2026, 12:04:11 AMUsually the rpm update doesn't matter with order but this time there were changes where rpm should be updated first.

Trying to update rpm from ANPM still gives me the error


ERROR with transaction check vs depsolve:openssl-devel = 1:1.1.1w-1.oc00 necessario a (installato) openssl-static-1:1.1.1w-1.oc00.pentium4Riportare questo errore su https://github.com/bitwiseworks/rpm-issues


even after clearing all cache.

Another attempt: if I try to upgrade rpm I run in a loop of unresolved openssl dependencies. When I try to update or upgrade openssl components I see a lot of errors, with yum complaining openssl-static requires other packages. Trying to update these, I get errors regarding openssl-static. I just tried to uninstall openssl-static...

And BOOM. Rpm and Yum upgraded, binutils upgraded. Now it seems the only problem is autoconf complaining it needs a perl version >= 5.6, while we have the 5.16 IIRC. Seems there's a problem in autoconf RPM, or...?

Thanks all for pointing me towards the right direction. I'll keep openssl-static uninstalled.

Mentore

Mentore

Quick update: it seems everything is working - autoconf still keeps complaining lacking an updated perl. Gettext installed but complains error in the PREUN directive (but still, it's installed).
I'm updating everything else without problems.

Mentore

Dave Yeo

If you look, you probably have two gettext packages installed. Run,
rpm -e --nopreun gettext-0.19.8.1-3.oc00
Might have to remove gettext-devel first, do above and reinstall the devel package.
No idea about the perl complaints.
There is now also an autoconf269 package (needed to compile binutils), along with an activate command, forget the specifics right now.