package locales 2.39-0ubuntu8.2 failed to install/upgrade: installed locales package post-installation script subprocess returned error exit status 127

Bug #2067604 reported by Anish Dev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
glibc (Ubuntu)
New
Undecided
Unassigned

Bug Description

sudo apt upgrade gives this output

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  fonts-opensymbol libabw-0.1-1 libboost-iostreams1.83.0 libboost-locale1.83.0
  libboost-thread1.83.0 libc-dev-bin libc-devtools libcdr-0.1-1
  libclucene-contribs1t64 libclucene-core1t64 libcolamd3 libcrypt-dev
  libe-book-0.1-1 libeot0 libepubgen-0.1-1 libetonyek-0.1-1
  libexttextcat-2.0-0 libexttextcat-data libfreehand-0.1-1 liblangtag-common
  liblangtag1 libmhash2 libmspub-0.1-1 libmwaw-0.3-3 libmythes-1.2-0
  libodfgen-0.1-1 liborcus-0.18-0 liborcus-parser-0.18-0 libpagemaker-0.0-0
  libraptor2-0 librasqal3t64 librdf0t64 librevenge-0.0-0 libsuitesparseconfig7
  libuno-cppu3t64 libuno-cppuhelpergcc3-3t64 libuno-purpenvhelpergcc3-3t64
  libuno-sal3t64 libuno-salhelpergcc3-3t64 libvisio-0.1-1 libwpd-0.10-10
  libwpg-0.3-3 libwps-0.4-4 libxmlsec1t64 libxmlsec1t64-nss libyajl2
  linux-libc-dev lp-solve rpcsvc-proto uno-libs-private ure
Use 'sudo apt autoremove' to remove them.
Get another security update through Ubuntu Pro with 'esm-apps' enabled:
  libcjson1
Learn more about Ubuntu Pro at https://ubuntu.com/pro
The following packages have been kept back:
  libc6
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Inconsistency detected by ld.so: ../sysdeps/x86_64/dl-machine.h: 503: elf_machine_rela_relative: Assertion `ELFW(R_TYPE) (reloc->r_info) == R_X86_64_RELATIVE' failed!
Setting up locales (2.39-0ubuntu8.2) ...
Inconsistency detected by ld.so: ../sysdeps/x86_64/dl-machine.h: 503: elf_machin
e_rela_relative: Assertion `ELFW(R_TYPE) (reloc->r_info) == R_X86_64_RELATIVE' f
ailed!
dpkg: error processing package locales (--configure):
 installed locales package post-installation script subprocess returned error ex
it status 127
Setting up ubuntu-pro-client (32.3~24.04) ...
Inconsistency detected by ld.so: ../sysdeps/x86_64/dl-machine.h: 503: elf_machin
e_rela_relative: Assertion `ELFW(R_TYPE) (reloc->r_info) == R_X86_64_RELATIVE' f
ailed!
dpkg: error processing package ubuntu-pro-client (--configure):
 installed ubuntu-pro-client package post-installation script subprocess returne
d error exit status 127
dpkg: dependency problems prevent configuration of ubuntu-pro-client-l10n:
 ubuntu-pro-client-l10n depends on ubuntu-pro-client (= 32.3~24.04); however:
  Package ubuntu-pro-client is not configured yet.

dpkg: error processing package ubuntu-pro-client-l10n (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup erro
r from a previous failure.
                          Errors were encountered while processing:
 locales
 ubuntu-pro-client
 ubuntu-pro-client-l10n
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 24.04
Package: locales 2.39-0ubuntu8.2
ProcVersionSignature: Ubuntu 6.8.0-31.31-generic 6.8.1
Uname: Linux 6.8.0-31-generic x86_64
ApportVersion: 2.28.1-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: pass
Date: Thu May 30 17:03:53 2024
ErrorMessage: installed locales package post-installation script subprocess returned error exit status 127
InstallationDate: Installed on 2023-09-24 (249 days ago)
InstallationMedia: Ubuntu 23.04 "Lunar Lobster" - Release amd64 (20230418)
PackageArchitecture: all
Python3Details: /usr/bin/python3.12, Python 3.12.3, python3-minimal, 3.12.3-0ubuntu1
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.22.6ubuntu6
 apt 2.7.14build2
SourcePackage: glibc
Title: package locales 2.39-0ubuntu8.2 failed to install/upgrade: installed locales package post-installation script subprocess returned error exit status 127
UpgradeStatus: Upgraded to noble on 2024-05-28 (2 days ago)

Revision history for this message
Anish Dev (anishdev) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.