Hi Guys,
I'm trying Kali on new Pinebook pro and have stumble on with some problems in repo from very begining.
Code:
root@kali:~# cat /etc/apt/sources.list
deb http://http.kali.org/kali kali-rolling main non-free contrib
deb-src http://http.kali.org/kali kali-rolling main non-free contrib
Code:
root@kali:~# apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
libc-bin locales
The following packages will be upgraded:
libc-bin locales
2 upgraded, 0 newly installed, 0 to remove and 297 not upgraded.
11 not fully installed or removed.
Need to get 0 B/4789 kB of archives.
After this operation, 35.8 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Preconfiguring packages ...
(Reading database ... 113204 files and directories currently installed.)
Preparing to unpack .../locales_2.30-4_all.deb ...
Unpacking locales (2.30-4) over (2.29-10) ...
dpkg: error processing archive /var/cache/apt/archives/locales_2.30-4_all.deb (--unpack):
unable to stat './usr/share/man/pl/man8' (which I was about to install): Structure needs cleaning
Errors were encountered while processing:
/var/cache/apt/archives/locales_2.30-4_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@kali:~# apt install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
libc-bin locales
The following packages will be upgraded:
libc-bin locales
2 upgraded, 0 newly installed, 0 to remove and 297 not upgraded.
10 not fully installed or removed.
Need to get 0 B/4789 kB of archives.
After this operation, 35.8 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Preconfiguring packages ...
(Reading database ... 113204 files and directories currently installed.)
Preparing to unpack .../locales_2.30-4_all.deb ...
Unpacking locales (2.30-4) over (2.29-10) ...
dpkg: error processing archive /var/cache/apt/archives/locales_2.30-4_all.deb (--unpack):
unable to stat './usr/share/man/pl/man8' (which I was about to install): Structure needs cleaning
Errors were encountered while processing:
/var/cache/apt/archives/locales_2.30-4_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@kali:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libc-bin : Depends: libc6 (< 2.30) but 2.30-4 is installed
libc6 : Breaks: locales (< 2.30) but 2.29-10 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
root@kali:~# dpkg --configure -a
Setting up kali-menu (2020.1.8) ...
Can't locate File/Copy.pm in @INC (you may need to install the File::Copy module) (@INC contains: /etc/perl /usr/local/lib/aarch64-linux-gnu/perl/5.30.0 /usr/local/share/perl/5.30.0 /usr/lib/aarch64-linux-gnu/perl5/5.30 /usr/share/perl5 /usr/lib/aarch64-linux-gnu/perl/5.30 /usr/share/perl/5.30 /usr/local/lib/site_perl /usr/lib/aarch64-linux-gnu/perl-base) at /usr/share/kali-menu/update-kali-menu line 10.
BEGIN failed--compilation aborted at /usr/share/kali-menu/update-kali-menu line 10.
dpkg: error processing package kali-menu (--configure):
installed kali-menu package post-installation script subprocess returned error exit status 2
dpkg: dependency problems prevent processing triggers for libc-bin:
libc-bin depends on libc6 (<< 2.30); however:
Version of libc6:arm64 on system is 2.30-4.
dpkg: error processing package libc-bin (--configure):
dependency problems - leaving triggers unprocessed
Errors were encountered while processing:
kali-menu
libc-bin
I can install or update any program with this bug. Any sugestion?