![在 21.10 上升级 linux-headers-5.13.0-40 时 ztsd 崩溃](https://linux22.com/image/1026857/%E5%9C%A8%2021.10%20%E4%B8%8A%E5%8D%87%E7%BA%A7%20linux-headers-5.13.0-40%20%E6%97%B6%20ztsd%20%E5%B4%A9%E6%BA%83.png)
我正在我的 Ubuntu Server 21.10 机器上运行sudo apt dist-upgrade
,准备升级到新的 22.04 Jammy Jellyfish,但不幸的是,我在安装软件包时遇到了错误linux-headers-5.13.0-40
。
更奇怪的是,每次的错误都不一样!以下是我到目前为止看到的错误消息:
zstd: ../lib/compress/zstd_opt.c:651: ZSTD_insertBtAndGetAllMatches: Assertion `memcmp(match, ip, matchLength) == 0' failed.
Caught SIGABRT signal, printing stack:
/lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0xf8) [0x7fb57eb10828]
/lib/x86_64-linux-gnu/libc.so.6(raise+0x16) [0x7fb57eabc476]
/lib/x86_64-linux-gnu/libc.so.6(abort+0xd7) [0x7fb57eaa27b7]
/lib/x86_64-linux-gnu/libc.so.6(+0x286db) [0x7fb57eaa26db]
/lib/x86_64-linux-gnu/libc.so.6(+0x39e26) [0x7fb57eab3e26]
zstd(+0x5c34e) [0x55b92341d34e]
zstd(+0x10d8b) [0x55b9233d1d8b]
zstd(+0x10e86) [0x55b9233d1e86]
zstd(+0x1281a) [0x55b9233d381a]
zstd(+0x6aeb9) [0x55b92342beb9]
zstd(+0xa539) [0x55b9233cb539]
/lib/x86_64-linux-gnu/libc.so.6(+0x94947) [0x7fb57eb0e947]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x44) [0x7fb57eb9ea44]
Aborted (core dumped)
E: mkinitramfs failure zstd -q -19 -T0 134
zstd: ../lib/compress/zstd_opt.c:646: ZSTD_insertBtAndGetAllMatches: Assertion `curr > matchIndex' failed.
Caught SIGABRT signal, printing stack:
/lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0xf8) [0x7fa3d02ac828]
/lib/x86_64-linux-gnu/libc.so.6(raise+0x16) [0x7fa3d0258476]
/lib/x86_64-linux-gnu/libc.so.6(abort+0xd7) [0x7fa3d023e7b7]
/lib/x86_64-linux-gnu/libc.so.6(+0x286db) [0x7fa3d023e6db]
/lib/x86_64-linux-gnu/libc.so.6(+0x39e26) [0x7fa3d024fe26]
zstd(+0x5c310) [0x55eab6030310]
zstd(+0x10d8b) [0x55eab5fe4d8b]
zstd(+0x10e86) [0x55eab5fe4e86]
zstd(+0x1281a) [0x55eab5fe681a]
zstd(+0x6aeb9) [0x55eab603eeb9]
zstd(+0xa539) [0x55eab5fde539]
/lib/x86_64-linux-gnu/libc.so.6(+0x94947) [0x7fa3d02aa947]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x44) [0x7fa3d033aa44]
Aborted (core dumped)
E: mkinitramfs failure zstd -q -19 -T0 134
它会在这两个错误之间随机切换。它们似乎都与有关zstd
,所以我尝试了sudo apt install --reinstall zstd
,但这似乎没有帮助。
如果我无法安装此软件包更新,我就无法升级到 22.04。系统信息:
uname -a
:Linux SERVER_NAME 5.13.0-41-generic #46-Ubuntu SMP Thu Apr 14 20:06:04 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
- 中央处理器:
AMD Ryzen 5 3600 6-Core Processor
- 内存:32GB DDR4
- 操作系统:
Ubuntu 21.10
有人可以帮忙吗?