openSUSE 15.3から15.4にアップグレードした後、zypper(およびyast)が機能しなくなりました。

openSUSE 15.3から15.4にアップグレードした後、zypper(およびyast)が機能しなくなりました。

今日私のラップトップをopenSUSE 15.3から15.4にアップグレードしました。この過程で提供できない関連要件に対するプロンプトがたくさんありました。

アップグレードプロセスを実行した後、複数のリポジトリURLが変更され再起動され、次のエラーメッセージがsudo zypper verify表示されます。sudo zypper ref && sudo zypper up

zypper: symbol lookup error: /usr/lib64/libzypp.so.1722: undefined symbol: _ZN4YAML6detail9node_data12empty_scalarB5cxx11

また、Yastでは最初の画面以上に移動できないという事実も発見しました。ソフトウェア管理またはコントロールセンターの他の項目をクリックすると、シェーカーは数秒間回転しますが、何も起こりません。

出力rpm -q libzypp

libzypp-17.31.2-150200.45.1.x86_64

出力rpm -q zypper

zypper-1.14.57-150200.39.1.x86_64

出力rpm -q -i libzypp zypper

Name        : libzypp
Version     : 17.31.2
Release     : 150200.45.1
Architecture: x86_64
Install Date: Fri 14 Oct 2022 19:24:59 CEST
Group       : System/Packages
Size        : 10145384
License     : GPL-2.0-or-later
Signature   : RSA/SHA256, Thu 06 Oct 2022 16:21:42 CEST, Key ID 70af9e8139db7c82
Source RPM  : libzypp-17.31.2-150200.45.1.src.rpm
Build Date  : Thu 06 Oct 2022 16:15:12 CEST
Build Host  : sheep16
Relocations : (not relocatable)
Packager    : https://www.suse.com/
Vendor      : SUSE LLC <https://www.suse.com/>
URL         : https://github.com/openSUSE/libzypp
Summary     : Library for package, patch, pattern and product management
Description :
libzypp is the package management library that powers applications
like YaST, zypper and the openSUSE/SLE implementation of PackageKit.

libzypp provides functionality for a package manager:

  * An API for package repository management, supporting most common
    repository metadata formats and signed repositories.
  * An API for solving packages, products, patterns and patches
    (installation, removal, update and distribution upgrade
    operations) dependencies, with additional features like locking.
  * An API for commiting the transaction to the system over a rpm
    target. Supporting deltarpm calculation, media changing and
    installation order calculation.
  * An API for browsing available and installed software, with some
    facilities for programs with an user interface.
Distribution: SUSE Linux Enterprise 15
Name        : zypper
Version     : 1.14.57
Release     : 150200.39.1
Architecture: x86_64
Install Date: Fri 14 Oct 2022 19:25:00 CEST
Group       : System/Packages
Size        : 8306495
License     : GPL-2.0-or-later
Signature   : RSA/SHA256, Thu 06 Oct 2022 16:31:56 CEST, Key ID 70af9e8139db7c82
Source RPM  : zypper-1.14.57-150200.39.1.src.rpm
Build Date  : Thu 06 Oct 2022 16:30:31 CEST
Build Host  : sheep28
Relocations : (not relocatable)
Packager    : https://www.suse.com/
Vendor      : SUSE LLC <https://www.suse.com/>
URL         : https://github.com/openSUSE/zypper
Summary     : Command line software manager using libzypp
Description :
Zypper is a command line tool for managing software. It can be used to add
package repositories, search for packages, install, remove, or update packages,
install patches, hardware drivers, verify dependencies, and more.

Zypper can be used interactively or non-interactively by user, from scripts,
or front-ends.

Authors:
--------
    Jan Kupec <[email protected]>
    Michael Andres <[email protected]>
    Duncan Mac-Vicar <[email protected]>
    Martin Vidner <[email protected]>
    Josef Reidinger <[email protected]>
Distribution: SUSE Linux Enterprise 15

私も気づいたこのlibzyppページ説明する、

openSUSE Leap 15.4に使用できる公式パッケージはありません。

この問題を解決し、zypper(およびYast)が再び機能するようにする方法はありますか?

ベストアンサー1

この問題に関する最新情報を提供できますか?私は同じエラーが発生し、rpm -qはzypperとlibzyppの同じバージョンを示しました。効果的な解決策を見つけたのだろうか?ありがとうございます!

更新:このドキュメントでrpmコマンドを見つけて実行すると、zypperは通常の動作を再開します。https://www.suse.com/support/kb/doc/?id=000020725

提案された手順は次のとおりです。

sudo rpm -Uhv https://download.opensuse.org/update/leap/15.4/sle/x86_64/\
libyaml-cpp0_6-0.6.3-150400.4.3.1.x86_64.rpm

おすすめ記事