Hello, i am new here.

Just note:
- i install kali linux alongside windows 7, UEFI (Windwos Boot Manager).
- Partition structure : sda5 ( /boot ), sda6 ( / ), sda7 ( /home ), sda8 ( swap area )
- Install GRUB boot loader on sda5

I want install: apt apache2 mysql-server mysql-client php5 phpmyadmin.
after apache2 installation completed, mysql-server cannot be installed because not installation candidate.
so i add another repository, i search on google then i get one (sana repository).

When i try installing mysql-server again, i got an error

Code:
The following packages have unmet dependencies:
 gstreamer1.0-plugins-base : Breaks: gstreamer1.0-plugins-bad (< 1.11.90) but 1.6.2-1 is to be installed
 libgstreamer-plugins-base1.0-0 : Breaks: gstreamer1.0-plugins-bad (< 1.7.1) but 1.6.2-1 is to be installed
 libgstreamer1.0-0 : Breaks: gstreamer1.0-plugins-bad (< 1.11.1) but 1.6.2-1 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
I think i must install gstreamer1.0-plugins-bad, there is no plugins-base. So, i install it (and it is really bad).
A moment it look like normal installation until this:

Code:
Get:150 http://ftp.yzu.edu.tw/Linux/kali kali-rolling/main i386 openmpi-common all 2.1.1-7 [154 kB]                                                  
Get:151 http://ftp.yzu.edu.tw/Linux/kali kali-rolling/main i386 openmpi-bin i386 2.1.1-7 [189 kB]    
Get:152 http://ftp.yzu.edu.tw/Linux/kali kali-rolling/main i386 proj-bin i386 4.9.3-2 [60.8 kB]                                                      
Fetched 136 MB in 24min 44s (91.6 kB/s)                                                                                                              
Reading changelogs... Done
fontconfig (2.12.3-0.2) unstable; urgency=medium

  Starting with version 2.12, fontconfig is using "Slight" (hintslight) as
  automatic hinting style. This might change the rendering of the fonts.

  If you want the to restore the old hinting, run "dpkg-reconfigure
  fontconfig-config" and select "Full" as hinting style.

 -- Laurent Bigonville <[email protected]>  Tue, 04 Jul 2017 21:10:57 +0200

apt-listchanges: Mailing root: apt-listchanges: news for root
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 299327 files and directories currently installed.)
Preparing to unpack .../libc-l10n_2.25-2_all.deb ...
Unpacking libc-l10n (2.25-2) over (2.21-6) ...
Preparing to unpack .../locales_2.25-2_all.deb ...
Unpacking locales (2.25-2) over (2.21-6) ...
Preparing to unpack .../locales-all_2.25-2_i386.deb ...
Unpacking locales-all (2.25-2) over (2.21-6) ...
Preparing to unpack .../archives/libc6_2.25-2_i386.deb ...
Checking for services that may need to be restarted...
Checking init scripts...
Unpacking libc6:i386 (2.25-2) over (2.21-6) ...
Setting up libc6:i386 (2.25-2) ...
Installing new version of config file /etc/ld.so.conf.d/i386-linux-gnu.conf ...
dpkg: error processing package libc6:i386 (--configure):
 subprocess installed post-installation script was killed by signal (Segmentation fault)
Errors were encountered while processing:
 libc6:i386
Segmentation fault
Segmentation fault
E: Sub-process /usr/bin/dpkg returned an error code (1)
E: Problem executing scripts DPkg::Post-Invoke '[ ! -x /usr/share/kali-menu/update-kali-menu ] || /usr/share/kali-menu/update-kali-menu wait_dpkg'
E: Sub-process returned an error code
when i run basic linux command like `ls`, and the others will return segmentation fault.
this another error when i try install mysql-server again:
Code:
/etc# apt-get install mysql-server mysql-client --fix-broken --fix-missing
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-bin : Depends: libc6 (< 2.22) but 2.25-2 is to be installed
 libc-dev-bin : Depends: libc6 (< 2.22) but 2.25-2 is to be installed
 libc6-dbg : Depends: libc6 (= 2.21-6) but 2.25-2 is to be installed
 libc6-dev : Depends: libc6 (= 2.21-6) but 2.25-2 is to be installed
 libc6-i686 : PreDepends: libc6 (= 2.21-6) but 2.25-2 is to be installed
 locales : Depends: libc-bin (> 2.25) but 2.21-6 is to be installed
 mysql-client : Depends: mysql-client-5.5 but it is not going to be installed
 mysql-server : Depends: mysql-server-5.5 but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
i run apt-get -f install
Code:
apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  binutils binutils-common binutils-i686-linux-gnu libbinutils libc-bin libc-dev-bin libc6-dbg libc6-dev linux-libc-dev
Suggested packages:
  binutils-doc glibc-doc
The following packages will be REMOVED:
  libc6-i686
The following NEW packages will be installed:
  binutils-common binutils-i686-linux-gnu libbinutils
The following packages will be upgraded:
  binutils libc-bin libc-dev-bin libc6-dbg libc6-dev linux-libc-dev
6 upgraded, 3 newly installed, 1 to remove and 2085 not upgraded.
4 not fully installed or removed.
Segmentation fault
before i posting this, i have reinstalling linux 3 time. And the second installation have same problem (segmentation fault) like this and it will refer to kernel error after rebooting.
Code:
Kernel panic - not syncing: Attempted to kill init!
bla.. bla.. bla..
Sorry for less information, i am spend a day around this problem, it's very tiring.