Public bug reported:

When trying to run do-release-upgrade on a s390x VM from Questing to
Resolute, I encountered this error:

dpkg: trying script from the new package instead ...
dpkg: error processing archive 
/var/cache/apt/archives/libc6_2.42-2ubuntu2_s390x.deb (--unpack):
 new libc6:s390x package post-removal script subprocess was killed by signal 
(Illegal instruction), core dumped
Illegal instruction (core dumped)
dpkg: error while cleaning up:
 installed libc6:s390x package pre-installation script subprocess was killed by 
signal (Illegal instruction), core dumped
Selecting previously unselected package libc-gconv-modules-extra:s390x.
Preparing to unpack .../libc-gconv-modules-extra_2.42-2ubuntu2_s390x.deb ...
Unpacking libc-gconv-modules-extra:s390x (2.42-2ubuntu2) ...
Replacing files in old package libc6:s390x (2.42-0ubuntu3) ...
Errors were encountered while processing:
 /var/cache/apt/archives/libc6_2.42-2ubuntu2_s390x.deb
packages have been installed but needrestart is suspended
packages have been installed but needrestart is suspended
Exception during pm.DoInstall():  E:Sub-process /usr/bin/dpkg returned an error 
code (1)

from dmesg:
[  164.892923] User process fault: interruption code 0001 ilc:2 in 
ld64.so.1[1b9da,3ff87400000+2d000]
[  164.892947] CPU: 1 UID: 0 PID: 3382 Comm: libc6:s390x.pos Not tainted 
6.17.0-8-generic #8-Ubuntu VOLUNTARY 
[  164.892952] Hardware name: IBM 2964 N63 400 (z/VM 6.4.0)
[  164.892954] User PSW : 0705000180000000 000003ff8741b9da
[  164.892957]            R:0 T:1 IO:1 EX:1 Key:0 M:1 W:0 P:1 AS:0 CC:0 PM:0 
RI:0 EA:3
[  164.892962] User GPRS: 000003ff87400350 000003ff87400af8 0000000000000000 
000007ff0e800af8
[  164.892965]            0000000000000013 000003ff8742fdf0 000003ff87400cc0 
000007ff0e800350
[  164.892967]            000003ff87400000 000003ff8742fc40 000003ff87400cc0 
0000000000000039
[  164.892969]            000003ff9aeaefa8 000003ffdb3f7708 000003ff87400af8 
000003ffdb3f7638
[  164.892977] User Code: 000003ff8741b9ce: b90800ae            agr     
%r10,%r14
                          000003ff8741b9d2: a7210004            tmll    %r2,4
                         #000003ff8741b9d6: b9e30727            selgr   
%r2,%r7,%r0,7
                         >000003ff8741b9da: e320f0a00024        stg     
%r2,160(%r15)
                          000003ff8741b9e0: ecea0013a065        clgrj   
%r14,%r10,10,000003ff8741ba06
                          000003ff8741b9e6: e390e0000004        lg      
%r9,0(%r14)
                          000003ff8741b9ec: b9040038            lgr     %r3,%r8
                          000003ff8741b9f0: e330e0100008        ag      
%r3,16(%r14)
[  164.892998] Last Breaking-Event-Address:
[  164.892999]  [<000003ff8741b932>] ld64.so.1[1b932,3ff87400000+2d000]
[  164.893343] User process fault: interruption code 0001 ilc:2 in 
ld64.so.1[1b9da,3ff8af00000+2d000]
[  164.893353] CPU: 2 UID: 0 PID: 3383 Comm: apport Not tainted 
6.17.0-8-generic #8-Ubuntu VOLUNTARY 
[  164.893357] Hardware name: IBM 2964 N63 400 (z/VM 6.4.0)
[  164.893359] User PSW : 0705000180000000 000003ff8af1b9da
[  164.893363]            R:0 T:1 IO:1 EX:1 Key:0 M:1 W:0 P:1 AS:0 CC:0 PM:0 
RI:0 EA:3
[  164.893367] User GPRS: 000003ff8af00350 000003ff8af00af8 0000000000000000 
000007ff15e00af8
[  164.893370]            0000000000000013 000003ff8af2fdf0 000003ff8af00cc0 
000007ff15e00350
[  164.893373]            000003ff8af00000 000003ff8af2fc40 000003ff8af00cc0 
0000000000000039
[  164.893375]            0000000000000000 000003ffd2378b98 000003ff8af00af8 
000003ffd2378ac8
[  164.893381] User Code: 000003ff8af1b9ce: b90800ae            agr     
%r10,%r14
                          000003ff8af1b9d2: a7210004            tmll    %r2,4
                         #000003ff8af1b9d6: b9e30727            selgr   
%r2,%r7,%r0,7
                         >000003ff8af1b9da: e320f0a00024        stg     
%r2,160(%r15)
                          000003ff8af1b9e0: ecea0013a065        clgrj   
%r14,%r10,10,000003ff8af1ba06
                          000003ff8af1b9e6: e390e0000004        lg      
%r9,0(%r14)
                          000003ff8af1b9ec: b9040038            lgr     %r3,%r8
                          000003ff8af1b9f0: e330e0100008        ag      
%r3,16(%r14)
[  164.893402] Last Breaking-Event-Address:
[  164.893404]  [<000003ff8af1b932>] ld64.so.1[1b932,3ff8af00000+2d000]
[  164.893418] coredump: 3383(apport): RLIMIT_CORE is set to 1, aborting core
[  164.895684] User process fault: interruption code 0001 ilc:2 in 
ld64.so.1[1b9da,3ffba500000+2d000]
[  164.895698] CPU: 3 UID: 0 PID: 3384 Comm: postrm Not tainted 
6.17.0-8-generic #8-Ubuntu VOLUNTARY 
[  164.895703] Hardware name: IBM 2964 N63 400 (z/VM 6.4.0)
[  164.895705] User PSW : 0705000180000000 000003ffba51b9da
[  164.895708]            R:0 T:1 IO:1 EX:1 Key:0 M:1 W:0 P:1 AS:0 CC:0 PM:0 
RI:0 EA:3
[  164.895713] User GPRS: 000003ffba500350 000003ffba500af8 0000000000000000 
000007ff74a00af8
[  164.895716]            0000000000000013 000003ffba52fdf0 000003ffba500cc0 
000007ff74a00350
[  164.895718]            000003ffba500000 000003ffba52fc40 000003ffba500cc0 
0000000000000039
[  164.895720]            000003ff9aeaefa8 000003ffdf7770b8 000003ffba500af8 
000003ffdf776fe8
[  164.895727] User Code: 000003ffba51b9ce: b90800ae            agr     
%r10,%r14
                          000003ffba51b9d2: a7210004            tmll    %r2,4
                         #000003ffba51b9d6: b9e30727            selgr   
%r2,%r7,%r0,7
                         >000003ffba51b9da: e320f0a00024        stg     
%r2,160(%r15)
                          000003ffba51b9e0: ecea0013a065        clgrj   
%r14,%r10,10,000003ffba51ba06
                          000003ffba51b9e6: e390e0000004        lg      
%r9,0(%r14)
                          000003ffba51b9ec: b9040038            lgr     %r3,%r8
                          000003ffba51b9f0: e330e0100008        ag      
%r3,16(%r14)
[  164.895754] Last Breaking-Event-Address:
[  164.895756]  [<000003ffba51b932>] ld64.so.1[1b932,3ffba500000+2d000]
[  164.896015] User process fault: interruption code 0001 ilc:2 in 
ld64.so.1[1b9da,3ff8e200000+2d000]
[  164.896025] CPU: 4 UID: 0 PID: 3385 Comm: apport Not tainted 
6.17.0-8-generic #8-Ubuntu VOLUNTARY 
[  164.896029] Hardware name: IBM 2964 N63 400 (z/VM 6.4.0)
[  164.896031] User PSW : 0705000180000000 000003ff8e21b9da
[  164.896034]            R:0 T:1 IO:1 EX:1 Key:0 M:1 W:0 P:1 AS:0 CC:0 PM:0 
RI:0 EA:3
[  164.896038] User GPRS: 000003ff8e200350 000003ff8e200af8 0000000000000000 
000007ff1c400af8
[  164.896041]            0000000000000013 000003ff8e22fdf0 000003ff8e200cc0 
000007ff1c400350
[  164.896044]            000003ff8e200000 000003ff8e22fc40 000003ff8e200cc0 
0000000000000039
[  164.896046]            0000000000000000 000003ffd5b78778 000003ff8e200af8 
000003ffd5b786a8
[  164.896052] User Code: 000003ff8e21b9ce: b90800ae            agr     
%r10,%r14
                          000003ff8e21b9d2: a7210004            tmll    %r2,4
                         #000003ff8e21b9d6: b9e30727            selgr   
%r2,%r7,%r0,7
                         >000003ff8e21b9da: e320f0a00024        stg     
%r2,160(%r15)
                          000003ff8e21b9e0: ecea0013a065        clgrj   
%r14,%r10,10,000003ff8e21ba06
                          000003ff8e21b9e6: e390e0000004        lg      
%r9,0(%r14)
                          000003ff8e21b9ec: b9040038            lgr     %r3,%r8
                          000003ff8e21b9f0: e330e0100008        ag      
%r3,16(%r14)
[  164.896074] Last Breaking-Event-Address:
[  164.896076]  [<000003ff8e21b932>] ld64.so.1[1b932,3ff8e200000+2d000]
[  164.896101] coredump: 3385(apport): RLIMIT_CORE is set to 1, aborting core
[  164.896683] User process fault: interruption code 0001 ilc:2 in 
ld64.so.1[1b9da,3ffabd00000+2d000]
[  164.896696] CPU: 2 UID: 0 PID: 3386 Comm: touch Not tainted 6.17.0-8-generic 
#8-Ubuntu VOLUNTARY 
[  164.896700] Hardware name: IBM 2964 N63 400 (z/VM 6.4.0)
[  164.896702] User PSW : 0705000180000000 000003ffabd1b9da
[  164.896705]            R:0 T:1 IO:1 EX:1 Key:0 M:1 W:0 P:1 AS:0 CC:0 PM:0 
RI:0 EA:3
[  164.896710] User GPRS: 000003ffabd00350 000003ffabd00af8 0000000000000000 
000007ff57a00af8
[  164.896712]            0000000000000013 000003ffabd2fdf0 000003ffabd00cc0 
000007ff57a00350
[  164.896715]            000003ffabd00000 000003ffabd2fc40 000003ffabd00cc0 
0000000000000039
[  164.896717]            000003ffa29aefa8 000003fff80f6df8 000003ffabd00af8 
000003fff80f6d28
[  164.896723] User Code: 000003ffabd1b9ce: b90800ae            agr     
%r10,%r14
                          000003ffabd1b9d2: a7210004            tmll    %r2,4
                         #000003ffabd1b9d6: b9e30727            selgr   
%r2,%r7,%r0,7
                         >000003ffabd1b9da: e320f0a00024        stg     
%r2,160(%r15)
                          000003ffabd1b9e0: ecea0013a065        clgrj   
%r14,%r10,10,000003ffabd1ba06
                          000003ffabd1b9e6: e390e0000004        lg      
%r9,0(%r14)
                          000003ffabd1b9ec: b9040038            lgr     %r3,%r8
                          000003ffabd1b9f0: e330e0100008        ag      
%r3,16(%r14)
[  164.896743] Last Breaking-Event-Address:
[  164.896744]  [<000003ffabd1b932>] ld64.so.1[1b932,3ffabd00000+2d000]
[  164.896967] User process fault: interruption code 0001 ilc:2 in 
ld64.so.1[1b9da,3ffac400000+2d000]
[  164.896977] CPU: 4 UID: 0 PID: 3387 Comm: apport Not tainted 
6.17.0-8-generic #8-Ubuntu VOLUNTARY 
[  164.896981] Hardware name: IBM 2964 N63 400 (z/VM 6.4.0)
[  164.896983] User PSW : 0705000180000000 000003ffac41b9da
[  164.896986]            R:0 T:1 IO:1 EX:1 Key:0 M:1 W:0 P:1 AS:0 CC:0 PM:0 
RI:0 EA:3
[  164.896991] User GPRS: 000003ffac400350 000003ffac400af8 0000000000000000 
000007ff58800af8
[  164.896993]            0000000000000013 000003ffac42fdf0 000003ffac400cc0 
000007ff58800350
[  164.896996]            000003ffac400000 000003ffac42fc40 000003ffac400cc0 
0000000000000039
[  164.896998]            0000000000000000 000003ffd1d781b8 000003ffac400af8 
000003ffd1d780e8
[  164.897004] User Code: 000003ffac41b9ce: b90800ae            agr     
%r10,%r14
                          000003ffac41b9d2: a7210004            tmll    %r2,4
                         #000003ffac41b9d6: b9e30727            selgr   
%r2,%r7,%r0,7
                         >000003ffac41b9da: e320f0a00024        stg     
%r2,160(%r15)
                          000003ffac41b9e0: ecea0013a065        clgrj   
%r14,%r10,10,000003ffac41ba06
                          000003ffac41b9e6: e390e0000004        lg      
%r9,0(%r14)
                          000003ffac41b9ec: b9040038            lgr     %r3,%r8
                          000003ffac41b9f0: e330e0100008        ag      
%r3,16(%r14)
[  164.897025] Last Breaking-Event-Address:
[  164.897027]  [<000003ffac41b932>] ld64.so.1[1b932,3ffac400000+2d000]
[  164.897043] coredump: 3387(apport): RLIMIT_CORE is set to 1, aborting core
[  164.898251] User process fault: interruption code 0001 ilc:2 in 
ld64.so.1[1b9da,3ffb4580000+2d000]
[  164.898261] CPU: 4 UID: 0 PID: 3389 Comm: sh Not tainted 6.17.0-8-generic 
#8-Ubuntu VOLUNTARY 
[  164.898265] Hardware name: IBM 2964 N63 400 (z/VM 6.4.0)
[  164.898268] User PSW : 0705000180000000 000003ffb459b9da
[  164.898271]            R:0 T:1 IO:1 EX:1 Key:0 M:1 W:0 P:1 AS:0 CC:0 PM:0 
RI:0 EA:3
[  164.898276] User GPRS: 000003ffb4580350 000003ffb4580af8 0000000000000000 
000007ff68b00af8
[  164.898279]            0000000000000013 000003ffb45afdf0 000003ffb4580cc0 
000007ff68b00350
[  164.898281]            000003ffb4580000 000003ffb45afc40 000003ffb4580cc0 
0000000000000039
[  164.898284]            000003ffac063b70 000003ffcbe776b8 000003ffb4580af8 
000003ffcbe775e8
[  164.898290] User Code: 000003ffb459b9ce: b90800ae            agr     
%r10,%r14
                          000003ffb459b9d2: a7210004            tmll    %r2,4
                         #000003ffb459b9d6: b9e30727            selgr   
%r2,%r7,%r0,7
                         >000003ffb459b9da: e320f0a00024        stg     
%r2,160(%r15)
                          000003ffb459b9e0: ecea0013a065        clgrj   
%r14,%r10,10,000003ffb459ba06
                          000003ffb459b9e6: e390e0000004        lg      
%r9,0(%r14)
                          000003ffb459b9ec: b9040038            lgr     %r3,%r8
                          000003ffb459b9f0: e330e0100008        ag      
%r3,16(%r14)
[  164.898312] Last Breaking-Event-Address:
[  164.898313]  [<000003ffb459b932>] ld64.so.1[1b932,3ffb4580000+2d000]
[  164.898552] User process fault: interruption code 0001 ilc:2 in 
ld64.so.1[1b9da,3ffb0780000+2d000]
[  164.898563] CPU: 0 UID: 0 PID: 3390 Comm: apport Not tainted 
6.17.0-8-generic #8-Ubuntu VOLUNTARY 
[  164.898567] Hardware name: IBM 2964 N63 400 (z/VM 6.4.0)
[  164.898569] User PSW : 0705000180000000 000003ffb079b9da
[  164.898572]            R:0 T:1 IO:1 EX:1 Key:0 M:1 W:0 P:1 AS:0 CC:0 PM:0 
RI:0 EA:3
[  164.898577] User GPRS: 000003ffb0780350 000003ffb0780af8 0000000000000000 
000007ff60f00af8
[  164.898579]            0000000000000013 000003ffb07afdf0 000003ffb0780cc0 
000007ff60f00350
[  164.898582]            000003ffb0780000 000003ffb07afc40 000003ffb0780cc0 
0000000000000039
[  164.898584]            0000000000000000 000003ffed2f80c8 000003ffb0780af8 
000003ffed2f7ff8
[  164.898590] User Code: 000003ffb079b9ce: b90800ae            agr     
%r10,%r14
                          000003ffb079b9d2: a7210004            tmll    %r2,4
                         #000003ffb079b9d6: b9e30727            selgr   
%r2,%r7,%r0,7
                         >000003ffb079b9da: e320f0a00024        stg     
%r2,160(%r15)
                          000003ffb079b9e0: ecea0013a065        clgrj   
%r14,%r10,10,000003ffb079ba06
                          000003ffb079b9e6: e390e0000004        lg      
%r9,0(%r14)
                          000003ffb079b9ec: b9040038            lgr     %r3,%r8
                          000003ffb079b9f0: e330e0100008        ag      
%r3,16(%r14)
[  164.898610] Last Breaking-Event-Address:
[  164.898611]  [<000003ffb079b932>] ld64.so.1[1b932,3ffb0780000+2d000]
[  164.898625] coredump: 3390(apport): RLIMIT_CORE is set to 1, aborting core
[  164.898999] User process fault: interruption code 0001 ilc:2 in 
ld64.so.1[1b9da,3ff8e680000+2d000]
[  164.899010] CPU: 7 UID: 0 PID: 3392 Comm: sh Not tainted 6.17.0-8-generic 
#8-Ubuntu VOLUNTARY 
[  164.899014] Hardware name: IBM 2964 N63 400 (z/VM 6.4.0)
[  164.899016] User PSW : 0705000180000000 000003ff8e69b9da
[  164.899019]            R:0 T:1 IO:1 EX:1 Key:0 M:1 W:0 P:1 AS:0 CC:0 PM:0 
RI:0 EA:3
[  164.899023] User GPRS: 000003ff8e680350 000003ff8e680af8 0000000000000000 
000007ff1cd00af8
[  164.899026]            0000000000000013 000003ff8e6afdf0 000003ff8e680cc0 
000007ff1cd00350
[  164.899028]            000003ff8e680000 000003ff8e6afc40 000003ff8e680cc0 
0000000000000039
[  164.899030]            000003ffac063b70 000003ffc2176ed8 000003ff8e680af8 
000003ffc2176e08
[  164.899036] User Code: 000003ff8e69b9ce: b90800ae            agr     
%r10,%r14
                          000003ff8e69b9d2: a7210004            tmll    %r2,4
                         #000003ff8e69b9d6: b9e30727            selgr   
%r2,%r7,%r0,7
                         >000003ff8e69b9da: e320f0a00024        stg     
%r2,160(%r15)
                          000003ff8e69b9e0: ecea0013a065        clgrj   
%r14,%r10,10,000003ff8e69ba06
                          000003ff8e69b9e6: e390e0000004        lg      
%r9,0(%r14)
                          000003ff8e69b9ec: b9040038            lgr     %r3,%r8
                          000003ff8e69b9f0: e330e0100008        ag      
%r3,16(%r14)
[  164.899056] Last Breaking-Event-Address:
[  164.899057]  [<000003ff8e69b932>] ld64.so.1[1b932,3ff8e680000+2d000]
[  164.899268] User process fault: interruption code 0001 ilc:2 in 
ld64.so.1[1b9da,3ffa0d00000+2d000]
[  164.899278] CPU: 0 UID: 0 PID: 3393 Comm: apport Not tainted 
6.17.0-8-generic #8-Ubuntu VOLUNTARY 
[  164.899281] Hardware name: IBM 2964 N63 400 (z/VM 6.4.0)
[  164.899283] User PSW : 0705000180000000 000003ffa0d1b9da
[  164.899286]            R:0 T:1 IO:1 EX:1 Key:0 M:1 W:0 P:1 AS:0 CC:0 PM:0 
RI:0 EA:3
[  164.899291] User GPRS: 000003ffa0d00350 000003ffa0d00af8 0000000000000000 
000007ff41a00af8
[  164.899293]            0000000000000013 000003ffa0d2fdf0 000003ffa0d00cc0 
000007ff41a00350
[  164.899296]            000003ffa0d00000 000003ffa0d2fc40 000003ffa0d00cc0 
0000000000000039
[  164.899298]            0000000000000000 000003ffe1a78188 000003ffa0d00af8 
000003ffe1a780b8
[  164.899303] User Code: 000003ffa0d1b9ce: b90800ae            agr     
%r10,%r14
                          000003ffa0d1b9d2: a7210004            tmll    %r2,4
                         #000003ffa0d1b9d6: b9e30727            selgr   
%r2,%r7,%r0,7
                         >000003ffa0d1b9da: e320f0a00024        stg     
%r2,160(%r15)
                          000003ffa0d1b9e0: ecea0013a065        clgrj   
%r14,%r10,10,000003ffa0d1ba06
                          000003ffa0d1b9e6: e390e0000004        lg      
%r9,0(%r14)
                          000003ffa0d1b9ec: b9040038            lgr     %r3,%r8
                          000003ffa0d1b9f0: e330e0100008        ag      
%r3,16(%r14)
[  164.899323] Last Breaking-Event-Address:
[  164.899325]  [<000003ffa0d1b932>] ld64.so.1[1b932,3ffa0d00000+2d000]
[  164.899336] coredump: 3393(apport): RLIMIT_CORE is set to 1, aborting core
[  164.905770] coredump: 3405(apport): RLIMIT_CORE is set to 1, aborting core
[  164.906535] coredump: 3406(apport): RLIMIT_CORE is set to 1, aborting core

Gemini suggests it's an architecture difference (z13 vs. newer version)
on the "selgr" instruction that belongs to Miscellaneous-Instruction-
Extensions Facility 3.

From this table it looks like this is for Z15-
https://www.ibm.com/docs/en/hla-and-tf/1.6.0?topic=instructions-table-all-supported

I am not sure if this is expected.

To revert this I have to:
1. Manually install the libc-bin_2.42-0ubuntu3_s390x.deb 
libc-dev-bin_2.42-0ubuntu3_s390x.deb
2. run sudo apt install --fix-broken to remove the broken 
libc-gconv-modules-extra
3. Manually install the libc6_2.42-0ubuntu3_s390x.deb

ProblemType: Package
DistroRelease: Ubuntu 25.10
Package: libc6 2.42-0ubuntu3
ProcVersionSignature: Ubuntu 6.17.0-8.8-generic 6.17.2
Uname: Linux 6.17.0-8-generic s390x
ApportVersion: 2.33.1-0ubuntu3
Architecture: s390x
CasperMD5CheckResult: pass
CloudArchitecture: s390x
CloudID: none
CloudName: none
CloudPlatform: none
CloudSubPlatform: config
Date: Tue Dec 30 09:08:01 2025
Dependencies:
 gcc-15-base 15.2.0-4ubuntu4
 libc6 2.42-0ubuntu3
 libgcc-s1 15.2.0-4ubuntu4
 libidn2-0 2.3.8-4
 libunistring5 1.3-2
Df:
 
Dmesg:
 
ErrorMessage: new libc6:s390x package post-removal script subprocess was killed 
by signal (Illegal instruction), core dumped
InstallationDate: Installed on 2021-10-19 (1533 days ago)
InstallationMedia: Ubuntu-Server 21.10 "Impish Indri" - Release s390x (20211013)
Python3Details: /usr/bin/python3.13, Python 3.13.7, python3-minimal, 3.13.7-1
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.22.21ubuntu3.1
 apt  3.1.6ubuntu2
SourcePackage: glibc
Title: package libc6 2.42-0ubuntu3 failed to install/upgrade: new libc6:s390x 
package post-removal script subprocess was killed by signal (Illegal 
instruction), core dumped
UpgradeStatus: Upgraded to questing on 2025-12-30 (0 days ago)

** Affects: glibc (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-package questing s390x

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2137253

Title:
  package libc6 2.42-0ubuntu3 failed to install/upgrade: new libc6:s390x
  package post-removal script subprocess was killed by signal (Illegal
  instruction), core dumped

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/2137253/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to