Public bug reported:

When running in docker in (for example) AWS CodeBuild, the output from
`uname -r` can include kernel version that the debhelper.in/libc.preinst
(lines 140-152) dislikes when you upgrade `libc6`.

Debian claim to have removed the offending section in glibc/2.31-14.
See: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=987266

Please can we have this fix ported into 20.04 Focal?

Full Error:
-----------------------------------------------------------------------
ERROR: Your kernel version indicates a revision number
of 255 or greater.  Glibc has a number of built in
assumptions that this revision number is less than 255.
If you\'ve built your own kernel, please make sure that any
custom version numbers are appended to the upstream
kernel number with a dash or some other delimiter.

dpkg: error processing archive 
/var/cache/apt/archives/libc6_2.31-0ubuntu9.7_amd64.deb (--unpack):
new libc6:amd64 package pre-installation script subprocess returned error exit 
status 1
Errors were encountered while processing:
 /var/cache/apt/archives/libc6_2.31-0ubuntu9.7_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
-----------------------------------------------------------------------
# lsb_release -rd
Description:    Ubuntu 20.04.4 LTS
Release:        20.04

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

** Affects: glibc (Debian)
     Importance: Unknown
         Status: Unknown

** Bug watch added: Debian Bug tracker #987266
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=987266

** Also affects: glibc (Debian) via
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=987266
   Importance: Unknown
       Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1962606

Title:
  preinst check for kernel release > 255 no longer needed

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to