View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0007280||Kali Linux||[All Projects] Kali Package Bug||public||2021-08-10 07:47||2021-08-27 12:38|
|Target Version||Fixed in Version|
|Summary||0007280: Glibc cannot be installed or upgrade|
|Description||Whenever 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
Screenshot_20210810-122538_NetHunter_Terminal.png (312,761 bytes)
||Haven't seen that before. What's your device, image, and kernel version?|
||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.|
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
||can't do that because Lineage is officially maintained by their developer. thanks for the help|
||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|
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.
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.
|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|