For me, for the first time in almost a decade, this error occurred on
Ubuntu 16.04 LTS Pro / ESM on February 18, 2026:

--------------

$ sudo apt -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  libc6
Suggested packages:
  glibc-doc
The following packages will be upgraded:
  libc6
1 upgraded, 0 newly installed, 0 to remove and 24 not upgraded.
4 not fully installed or removed.
Need to get 0 B/2,584 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Preconfiguring packages ...
(Reading database ... 277814 files and directories currently installed.)
Preparing to unpack .../libc6_2.23-0ubuntu11.3+esm9_amd64.deb ...
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.23-0ubuntu11.3+esm9_amd64.deb (--unpack):
 subprocess new pre-installation script returned error exit status 1
Processing triggers for libc-bin (2.23-0ubuntu11.3+esm9) ...
Errors were encountered while processing:
 /var/cache/apt/archives/libc6_2.23-0ubuntu11.3+esm9_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

----------

`uname -r` reports: 4.19.325-0419325-generic

Luckily pioneers here and elsewhere have already worked out the bug-fix.
Ubuntu 24.04 LTS with Kernel 6.14 is already installed on a new
partition for porting Python / Xorg applications, so the bug isn't a big
deal.

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

Title:
  preinst check that kernel revision < 255 now does more harm than good

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to