News:

OS2World.com Forum is back !!!

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

Main Menu

yum errors -

Started by jmase, September 09, 2026, 05:12:37 PM

Previous topic - Next topic

jmase

Nice  :)

Quote from: Dave Yeo on September 12, 2026, 05:13:37 PM
Well, Bitwise is active again with plans to update to Qt6. They've recently done a few updates on the way to upgrading GCC, which is needed for Qt6. Hopefully things go OK.

Mo

Hello,

getting an error messagen when upgrading to rpm-4.15.1-7. Tried via ANPM and yum cli.

ANPM reports an unpacking error.

Yum gives little more info:

Upgrade       1 Package

Gesamtgröße: 696 k
Ist dies in Ordnung? [j/N] :j
Lade Pakete herunter:
Running Transaction Check
Führe Verarbeitungstest durch
Verarbeitungstest erfolgreich
Führe Verarbeitung durch
  Aktualisieren: rpm-4.15.1-7.oc00.pentium4                                 1/2

Error unpacking rpm package rpm-4.15.1-7.oc00.pentium4
Fehler: Entpacken des Archivs fehlgeschlagen bei Datei /@unixroot/usr/share/loca
le/de/LC_MESSAGES/rpm.mo: cpio: rename fehlgeschlagen - Permission denied
rpm-4.15.1-5.oc00.pentium4 was supposed to be removed but is not!

Fehlgeschlagen:
  rpm.pentium4 0:4.15.1-5.oc00           rpm.pentium4 0:4.15.1-7.oc00

Komplett!


yum check:

os2-rpm-2-1.oc00.noarch benötigt rpm >= ('0', '4.15.1', '6')
rpm-libs-4.15.1-7.oc00.pentium4 benötigt rpm = ('0', '4.15.1', '7.oc00')


There seems to be a version mismatch.
rpm-*libs are 4.15.1-7
rpm is 4.15.1-5

Yum & RPM Clean options do not have an effect. 

Any idea?

Dmitrii Kuminov

Yes, it's not RPM itself, it's the updated Gettext v1.0 which accidentally got MMAP support which it should not. See https://github.com/bitwiseworks/rpm-specs/issues/23 for more info. We will rebuild Gettext with proper options, in the mean time you should work around the issue by resetting your locale to C (LANG=C, LC_ALL=C) and reinstall rpm.
CPO of bww bitwise works GmbH

Lars

#18
For the time being:

in the Program Object for "Arca Noae Package Manager", under the Environment Tab, I added "LANG=C".
And that makes ANPM succeed in updating the rpm package (I had the same problem as anyone else using a country specific setting for LANG).

Do I assume correctly that fixing gettext will also resolve:
https://github.com/bitwiseworks/gcc-os2/issues/42

???

Dmitrii Kuminov

Actually, yes, a new Gettext with MMAP disabled will indirectly resolve the GCC issue as well, though it's a different one.
CPO of bww bitwise works GmbH

Mo

That worked for me - many thanks

Quote from: Lars on September 24, 2026, 07:46:02 AM
For the time being:

in the Program Object for "Arca Noae Package Manager", under the Environment Tab, I added "LANG=C".
And that makes ANPM succeed in updating the rpm package (I had the same problem as anyone else using a country specific setting for LANG).

Do I assume correctly that fixing gettext will also resolve:
https://github.com/bitwiseworks/gcc-os2/issues/42

???