PDA

View Full Version : Unable to install libc6 (Kernel must be upgraded) - Error



widgetfork
2018-02-12, 04:48
When performing an apt-get upgrade, i receive:

Kernel must be upgraded. This version of the GNU libc requires kernel version 3.2 or later. Please upgrade your kernel before installing glibc
when the upgrade attemps to install libc6.

I'm also stuck in a dependency loop and am unable to apt-get anything, example:

apt-get install xsltproc
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
libc-dev-bin : Depends: libc6 (> 2.26) but 2.19-18 is to be installed
libc6-dev : Depends: libc6 (= 2.26-4) but 2.19-18 is to be installed
locales : Depends: libc-bin (> 2.26) but 2.19-18 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

My /etc/apt/sources.list is as follows:

deb http://http.kali.org/kali kali-rolling main contrib non-free

Does anyone know what i can try to resolve this issue?

widgetfork
2018-02-13, 03:39
Ok, issue resolved. The issue is my Android kernel has no recent updates so i'm stuck in an old version. I did the following to resolve the issue:
1. Uninstall chroot and completely uninstall nethunter
2. Reinstall nethunter and chroot
3. Change repo to:
deb http://old.kali.org/kali sana main non-free contrib
and remove all other repo's
4. apt-get update
5. apt-get upgrade