← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2129170] [NEW] libc6=2.39-0ubuntu8.6 fails to install in preinst

 

Public bug reported:

sudo apt-get install libc6=2.39-0ubuntu8.6

fails on Ubuntu 24.04 (Noble) riscv64 with

$ sudo apt-get install libc6=2.39-0ubuntu8.6
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  cheese-common gnome-video-effects gstreamer1.0-clutter-3.0 libcheese-gtk25 libcheese8 libclutter-1.0-0
  libclutter-1.0-common libclutter-gst-3.0-0 libclutter-gtk-1.0-0 libcogl-common libcogl-pango20 libcogl-path20
  libcogl20
Use 'sudo apt autoremove' to remove them.
Suggested packages:
  glibc-doc libnss-nis libnss-nisplus
The following packages will be upgraded:
  libc6
1 upgraded, 0 newly installed, 0 to remove and 140 not upgraded.
5 not fully installed or removed.
Need to get 2777 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://ports.ubuntu.com/ubuntu-ports noble-updates/main riscv64 libc6 riscv64 2.39-0ubuntu8.6 [2777 kB]
Fetched 2777 kB in 1s (1943 kB/s)
Preconfiguring packages ...
(Reading database ... 174908 files and directories currently installed.)
Preparing to unpack .../libc6_2.39-0ubuntu8.6_riscv64.deb ...
/var/lib/dpkg/tmp.ci/preinst: 8: arithmetic expression: expecting EOF: "2024 * 100 + 08"
dpkg: error processing archive /var/cache/apt/archives/libc6_2.39-0ubuntu8.6_riscv64.deb (--unpack):
 new libc6:riscv64 package pre-installation script subprocess returned error exit status 2
Errors were encountered while processing:
 /var/cache/apt/archives/libc6_2.39-0ubuntu8.6_riscv64.deb
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)

** Affects: glibc (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to glibc in Ubuntu.
https://bugs.launchpad.net/bugs/2129170

Title:
  libc6=2.39-0ubuntu8.6 fails to install in preinst

Status in glibc package in Ubuntu:
  New

Bug description:
  sudo apt-get install libc6=2.39-0ubuntu8.6

  fails on Ubuntu 24.04 (Noble) riscv64 with

  $ sudo apt-get install libc6=2.39-0ubuntu8.6
  Reading package lists... Done
  Building dependency tree... Done
  Reading state information... Done
  The following packages were automatically installed and are no longer required:
    cheese-common gnome-video-effects gstreamer1.0-clutter-3.0 libcheese-gtk25 libcheese8 libclutter-1.0-0
    libclutter-1.0-common libclutter-gst-3.0-0 libclutter-gtk-1.0-0 libcogl-common libcogl-pango20 libcogl-path20
    libcogl20
  Use 'sudo apt autoremove' to remove them.
  Suggested packages:
    glibc-doc libnss-nis libnss-nisplus
  The following packages will be upgraded:
    libc6
  1 upgraded, 0 newly installed, 0 to remove and 140 not upgraded.
  5 not fully installed or removed.
  Need to get 2777 kB of archives.
  After this operation, 0 B of additional disk space will be used.
  Get:1 http://ports.ubuntu.com/ubuntu-ports noble-updates/main riscv64 libc6 riscv64 2.39-0ubuntu8.6 [2777 kB]
  Fetched 2777 kB in 1s (1943 kB/s)
  Preconfiguring packages ...
  (Reading database ... 174908 files and directories currently installed.)
  Preparing to unpack .../libc6_2.39-0ubuntu8.6_riscv64.deb ...
  /var/lib/dpkg/tmp.ci/preinst: 8: arithmetic expression: expecting EOF: "2024 * 100 + 08"
  dpkg: error processing archive /var/cache/apt/archives/libc6_2.39-0ubuntu8.6_riscv64.deb (--unpack):
   new libc6:riscv64 package pre-installation script subprocess returned error exit status 2
  Errors were encountered while processing:
   /var/cache/apt/archives/libc6_2.39-0ubuntu8.6_riscv64.deb
  needrestart is being skipped since dpkg has failed
  E: Sub-process /usr/bin/dpkg returned an error code (1)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/2129170/+subscriptions



Follow ups