View Issue Details

IDProjectCategoryView StatusLast Update
0007280Kali LinuxKali Package Bugpublic2022-08-15 10:43
Reporterr1y4d Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionopen 
Product Version2021.2 
Summary0007280: 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

Attached Files

Activities

re4son

re4son

2021-08-27 11:16

manager   ~0015038

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

r1y4d

r1y4d

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.

re4son

re4son

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

r1y4d

r1y4d

2021-08-27 12:15

reporter   ~0015041

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

r1y4d

r1y4d

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

re4son

re4son

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.

re4son

re4son

2021-08-27 12:38

manager   ~0015044

fyi, here's a recent discussion on the kernel mailing list:
https://lore.kernel.org/lkml/7pR0YCctzN9phpuEChlL7_SS6auHOM80bZBcGBTZPuMkc6XjKw7HUXf9vZUPi-IaV2gTtsRVXgywQbja8xpzjGRDGWJsVYSGQN5sNuX1yaQ=@protonmail.com/T/

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.

g0tmi1k

g0tmi1k

2022-08-15 10:43

administrator   ~0016571

This report has been filed against an old version of Kali. We will be closing this ticket due to inactivity.

Please could you see if you are able to replicate this issue with the latest version of Kali Linux (https://www.kali.org/get-kali/)?

If you are still facing the same problem, feel free to re-open the ticket. If you choose to do this, could you provide more information to the issue you are facing, and also give information about your setup?
For more information, please read: https://www.kali.org/docs/community/submitting-issues-kali-bug-tracker/

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
2022-08-15 10:43 g0tmi1k Note Added: 0016571
2022-08-15 10:43 g0tmi1k Status new => closed