yum mag es gar nicht, wenn plötzlich beim yum update der Speicher ausgeht:
Non-fatal POSTIN scriptlet failure in rpm package libdrm-2.4.83-2.el7.x86_64 Updating : 7:device-mapper-event-1.02.146-4.el7.x86_64 109/432 error: Couldn't fork %post(device-mapper-event-7:1.02.146-4.el7.x86_64): Cannot allocate memory Non-fatal POSTIN scriptlet failure in rpm package 7:device-mapper-event-1.02.146-4.el7.x86_64 Updating : 7:lvm2-libs-2.02.177-4.el7.x86_64 110/432 error: Couldn't fork %post(lvm2-libs-7:2.02.177-4.el7.x86_64): Cannot allocate memory Non-fatal POSTIN scriptlet failure in rpm package 7:lvm2-libs-2.02.177-4.el7.x86_64 Updating : rsync-3.1.2-4.el7.x86_64 111/432 error: Couldn't fork %post(rsync-3.1.2-4.el7.x86_64): Cannot allocate memory
Ein weiteres yum update sieht dann so aus:
---> Package ntpdate.x86_64 0:4.2.6p5-25.el7.centos.2 will be updated
--> Processing Dependency: ntpdate = 4.2.6p5-25.el7.centos.2 for package: ntp-4.2.6p5-25.el7.centos.2.x86_64
---> Package ntpdate.x86_64 0:4.2.6p5-28.el7.centos will be an update
--> Finished Dependency Resolution
Error: Package: ntp-4.2.6p5-25.el7.centos.2.x86_64 (@base)
Requires: ntpdate = 4.2.6p5-25.el7.centos.2
Removing: ntpdate-4.2.6p5-25.el7.centos.2.x86_64 (@base)
ntpdate = 4.2.6p5-25.el7.centos.2
Updated By: ntpdate-4.2.6p5-28.el7.centos.x86_64 (base)
ntpdate = 4.2.6p5-28.el7.centos
You could try using --skip-broken to work around the problem
** Found 32 pre-existing rpmdb problem(s), 'yum check' output follows:
audit-2.7.6-3.el7.x86_64 has missing requires of audit-libs(x86-64) = ('0', '2.7.6', '3.el7')
audit-2.8.1-3.el7.x86_64 is a duplicate with audit-2.7.6-3.el7.x86_64
binutils-2.27-27.base.el7.x86_64 is a duplicate with binutils-2.25.1-32.base.el7_4.2.x86_64
cpio-2.11-27.el7.x86_64 is a duplicate with cpio-2.11-25.el7_4.x86_64
cronie-1.4.11-19.el7.x86_64 is a duplicate with cronie-1.4.11-17.el7.x86_64
Die Lösung:
yum distro-sync package-cleanup --cleandupes --skip-broken yum update
Jetzt geht’s wieder.