Пытаюсь выполнить команду dpkg-reconfigure locales, но получаю ошибку:
Terminal
sudo dpkg-reconfigure locales
dpkg-query: package 'locales' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files.
/usr/sbin/dpkg-reconfigure: locales is not installed
То есть такого пакета нет. Чтобы его поставить, пришлось выполнить другую команду:
Terminal
sudo apt-get install -y locales
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
debtags distro-info-data kali-debtags libboost-dev libboost1.74-dev libcbor0.8
libjavascriptcoregtk-4.0-18 libllvm15 libmagickcore-6.q16-7 libmagickwand-6.q16-7 libopenblas-dev
libopenblas-pthread-dev libopenblas0 libpython3-all-dev libraw23 libwebkit2gtk-4.0-37 libxsimd-dev
python-apt-common python3-all-dev python3-apt python3-beniget python3-debian python3-gast
python3-ply python3-pythran zenity zenity-common
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
locales
0 upgraded, 1 newly installed, 0 to remove and 108 not upgraded.
Need to get 3,906 kB of archives.
After this operation, 16.2 MB of additional disk space will be used.
Get:1 http://kali.download/kali kali-rolling/main amd64 locales all 2.37-12 [3,906 kB]
Fetched 3,906 kB in 2s (2,496 kB/s)
Preconfiguring packages ...
Selecting previously unselected package locales.
(Reading database ... 182851 files and directories currently installed.)
Preparing to unpack .../locales_2.37-12_all.deb ...
Unpacking locales (2.37-12) ...
Setting up locales (2.37-12) ...
locales-all installed, skipping locales generation
Processing triggers for kali-menu (2023.4.7) ...
Processing triggers for man-db (2.12.0-3) ...
Теперь можно запустить настройку конфигурации пакета locales, ошибок не будет:
sudo dpkg-reconfigure locales
DenTNT недавно публиковал (посмотреть все)
- C#: Сравнить два массива - 12.12.2024
- EVE-Online: Фильтры каналов - 23.11.2024
- Не приходит СМС для авторизации на сайте Госуслуги - 01.11.2024