SUSE Support

Here When You Need Us

SLES 15 OS upgrade failed because of pango-32bit-1.26.2-1.3.1.x86_64 package

This document (000021350) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 15 all Service Packs
SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise Server 12 SP4

Situation

While upgrading SLES15 to a higher service pack, the following error message was returned, and the OS upgrade failed:
(100/523) Removing pango-32bit-1.26.2-1.3.1.x86_64 [..
usr/bin/pango-querymodules: error while loading shared libraries: libxcb-xlib.so.0: cannot open shared object file: No such file or directory
error: %preun(pango-32bit-1.26.2-1.3.1.x86_64) scriptlet failed, exit status 127
error: pango-32bit-1.26.2-1.3.1.x86_64: erase failed
.error]
Abort, retry, ignore? [a/r/i] (a): a
Warning: %posttrans scripts skipped while aborting:
systemd-presets-common-SUSE-15-150500.20.3.1.noarch
The problem package, pango-32bit-1.26.2-1.3.1.x86_64, could also not be removed manually using the zypper remove command.
#zypper remove pango-32bit
Reading installed packages...
Resolving package dependencies...

The following package is going to be REMOVED:
pango-32bit

1 package to remove.
After the operation, 788.7 KiB will be freed.
Continue? [y/n/v/...? shows all options] (y): y
usr/bin/pango-querymodules: error while loading shared libraries: libxcb-xlib.so.0: cannot open shared object file: No such file or directory
error: %preun(pango-32bit-1.26.2-1.3.1.x86_64) scriptlet failed, exit status 127
error: pango-32bit-1.26.2-1.3.1.x86_64: erase failed
(1/1) Removing pango-32bit-1.26.2-1.3.1.x86_64 .....................................................................................................................................................................................................................[error]
Removal of (1470)pango-32bit-1.26.2-1.3.1.x86_64(@System) failed:
Error: Subprocess failed. Error: RPM failed: Command exited with status 1.
Abort, retry, ignore? [a/r/i] (a): a
Problem occurred during or after installation or removal of packages:
Installation has been aborted as directed.
Please see the above error message for a hint.

Resolution

To manually remove the problem pango package, use the following command:
rpm -e --nodeps --noscripts  pango-32bit-1.26.2-1.3.1.x86_64

Cause

The pango-32bit package is not shipped with SLES12 or SLES15, but sometimes can still be present on customer systems for various reasons, ex. the system was upgraded from SLES11 to SLES12 or SLES15.
pango-32bit                         SUSE Linux Enterprise 11            1.26.2-1.3.1
This library issue is fixed in pango-32bit version 1.26.2-1.7.1 and higher, so if the package is required for some reason, upgrade to the newer version.  If pango-32bit cannot be upgraded to version 1.26.2-1.7.1 or higher, it is required to remove this package manually using rpm command above.

See also TID 000018855 - https://www.suse.com/support/kb/doc/?id=000018855

Additional Information

The command rpm -e --force pango-32bit-1.26.2-1.3.1.x86_64 will not work in SLES12 and SLES15, and will return the following error message:
 
# rpm -e --force pango-32bit-1.26.2-1.3.1.x86_64
rpm: only installation and upgrading may be forced

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:000021350
  • Creation Date: 08-Feb-2024
  • Modified Date:12-Mar-2024
    • SUSE Linux Enterprise Server
    • SUSE Linux Enterprise Server for SAP Applications

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.