Leap 16.0 Beta upgrade: /usr/sbin/iconvconfig-32: cannot execute binary file: Exec format error

# screen -L
# zypper up
...
( 950/3414) Installing : gnome-themes-accessibility-3.28-160000.4.3.noarch ..................................................[done]
/var/tmp/rpm-tmp.j6kLJ0: line 2: /usr/sbin/iconvconfig-32: cannot execute binary file: Exec format error
warning: %post(glibc-32bit-2.40-160000.4.1.x86_64) scriptlet failed, exit status 126
( 951/3414) Installing : glibc-32bit-2.40-160000.4.1.x86_64 .................................................................[done]
/var/tmp/rpm-tmp.vpzAQo: line 2: /usr/sbin/iconvconfig-32: cannot execute binary file: Exec format error
warning: %post(glibc-gconv-modules-extra-32bit-2.40-160000.4.1.x86_64) scriptlet failed, exit status 126
/var/tmp/rpm-tmp.3zsQtQ: line 1: /usr/sbin/iconvconfig-32: cannot execute binary file: Exec format error
error: %preun(glibc-gconv-modules-extra-32bit-2.40-160000.3.2.x86_64) scriptlet failed, exit status 126
error: glibc-gconv-modules-extra-32bit-2.40-160000.3.2.x86_64: erase failed
( 952/3414) Installing : glibc-gconv-modules-extra-32bit-2.40-160000.4.1.x86_64 ...........................................[error]
Installation of glibc-gconv-modules-extra-32bit-2.40-160000.4.1.x86_64 failed*:
Error: Subprocess failed. Error: RPM failed: Command exited with status 1.
Abort, Retry, Ignore ? [a/r/i] (a): r
/var/tmp/rpm-tmp.hhDEuh: line 2: /usr/sbin/iconvconfig-32: cannot execute binary file: Exec format error
warning: %post(glibc-gconv-modules-extra-32bit-2.40-160000.4.1.x86_64) scriptlet failed, exit status 126
/var/tmp/rpm-tmp.2cjRnf: line 1: /usr/sbin/iconvconfig-32: cannot execute binary file: Exec format error
error: %preun(glibc-gconv-modules-extra-32bit-2.40-160000.4.1.x86_64) scriptlet failed, exit status 126
error: glibc-gconv-modules-extra-32bit-2.40-160000.4.1.x86_64: erase failed
/var/tmp/rpm-tmp.hF0Ied: line 1: /usr/sbin/iconvconfig-32: cannot execute binary file: Exec format error
error: %preun(glibc-gconv-modules-extra-32bit-2.40-160000.3.2.x86_64) scriptlet failed, exit status 126
error: glibc-gconv-modules-extra-32bit-2.40-160000.3.2.x86_64: erase failed
( 952/3414) Installing : glibc-gconv-modules-extra-32bit-2.40-160000.4.1.x86_64 ...........................................[error]
Installation of glibc-gconv-modules-extra-32bit-2.40-160000.4.1.x86_64 failed*:
Error: Subprocess failed. Error: RPM failed: Command exited with status 1.
Abort, Retry, Ignore ? [a/r/i] (a): r
/var/tmp/rpm-tmp.Rg436v: line 2: /usr/sbin/iconvconfig-32: cannot execute binary file: Exec format error
warning: %post(glibc-gconv-modules-extra-32bit-2.40-160000.4.1.x86_64) scriptlet failed, exit status 126
/var/tmp/rpm-tmp.Tou55O: line 1: /usr/sbin/iconvconfig-32: cannot execute binary file: Exec format error
error: %preun(glibc-gconv-modules-extra-32bit-2.40-160000.4.1.x86_64) scriptlet failed, exit status 126
error: glibc-gconv-modules-extra-32bit-2.40-160000.4.1.x86_64: erase failed
/var/tmp/rpm-tmp.baSvbn: line 1: /usr/sbin/iconvconfig-32: cannot execute binary file: Exec format error
error: %preun(glibc-gconv-modules-extra-32bit-2.40-160000.4.1.x86_64) scriptlet failed, exit status 126
error: glibc-gconv-modules-extra-32bit-2.40-160000.4.1.x86_64: erase failed
/var/tmp/rpm-tmp.rhAswd: line 1: /usr/sbin/iconvconfig-32: cannot execute binary file: Exec format error
error: %preun(glibc-gconv-modules-extra-32bit-2.40-160000.3.2.x86_64) scriptlet failed, exit status 126
error: glibc-gconv-modules-extra-32bit-2.40-160000.3.2.x86_64: erase failed
( 952/3414) Installing : glibc-gconv-modules-extra-32bit-2.40-160000.4.1.x86_64 ...........................................[error]
Installation of glibc-gconv-modules-extra-32bit-2.40-160000.4.1.x86_64 failed*:
Error: Subprocess failed. Error: RPM failed: Command exited with status 1.
Abort, Retry, Ignore ? [a/r/i] (a):
zypper dup

did not help. Any idea please ?

First thing I see is that you are using zypper up, where you need zypper dup until official release.
Second thing I am wondering about is whether you refreshed the repos.
Third would be the question whether you still have packages in the cache.

But that said, I don’t see enough information to say anything decent about this.

1 Like

I tried zypper dup lately but it did not help.

I refreshed the repos.

/var/cache/zypp has 2.7 GB

Then start with sudo zypper clean. This could very well be a corrupted download.
After that, repeat the sudo zypper dup.

Yes, I confirm. Open bug report.

Workaround would be removing glibc-32bit (with all dependent 32 bit packages). It may be possible to remove (and lock) the glibc-gconv-modules-extra-32bit only to avoid RPM error, but it will not fix the incorrect binary.

1 Like

It did not help.

Is not already reported ?

https://bugzilla.opensuse.org/show_bug.cgi?id=1246497

I replied Ignore and upgrade finished and there is no error message anymore.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.