Zypper 完全无法工作

Zypper 完全无法工作

我在尝试zypper以任何形式运行时遇到了突然的错误:

zypper: symbol lookup error: /usr/lib64/libzypp.so.908: undefined symbol: gzdopen

不太确定如何解决这个问题,因为当我尝试安装最新的 libzypp 包时,它要求我提供大量依赖项:

sudo rpm -i --force http://widehat.opensuse.org/opensuse/update/leap/15.0/oss/x86_64/libzypp-17.6.4-lp150.2.3.1.x86_64.rpm

error: Failed dependencies:
        libboost_thread.so.1.66.0()(64bit) is needed by libzypp-17.6.4-lp150.2.3.1.x86_64
        libc.so.6(GLIBC_2.14)(64bit) is needed by libzypp-17.6.4-lp150.2.3.1.x86_64
        libc.so.6(GLIBC_2.15)(64bit) is needed by libzypp-17.6.4-lp150.2.3.1.x86_64
        libc.so.6(GLIBC_2.16)(64bit) is needed by libzypp-17.6.4-lp150.2.3.1.x86_64
        libcrypto.so.1.1()(64bit) is needed by libzypp-17.6.4-lp150.2.3.1.x86_64
        libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) is needed by libzypp-17.6.4-lp150.2.3.1.x86_64
        libproxy.so.1()(64bit) is needed by libzypp-17.6.4-lp150.2.3.1.x86_64
        librpm.so.8()(64bit) is needed by libzypp-17.6.4-lp150.2.3.1.x86_64
        libsolv-tools = 0.6.35 is needed by libzypp-17.6.4-lp150.2.3.1.x86_64
        libstdc++.so.6(GLIBCXX_3.4.18)(64bit) is needed by libzypp-17.6.4-lp150.2.3.1.x86_64
        libstdc++.so.6(GLIBCXX_3.4.19)(64bit) is needed by libzypp-17.6.4-lp150.2.3.1.x86_64
        libstdc++.so.6(GLIBCXX_3.4.20)(64bit) is needed by libzypp-17.6.4-lp150.2.3.1.x86_64
        libstdc++.so.6(GLIBCXX_3.4.21)(64bit) is needed by libzypp-17.6.4-lp150.2.3.1.x86_64
        libstdc++.so.6(GLIBCXX_3.4.22)(64bit) is needed by libzypp-17.6.4-lp150.2.3.1.x86_64
        libudev.so.1()(64bit) is needed by libzypp-17.6.4-lp150.2.3.1.x86_64
        libudev.so.1(LIBUDEV_183)(64bit) is needed by libzypp-17.6.4-lp150.2.3.1.x86_64
        rpmlib(FileDigests) <= 4.6.0-1 is needed by libzypp-17.6.4-lp150.2.3.1.x86_64

答案1

结束问题。显然,系统的整个 /usr 相关配置已损坏,因此我必须进行备份。

没有任何方法可以解决 zypper 崩溃问题 - 似乎在安装库/模块时的某个时候强制使用不兼容的版本,这导致了无法修复的损坏。

相关内容