View Issue Details

IDProjectCategoryView StatusLast Update
0007280Kali Linux[All Projects] Kali Package Bugpublic2021-08-27 12:38
Reporterr1y4d Assigned To 
Status newResolutionopen 
Product Version2021.2 
Target VersionFixed in Version 
Summary0007280: Glibc cannot be installed or upgrade
DescriptionWhenever i m trying to upgrade there is a 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.

My device is an Android ARM64 device.
Kernel version 4.4.277
I have attached a snapshot



2021-08-10 07:47


Screenshot_20210810-122538_NetHunter_Terminal.png (312,761 bytes)


2021-08-27 11:16

manager   ~0015038

Haven't seen that before. What's your device, image, and kernel version?


2021-08-27 11:45

reporter   ~0015039

I am using realme 2 pro, Android 10, kernel version is now 4.4.273-lineageos ,Architecture (AARCH64/ARM64 ). seems like the issue is related to kernel version or revision number i tried with an custom kernel which is 4.4.254 and the issue is gone.


2021-08-27 11:52

manager   ~0015040

That's correct.
Both, the PATCHLEVEL= and SUBLEVEL= numbers are hardcoded as as 8-bits in both kernel source and userspace ABI, i.e. they must be within 0-255

Hope that helps


2021-08-27 12:15

reporter   ~0015041

can't do that because Lineage is officially maintained by their developer. thanks for the help


2021-08-27 12:21

reporter   ~0015042

and aosp kernels are also getting same type of revision number which is more than 255!! so i think the packages should be update their dependency too


2021-08-27 12:29

manager   ~0015043

That would require to change the entire linux eco system. Easier to compile kernels correctly according to specs.
Do you have any contact details for that kernel. I can let the author know.


2021-08-27 12:38

manager   ~0015044

fyi, here's a recent discussion on the kernel mailing list:

As you can see, the issue is so wide spread throughout user space that it is easier for the kernel devs to just stick with 255 as the upper limit. Fyi, none of the affected packages are maintained by us so changes would have to be made upstream.

Android apps are probably not affected by this at all, that's why the LineageOS people may not know about the limitations. Might be easier to just recompile the kernel.

Issue History

Date Modified Username Field Change
2021-08-10 07:47 r1y4d New Issue
2021-08-10 07:47 r1y4d File Added: Screenshot_20210810-122538_NetHunter_Terminal.png
2021-08-27 11:16 re4son Note Added: 0015038
2021-08-27 11:45 r1y4d Note Added: 0015039
2021-08-27 11:52 re4son Note Added: 0015040
2021-08-27 12:15 r1y4d Note Added: 0015041
2021-08-27 12:21 r1y4d Note Added: 0015042
2021-08-27 12:29 re4son Note Added: 0015043
2021-08-27 12:38 re4son Note Added: 0015044