I have a Kali Linux where I cannot install any packages. locale is not working and I cannot install it what can I do? I changed sources.list but it's of no help, I tried sudo dpkg-reconfigure locales it tells me: Can't exec locale: No such file or directory at /usr/share/perl5/Debconf/Encoding.pm line 16.Use of uninitialized value $Debconf::Encoding::charmap in scalar chomp at /usr/share/perl5/Debconf/Encoding.pm line 17.dpkg: error: configuration error: /etc/dpkg/dpkg.cfg.d/multiarch:1: unknown option 'foreign-architecture'/usr/sbin/dpkg-reconfigure: locales is not installed
what(): locale::facet::_S_create_c_locale name not valid
debian;kali linux;locale